[SOLVED] JIRA-Unable to create new ISSUE from Testlink 1.9.5

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Locked
anandj82
TestLink user
Posts: 3
Joined: Sat Dec 22, 2012 11:02 am

[SOLVED] JIRA-Unable to create new ISSUE from Testlink 1.9.5

Post by anandj82 »

Hi,
I am trying to integrate JIRA with Testlink 1.9.5 using JIRA SOAP interface. Issue linking works fine for me, but creating a new issue always throws the following error:

Create JIRA Ticket FAILURE => com.atlassian.jira.rpc.exception.RemotePermissionException: The project specified does not exist or you don't have permission to create issues in it. -
serialized issue:a:4:{s:7:"project";s:0:"";s:4:"type";i:1;s:7:"summary";s:103:"/My First Project/My test suite/MFP-2:JIRA sample test - Executed ON (ISO FORMAT): 2012-12-18 17:25:38";s:11:"description";s:157:"Execution ID: 4
Tester: admin
Test Plan: My first test plan
Build: sample Executed ON (ISO FORMAT): 2012-12-18 17:25:38 Execution Status: failed ";}

To check whether its a project permission issue, I pointed the JIRA URLs to Apache JIRA project and JIRA ON Demand mentioned in another post in this forum. Both gave me the same exception. I also tried to access the create URLs directly and that worked fine. The configuration details given in UI is as below.

<issuetracker>
<username>testlink.forum</username>
<password>forum</password>
<uribase>http://testlink.atlassian.net/</uribase>
<uriwsdl>http://testlink.atlassian.net/rpc/soap/jirasoapservice-v2?wsdl</uriwsdl>
<uriview>http://testlink.atlassian.net/browse/</uriview>
<uricreate>http://testlink.atlassian.net/secure/CreateIssue!default.jspa</uricreate>
</issuetracker>

Can someone please let me know what could be the problem?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: JIRA - Unable to create new ISSUE from Testlink 1.9.5

Post by fman »

Absolutely we need to improve our documentation but ... Life will be a lot easier, if people did search before posting =>
Simple search just put JIRA on the search box and click search
http://www.teamst.org/forum/viewtopic.p ... 1e0#p17290
Please READ it ALL carefully.

In other hand, in your post you can find the mistake:
where is the project id or key specified on XML configuration?
how can TL guess the JIRA project to use ?
anandj82
TestLink user
Posts: 3
Joined: Sat Dec 22, 2012 11:02 am

Re: JIRA - Unable to create new ISSUE from Testlink 1.9.5

Post by anandj82 »

:-) Thank you and sorry for not searching. I did search quite a lot in google, but missed to search directly in the forum. I saw a different post asking me to mention the JIRA project ID in the create url. That didn't solve. Missed to mention that as well.

Thank you, anyway. I will use the search before posting in future.

Thanks,
Anand
pyang
Advanced user
Posts: 18
Joined: Sat Feb 04, 2006 12:28 am
Contact:

Re: [SOLVED] JIRA-Unable to create new ISSUE from Testlink 1

Post by pyang »

I am running into this problem with TestLink 1.9.7 even with correct projectkey specified as below. I have spent some time addressing this issue after finding this post and other related posts about projectkey; but still no luck. Can you please help?

<issuetracker>
<username>pyang</username>
<password>password</password>
<uribase>https://jiraqa.intuit.com/</uribase>
<uriwsdl>https://jiraqa.intuit.com/rpc/soap/jira ... l</uriwsdl>
<uriview>https://jiraqa.intuit.com/browse/</uriview>
<uricreate>https://jiraqa.intuit.com/secure/Create ... /uricreate>
<!-- Configure This if you want be able TO CREATE ISSUES -->
<projectkey>ZEPHYR</projectkey>
<issuetype>1</issuetype>
<!-- Configure This if you need to provide other attributes -->
<!-- <attributes><description>description</description><summary>summary</summary></attributes> -->
<!-- Configure This if you want NON STANDARD BEHAIVOUR for considered issue resolved -->
<resolvedstatus>
<status><code>5</code><verbose>Resolved</verbose></status>
<status><code>6</code><verbose>Closed</verbose></status>
</resolvedstatus>
</issuetracker>
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: [SOLVED] JIRA-Unable to create new ISSUE from Testlink 1

Post by fman »

1 adding a new question in a topic marked as solved , in againts the rules of this forum.
Please open a new post, because this will be deleted tomorrrow.

in addition try to provide real information (go for info on the net about how to create an effective request).
Locked