creating JIRA issue/bug from Testlink integration

Yogiraj Ghumade January 4, 2016

Hi,

I have integrated JIRA with Testlink using REST API, the integration is successful and i can see a link and create issue screen on testlink UI but when trying to submit the issue i'm getting below error message

"JIRA Message: reporter => The reporter specified is not a user."

any help much appreciated.!!

 

Thanks,

Yogiraj

2 answers

0 votes
Carlos Pavón March 8, 2016

@Yogiraj Ghumade

In your testlink solution modify the following file this fix the issue for me

\testlink\lib\issuetrackerintegration\jirarestInterface.class.php

and comment out the following block of code which starts on line 377

/* if(property_exists($opt, 'reporter'))
{
$issue['fields']['reporter'] = array('name' => (string)$opt->reporter);
}
*/

 

hope this helps.

raghuram May 19, 2019

@Carlos Pavón  Thanks for your help.It worked for me

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 2016

How are you specifiying the reporter in Testlink, and do they have a valid JIRA account?

Yogiraj Ghumade January 4, 2016

yes, i'm specifying valid JIRA account, here is the configuration. <issuetracker> <username>JIRA-USERNAME</username> <password>JIRA-PASSWORD</password> <uribase>http://localhost:8080/</uribase>; <uriapi>http://localhost:8080/rest/api/latest/</uriapi>; <uriview>http://localhost:8080/browse/</uriview>; <!--<userinteraction>1</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>MYPROJECT</projectkey> <issuetype>2</issuetype> </issuetracker>

Like 方圆hiro likes this
Bob Li March 1, 2016

It's impossible to create issues from TL directly since the customized fields of JIRA are not supported by TL, only thing you can do is to link existing JIRA bugs to TL. Pls refer to http://mantis.testlink.org/view.php?id=7051 

Suggest an answer

Log in or Sign up to answer