creating JIRA issue/bug from Testlink integration

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

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

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>

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 

@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.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,775 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot