|Anonymous | Login | Signup for a new account||2020-10-01 02:09 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007757||TestLink||Bug Tracking System - JIRA Integration||public||2016-11-24 03:45||2017-05-01 09:22|
|Priority||high||Severity||major||Reproducibility||have not tried|
|Product Version||1.9.15 (2015 Q4)|
|Fixed in Version||1.9.16 (2016 Q4)|
|Summary||0007757: Jira issues updated with Jira integration user instead of the actual testlink user|
|Description||We are using REST API for integrate Jira with Jira username and password. When we update any Jira issue from Testlink, its updating with Jira integration user(admin) instead of the actual Jira user. How can we change this to Jira actual user instead of integrated user.|
|Steps To Reproduce||Integrate Jira using REST API with jira username and password.|
Update Jira issue from Testlink.
|Tags||No tags attached.|
|QA Team - Task Workflow Status||TBD|
if TestLink login name = JIra Login name, API call send to JIRA this loginname using filed reporter
(you can see this on exec.inc.php line 603
jirarestinterface.class.php line 389
please test and provide feedback
You mean the following lines in jiraresrinterface.class.php ?
$issue['fields']['reporter'] = array('name' => (string)$opt->reporter);
And the following lines in exec.inc.php ?
$issueText = generateIssueText($dbHandler,$argsObj,$itsObj);
Let me know what changes i need to made on these?
what you need is to configure TestLink login name = JIra Login name, then things has to work.
just to be sure you can put some dump on code to see if property has a value and value is ok
|I have kept my jira username and testlink username as same. But still when i update issue from Testlink, it is showing the integration username instead of my name. Do we need to keep the password also same? Do we need any code change for taht?|
|I have kept both username and password same as Jira in testlink. But still my issue update showing my integrated username instead of the actual username. Do i need to change any code or any other config to make it working?|
IMHO this depends of rights that user you are using to integrate with JIRA has.
this user need to have the power to change reporter
|We have integrated with Jira by administrator user. So the user have full privileges to Jira system. I have kept the same username in Testlink but still the modified jira tickets showing updated by integrated user instead of actual user.|
Hi fman - To be a little more clear on this issue, let me put down the steps to repr0duce:-
1. I create a JIRA account for myself as an admin, and also to my colleague with the same admin credentials.
2. The UN/PW are different, but made sure the Testlink(TL) and JIRA UN's are in sync for my colleague and mine.
3. Now later when my colleague creates an issue from the TL, the Reporter Name displays his name (which is correct), but in the Activity Log of JIRA, just below the Bug details page it displays:-
***Created Issue with my name instead of my colleague's Name
***Also any comments that are put for the Bug on TL gets reflected on the JIRA agai with my name
***If the comments are directly entered in JIRA, it then shows my colleague's name.
So how could I handle this scenario of displaying the Reporter's name instead of my name every time an issue is created and commented...
UserID in TESTLINK has to be EQUAL to UserID on JIRA, for all users that use TestLink and Jira
|True! Both the username's in JIRA and TESTLINK are created same and equal!|
|meanwhile give a look to http://forum.testlink.org/viewtopic.php?f=43&t=7898 [^]|
Doing some searches I've got this info:
The REST API respects the way Jira works on the front-end, so if the user can't do something in the UI, REST won't let them either.
edited on: 2016-12-24 14:47
I'using latest code from github.
testlink.jira => exists on testlink and jira
firstname.lastname@example.org => user on JIRA with password jira.fm5n
everything worked as expected
regards JIRA projects where reporter field is not present on CREATE ISSUE SCREEN
|no more user feedback|
|2016-11-24 03:45||vinu.vincent||New Issue|
|2016-11-24 10:51||fman||Note Added: 0025632|
|2016-11-24 10:51||fman||Assigned To||=> fman|
|2016-11-24 10:51||fman||Status||new => feedback|
|2016-11-24 11:27||vinu.vincent||Note Added: 0025633|
|2016-11-24 11:27||vinu.vincent||Status||feedback => assigned|
|2016-11-25 08:54||fman||Note Added: 0025635|
|2016-11-25 08:55||fman||Status||assigned => feedback|
|2016-12-01 08:40||vinu.vincent||Note Added: 0025652|
|2016-12-01 08:40||vinu.vincent||Status||feedback => assigned|
|2016-12-05 09:35||vinu.vincent||Note Added: 0025654|
|2016-12-06 23:09||fman||Note Added: 0025656|
|2016-12-06 23:10||fman||Status||assigned => feedback|
|2016-12-20 07:06||vinu.vincent||Note Added: 0025749|
|2016-12-20 07:06||vinu.vincent||Status||feedback => assigned|
|2016-12-21 09:10||vinu.vincent||Note Added: 0025757|
|2016-12-21 14:41||fman||Note Added: 0025759|
|2016-12-21 14:41||fman||Status||assigned => feedback|
|2016-12-22 11:28||vinu.vincent||Note Added: 0025766|
|2016-12-22 11:28||vinu.vincent||Status||feedback => assigned|
|2016-12-22 14:21||fman||Note Added: 0025769|
|2016-12-24 14:09||fman||Note Added: 0025778|
|2016-12-24 14:11||fman||Note Added: 0025779|
|2016-12-24 14:46||fman||Note Added: 0025780|
|2016-12-24 14:47||fman||Note Edited: 0025780||View Revisions|
|2016-12-24 14:47||fman||Status||assigned => feedback|
|2016-12-24 14:49||fman||Relationship added||related to 0007761|
|2016-12-25 18:19||fman||Note Added: 0025786|
|2017-01-14 18:04||fman||QA Team - Task Workflow Status||=> TBD|
|2017-01-14 18:04||fman||Fixed in Version||=> 1.9.16 (2016 Q4)|
|2017-01-14 18:05||fman||Note Added: 0025840|
|2017-01-14 18:05||fman||Status||feedback => resolved|
|2017-01-14 18:05||fman||Resolution||open => fixed|
|2017-01-22 07:57||fman||Note Added: 0025865|
|2017-01-22 07:57||fman||Status||resolved => closed|
|2017-05-01 09:22||fman||Relationship added||related to 0007929|
|Copyright © 2000 - 2020 MantisBT Team|