How to populate additional fields in JIRA?

Moderators: Amaradana, TurboPT, TL Developers

How to populate additional fields in JIRA?

Postby ashmon » Thu Apr 20, 2017 4:19 pm

Hi,

I am currently using Testlink 1.9.16 and JIRA v6.2.3. I was able to integrate JIRA with testlink to create new JIRA bugs directly from Testlink. However, I am having issues populating the fixVersions field in JIRA. The JIRA bug is created and I get no error message in Testlink but that specific field does not get populated. Only the fields I select in Testlink GUI are populated (issue type, priority, version, component, summary and description). Below is the the configuration template I have in Testlink for jira rest interface:

<!-- Template jirarestInterface -->
<issuetracker>
<username>xxxxx</username>
<password>xxxxx</password>
<uribase>https://mobi-xxx-jira.xxxxx.com/</uribase>
<!-- CRITIC - WITH HTTP getIssue() DOES NOT WORK -->
<uriapi>https://mobi-xxx-jira.xxxxx.com/rest/api/latest/</uriapi>
<uriview>https://mobi-xxx-jira.xxxxx.com/browse/</uriview>
<uricreate>https://mobi-xxx-jira.xxxxx.com/secure/CreateIssue!default.jspa</uricreate>
<userinteraction>0</userinteraction>
<!-- 1: User will be able to manage following attributes from GUI -->
<!-- Issue Type, Issue Priority, Affects Versions, Components -->
<!-- 0: values for attributes will be taken FROM this config XML from GUI -->

<!-- Configure This if you want be able TO CREATE ISSUES -->
<projectkey>NVM</projectkey>
<issuetype>1</issuetype>
<issuepriority>3</issuepriority>
<fixVersions>14726</fixVersions>

</issuetracker>

Also the JIRA rest API returns this for the field I want to populate:

"fixVersions":[{"self":"https://mobi-xxx-jira.xxxxx.com/rest/api/2/version/14726","id":"14726","description":"xxxxxxx","name":"xxxxxxx","archived":false,"released":false}]

Note that I added "x" for any areas that are sensitive info but otherwise everything else is the same.

Can anybody point me in right direction to resolve this?

Thanks in advance.
ashmon
TestLink user
 
Posts: 8
Joined: Wed Sep 09, 2015 6:33 pm

Return to Issue Tracker Integration



Who is online

Users browsing this forum: No registered users and 1 guest