The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

how to set assignee in post function using script runner 'Modify issue'

Ramesh Kale
July 18, 2019

I want to set assignee 'abc@def.com' using post function script runner 'Modify issue'.

Default available script to set assignee is

issueInput.fields.assignee = [id:'123456:12345a67-bbb1-12c3-dd45-678ee99f99g0'] as Map

 

How is this script works ? what exactly this 'id' means? where i will get such ID for my users?

Someone please provide me the one liner script (with correct syntax) where i can just put the mail id of the user.

I am new to the Jira and not really good at scripting.

Please help me on this and if possible please elaborate your answer briefly as i have a deadline to submit this.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events