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

This widget could not be displayed.

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 

This widget could not be displayed.

@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
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

97 views 0 3
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