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

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 Leaders.
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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events