Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Update a custom filed to a linked issue as another user

Anna Protopapa
Contributor
October 24, 2018

We need to update a custom field to a linked issue. Due to access rights we have the need to run this update as another user. How can we do this?

1 answer

0 votes
fjodors
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2018

Hello

If you are using script runner, I think you can use IssueManager and method updateIssue

Try to pass your custom user as applicationUser:

updateIssue(ApplicationUser user, MutableIssue issue, EventDispatchOption eventDispatchOption, boolean sendMail)

https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/issue/IssueManager.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events