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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

764 views 2 19
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