Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008742TestLinkBug Tracking System - JIRA Integrationpublic2019-08-20 09:322019-09-17 10:42
Reporterpremnath 
Assigned Tofman 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionunable to reproduce 
PlatformOSOS Version
Product Version1.9.19 (2019 Q1) 
Fixed in Version 
Summary0008742: 0008689: Jira (Interface: rest) "Test Connection KO" in 1.9.19 (Metonic) version.
DescriptionWe are using Test Link v1.9.19 (Metonic). 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?
Steps To ReproduceNavigate 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
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserGoogle Chrome V 76
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0029109)
fman (administrator)
2019-08-20 19:16

If you have other project working OK, the easy way to go is to compare the configuration


surely this part of configuration is not OK
<userinteraction>1/0</userinteraction>

this has to be
<userinteraction>1</userinteraction>

or
<userinteraction>0</userinteraction>
(0029110)
premnath (reporter)
2019-08-21 05:50

Hi, I have tried changing the configuration as mentioned by you, but still connection couldn't be established. Whereas, the same configuration is still working perfect for my old projects.

I tried changing <userinteraction>1</userinteraction> as well as <userinteraction>0</userinteraction>

<issuetracker>
<username>test.t@test.co.in</username>
<password>test</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</userinteraction>

<!-- Configure This if you want be able TO CREATE ISSUES -->
<projectkey>AM</projectkey>
</issuetracker>
(0029164)
fman (administrator)
2019-09-17 10:42

any news?

- Issue History
Date Modified Username Field Change
2019-08-20 09:32 premnath New Issue
2019-08-20 19:16 fman Note Added: 0029109
2019-08-20 19:17 fman QA Team - Task Workflow Status => TBD
2019-08-20 19:17 fman Status new => resolved
2019-08-20 19:17 fman Resolution open => unable to reproduce
2019-08-20 19:17 fman Assigned To => fman
2019-08-21 05:50 premnath Note Added: 0029110
2019-09-17 10:42 fman Note Added: 0029164



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker