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: 

Create subtask with scriptrunner: setting assignee

Julian Radünz
February 9, 2014

Hi,
I'm using "Create sub-task" post function when creating issues. Unfortunately the script always sets the assignee of the subtasks to the parent's assignee.

I want to set it to a "hard-coded" specific user (no role member etc.).

My sub-task is using an own workflow, but "Update field value" / Assignee = <User> is not working although it's located after "Create issue" post function.

Any ideas how to do it?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Tsol
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 Champions.
February 9, 2014

Use the following in additional issue actions box

issue.assigneeId = "username"

Julian Radünz
February 10, 2014

That was easier than expected. Thanks!

Alark Patel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 22, 2016

This was simply the easiest way to do this. Thanks @Kostas Tsolakos. I was hope less in finding the easier way. 

TAGS
AUG Leaders

Atlassian Community Events