Default Assignee for Different Issues Types -> Post Functions Not Providing Solution

To preface this question, I want to state that the functionality within post functions in workflows will not do what I'm looking for. 


Problem #1: I want to set a user as the default assignee, with different users for different issue types, to be assigned ONLY if the person creating the issue doesn't assign a user

Problem #2: I want to have the default assignee for sub-tasks set to the user who created the sub-task. I don't see how to do this in post functions. 


Example #1: I'm creating a Story and my workflow has the post function to default assign the story to John. Most of the time that works, but I want to assign it to Kate. Even if I assign the story to Kate when creating the Story, it creates the story assigning it to John.


1 answer

1 accepted

0 votes
Alex Christensen Community Champion Jan 05, 2018

Problem #1
You would need something like ScriptRunner to create a conditional post-function (i.e. if the Assignee is left as "Unassigned" or "Automatic," then assign the user to John; else, assign to whoever the user defined when creating the issue).

You might be able to do some creative stuff using automatic assigning with components and component leads, but that depends on how/if you're currently using components or not.

Problem #2
You should be able to use the "Assign to Current User" post-function in the Create transition for the sub-task's workflow.

Alexey Matveev Community Champion Jan 05, 2018

I just wanted to add that there are several plugins like ScriptRunner available in the marketplace. You could also consider Power Scripts. You can read more here:

They all have its own advantages and disadvantages. I just want you to have the whole picture.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,156 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot