MantisBT - TestLink
View Issue Details
0008689TestLinkBug Tracking System - JIRA Integrationpublic2019-06-12 13:342019-07-27 09:28
premnath 
fman 
highmajoralways
closedunable to reproduce 
1.9.17 (2018 Q1) 
 
MySQL
Google Chrome V75.0.3770.80
TBD
0008689: Jira (Interface: rest) "Test Connection KO" in 1.9.16 (Moka Pot) version.
We are using Test Link v1.9.16 (Moka pot). When I tried to configure Incident Tracker ‘Jira’ for one of my projects, I’m getting ‘Test Connection KO’.

I could able to see the below warning message in the Events log:

E_WARNING Missing argument 3 for jirarestInterface::__construct(), called in C:\xampp\htdocs\testlink\lib\issuetrackers\issueTrackerCommands.class.php on line 268 and defined - in C:\xampp\htdocs\testlink\lib\issuetrackerintegration\jirarestInterface.class.php - Line 34

E_WARNING issueTrackerInterface::setCfg(): Cannot assign to an array of nodes (duplicate subnodes or attr detected) - in C:\xampp\htdocs\testlink\lib\issuetrackerintegration\issueTrackerInterface.class.php - Line 143

My Jira (Interface:rest) configuration are as follows:

<issuetracker>
<username>username</username>
<password>password</password>
<uribase>https://fast.atlassian.net</uribase> [^]
<uriapi>https://fast.atlassian.net/rest/api/latest/</uriapi> [^]
<uriview>https://fast.atlassian.net/browse/</uriview> [^]
<userinteraction>1/0</userinteraction>
<!-- Configure This if you want be able TO CREATE ISSUES -->
<projectkey>DSRC</projectkey>
<userinteraction>1</userinteraction>
</issuetracker>

Whereas, I have configured similar Jira interface for some of my other projects and the connection is fine with it. Can you please let me know what could be the problem?
Navigate to Issue Tracker Management
Click on Create button
Enter Issue tracker name
Select the Issue Tracker type as Jira (interface:rest)
Type in the below configuration
<issuetracker>
<username>username</username>
<password>password</password>
<uribase>https://fast.atlassian.net</uribase> [^]
<uriapi>https://fast.atlassian.net/rest/api/latest/</uriapi> [^]
<uriview>https://fast.atlassian.net/browse/</uriview> [^]
<userinteraction>1/0</userinteraction>
<!-- Configure This if you want be able TO CREATE ISSUES -->
<projectkey>DSRC</projectkey>
<userinteraction>1</userinteraction>
</issuetracker>

Click on 'Save'
Click on 'Check Connection' button
This problem occurs only for the last 2 projects which I have included recently. Whereas, it works fine for rest of my projects.
No tags attached.
jpg Testlink2.jpg (114,642) 2019-06-12 13:34
http://mantis.testlink.org/file_download.php?file_id=5165&type=bug
jpg

jpg Testlink1.jpg (172,345) 2019-06-12 13:36
http://mantis.testlink.org/file_download.php?file_id=5166&type=bug
jpg
Issue History
2019-06-12 13:34premnathNew Issue
2019-06-12 13:34premnathFile Added: Testlink2.jpg
2019-06-12 13:36premnathFile Added: Testlink1.jpg
2019-06-12 16:25fmanNote Added: 0028933
2019-06-12 16:26fmanNote Added: 0028934
2019-07-27 09:28fmanQA Team - Task Workflow Status => TBD
2019-07-27 09:28fmanNote Added: 0029055
2019-07-27 09:28fmanStatusnew => closed
2019-07-27 09:28fmanAssigned To => fman
2019-07-27 09:28fmanResolutionopen => unable to reproduce

Notes
(0028933)
fman   
2019-06-12 16:25   
unfortunatelly:
support is provided only for issues that are still present on latest stable release => code from github branch 1.9.19.01
(0028934)
fman   
2019-06-12 16:26   
the kind of support your are requesting is unfortunatelly out of scope of the best effort support. Issue can be related to how the JIRA project is configured
(0029055)
fman   
2019-07-27 09:28   
no more user feedback