How to populate additional fields in JIRA?
Posted: 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/ap ... t/</uriapi>
<uriview>https://mobi-xxx-jira.xxxxx.com/browse/</uriview>
<uricreate>https://mobi-xxx-jira.xxxxx.com/secure/ ... /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/ap ... sed":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.
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/ap ... t/</uriapi>
<uriview>https://mobi-xxx-jira.xxxxx.com/browse/</uriview>
<uricreate>https://mobi-xxx-jira.xxxxx.com/secure/ ... /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/ap ... sed":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.