MantisBT - TestLink
View Issue Details
0008688TestLinkBug Tracking System - JIRA Integrationpublic2019-06-11 09:042019-06-11 18:07
mikelroteta 
fman 
normalmajoralways
feedbackopen 
1.9.19 (2019 Q1) 
 
MySQL
Google Chrome
0008688: Jira (Interface: rest) "Test Connection KO"
We have TestLink 1.9.19 (Metonic cycle) and JIRA v5.2.11#854. No Rest connection is possible:

If I click on Button "Check connection", I get message "Test Connection KO"

Here is our Jira Rest config:

<issuetracker>
<username>username</username>
<password>password</password>
<uribase>http://ourdomain:9080/</uribase> [^]
<uriapi>http://ourdomain:9080//rest/api/latest/</uriapi> [^]
<uriview>http://ourdomain:9080//browse/</uriview> [^]
<projectkey>COREIK</projectkey>
</issuetracker>

On the other hand, we did also tried to connect to a project that we created in https://testlinktest.atlassian.net/ [^] page and we again the result was "Test Connection KO", the config used was the next one:

<issuetracker>
<username>username</username>
<password>password</password>
<uribase>https://testlinktest.atlassian.net/</uribase> [^]
<uriapi>https://testlinktest.atlassian.net/rest/api/latest/</uriapi> [^]
<uriview>https://testlinktest.atlassian.net/browse/</uriview> [^]
<projectkey>TES-1</projectkey>
</issuetracker>
-Enter to Issue Tracker Management
-Press Create button
-Fill form:

   -Issue Tracker: Jira REST connection
   -Type: jira (Interface: rest)
   -Config:
       <issuetracker>
       <username>username</username>
       <password>password</password>
       <uribase>http://ourdomain:9080/</uribase> [^]
       <uriapi>http://ourdomain:9080//rest/api/latest/</uriapi> [^]
       <uriview>http://ourdomain:9080//browse/</uriview> [^]
       <projectkey>COREIK</projectkey>
       </issuetracker>
Additionally, we have tested connecting using jira (Interface: soap) and in this case we were able to connect, the config used was the next one:

<issuetracker>
<username>username</username>
<password>password</password>
<uribase>http://ourdomain:9080/</uribase> [^]
<uriwsdl>http://ourdomain:9080/rpc/soap/jirasoapservice-v2?wsdl</uriwsdl> [^]
<uriview>ourdomain:9080/browse/</uriview>
<uricreate>ourdomain:9080/secure/CreateIssue!default.jspa</uricreate>
<projectkey>COREIK</projectkey>
<issuetype>1</issuetype>
</issuetracker>
No tags attached.
png CONNECTIONRESTKO2.png (38,449) 2019-06-11 09:04
http://mantis.testlink.org/file_download.php?file_id=5162&type=bug
png

png CONNECTIONRESTKO.png (45,311) 2019-06-11 09:06
http://mantis.testlink.org/file_download.php?file_id=5163&type=bug
png

png CONNECTIONSOAPOK.png (43,680) 2019-06-11 09:06
http://mantis.testlink.org/file_download.php?file_id=5164&type=bug
png
Issue History
2019-06-11 09:04mikelrotetaNew Issue
2019-06-11 09:04mikelrotetaFile Added: CONNECTIONRESTKO2.png
2019-06-11 09:06mikelrotetaFile Added: CONNECTIONRESTKO.png
2019-06-11 09:06mikelrotetaFile Added: CONNECTIONSOAPOK.png
2019-06-11 12:04mikelrotetaNote Added: 0028922
2019-06-11 18:07fmanNote Added: 0028925
2019-06-11 18:07fmanAssigned To => fman
2019-06-11 18:07fmanStatusnew => feedback

Notes
(0028922)
mikelroteta   
2019-06-11 12:04   
I did the test using bitnami a docker.
(0028925)
fman   
2019-06-11 18:07   
tested with

<!-- Template jirarestInterface -->
<issuetracker>
<username>testlink.forum</username>
<password>forum</password>
<uribase>https://testlink.atlassian.net/</uribase> [^]
<!-- CRITIC - WITH HTTP getIssue() DOES NOT WORK -->
<uriapi>https://testlink.atlassian.net/rest/api/latest/</uriapi> [^]
<uriview>https://testlink.atlassian.net/browse/</uriview> [^]
<userinteraction>1</userinteraction>
<projectkey>ZOFF</projectkey>
</issuetracker>

no issues