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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

77 views 0 5
Read article

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