Jira integration - Problem to connect to Jira

Moderators: Amaradana, TurboPT, TL Developers

Jira integration - Problem to connect to Jira

Postby cgautier » Tue Feb 17, 2015 3:05 pm

Hello,

I use Testlink 1.9.12 and I try to connect Jira (6.3.7) as a bug tracker.
I choose Jira Rest API to connect and fill the fields like this : (I change the values...)

<issuetracker>
<username>username</username>
<password>pwd</password>
<uribase>http://jira.company.fr/</uribase>
<uriapi>http://jira.company.fr/rest/api/2/</uriapi>
<uriview>http://jira.company.fr/rest/api/2/browse/</uriview>
<projectkey>TEST</projectkey>
<issuetype>1</issuetype>
</issuetracker>

but when I check the configuration, i receive an error : Connection is KO, check your configuration".
The bugtracker Button does not appear in the execution part

Please could you help me to find what is wrong.

Do I need a specific login with more rights on Jira?
Do I need to configure files in ma testlink configuration?

thank you in advance.

Cédric
cgautier
TestLink user
 
Posts: 3
Joined: Sun Feb 08, 2015 11:27 am

Re: Jira integration - Problem to connect to Jira

Postby fman » Wed Feb 18, 2015 9:54 am

1. have you checked testlink logs for more info?
2. have you tried to test using config for JIRA Ondemand that is provided with testlink distrib ?
(give a look to folders under issue tracker integration)
issuetrackerintegration/code_testing
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira integration - Problem to connect to Jira

Postby cgautier » Wed Feb 18, 2015 6:32 pm

Hello,

thanks for the support.
I already use the exemple as you said.
With Rest API i don't get more logs.
I saw only this warning :
[>>][54e4d67ce0336543817546][DEFAULT][ssue.jiraOnDemand.jirarestInterface.class.php][15/Feb/18 18:14:20] [15/Feb/18 18:14:20][WARNING][<nosession>][GUI]
E_WARNING
Missing argument 3 for jirarestInterface::__construct(), called in C:\wamp\www\testlink\lib\issuetrackerintegration\code_testing\jira\rest\test.getIssue.jiraOnDemand.jirarestInterface.class.php on line 41 and defined - in C:\wamp\www\testlink\lib\issuetrackerintegration\jirarestInterface.class.php - Line 28
[15/Feb/18 18:14:20][WARNING][<nosession>][GUI]


I try to use the API throw my browser, it's working fine.

but throw testlink, the request does not work. (I speak about the first request which checks the JIRA user account)
It seems like the request is not sent to Jira.
Maybe a problem with curl command but i already change the dll from php and activate it because I had a previous error.



I also tried with SOAP and I get an error in the logs :
[>>][54e4d897c6b47671593085][DEFAULT][/lib/issuetrackers/issueTrackerView.php][15/Feb/18 18:23:19]
[15/Feb/18 18:23:19][ERROR][a0oggujidsnhoov4b5pje99ni2][GUI]
SOAP Fault: (code: WSDL, string: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://jira.mycompany.fr/rpc/soap/jirasoapservice-v2?wsdl' : failed to load external entity "http://jira.mycompany.fr/rpc/soap/jirasoapservice-v2?wsdl"
)
[<<][54e4d897c6b47671593085][DEFAULT][/lib/issuetrackers/issueTrackerView.php][15/Feb/18 18:23:19][15/Feb/18 18:23:19][took 0.031241 secs]
cgautier
TestLink user
 
Posts: 3
Joined: Sun Feb 08, 2015 11:27 am

Re: Jira integration - Problem to connect to Jira

Postby fman » Wed Feb 18, 2015 7:04 pm

my advice is do not use wampp, use the bitnami installer, then retest.
I'm going to do some new test from my mac
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira integration - Problem to connect to Jira

Postby cgautier » Thu Feb 19, 2015 11:04 am

Hello,

I manage to make the connexion work by using another url which works without proxy control.

but now, I would like to use Jira in my execution results but the button is not present in the test result.
I did not find spmething to activate in the documentation?

thanks
cgautier
TestLink user
 
Posts: 3
Joined: Sun Feb 08, 2015 11:27 am

Re: Jira integration - Problem to connect to Jira

Postby fman » Thu Feb 19, 2015 2:58 pm

Please do not change post direction adding new questions.
Please give a look to other posts in forum regarding issue tracking integration and changes on testlink since 1.9.4

locking post
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira integration - Problem to connect to Jira

Postby fman » Wed Mar 04, 2015 1:30 pm

unlocking to allow post the solution
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am


Return to Jira



Who is online

Users browsing this forum: No registered users and 1 guest