Forums

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

Set assignee on creation of subtask

Dennis_H
Contributor
September 4, 2019 edited

I have an issue that we use as a staging for subtasks. I'd like it if we could automatically set an assignee (same one every time) for any subtask created under this issue. I tried with a post function of setting the assignee field, but it didn't work.

1 answer

0 votes
jira guy
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.
September 4, 2019

You would have to add the post function for the sub-task workflow. Even that wouldn't solve your issue. Because it assigns every sub-task and not specific to your staging issue. 

 

You need some kind of automation. You can either use a plugin like scriptunner, automation for jira or create your own script.

Dennis_H
Contributor
September 4, 2019

We use scriptrunner (though I'm not very good with it). Could you provide an example of the code in scriptrunner to accomplish that?

Dennis_H
Contributor
September 4, 2019

Ideally it would work that if issue ="my issue" then set assignee to "this person".

jira guy
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.
September 4, 2019 edited

sorry wrong reply. 

Suggest an answer

Log in or Sign up to answer