Set assignee to another user in post function

dennish_dcsorg_com February 6, 2019

I'm brand new to Scriptrunner. I tried using the example set assignee and it's failing. I want to set the assignee of a subtask to a certain Jira user when Scriptrunner creates the subtask. How can I accomplish that?

 

 

1 answer

0 votes
Brittany Wispell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2019

Hey @dennish_dcsorg_com

Are you on Atlassian Cloud or Server? 

Is the subtask workflow the same or different from the workflow you are creating the sub-task from? 

Hopefully I can come up with something for you with that information! :) 

 

Thanks

dennish_dcsorg_com February 6, 2019

I’m using cloud

 

the subtask workflow is different than the main task workflow. 

Brittany Wispell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2019

You could try setting up the post function in the sub-task upon the creation of the sub-task to set the assignee. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events