It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to make the filed filled automatically to PM

Hello. Could you please help in these questions:
1. How to make a field Assignee to be filled automatically to some user (PM, for example) during the task creation? 

2. If we can fill it automatically - can we do it separately for different types of issue? For example one person for bugs and another for tasks? 

Thank you in advance!


1 answer

0 votes
Mike_Rathwell Community Leader May 22, 2020

Hi @Anna_Dukhovich ,

This is one of the things that isn't sometimes that obvious when looking at Jira customization but I'll see if I can get you started here.

When you look at a Jira workflow, you see all the colorful status blocks with the little lines between them. The lines are actually where the magic happens. So... the short answer to your question is to set the assignee field as a post function to the "Create" transition. If you are in the workflow editor, if you click the "Create" line from the opening gray ball to the first step in the workflow, you will see the dialog pop up with a choice for Post Functions. Go there and then add the post function in.

The conditional part you want is also plenty doable. I would really recommend you add Jira Miscellaneous Workflow Extensions  to your instance. That provides lots of ways to conditionally set fields including with Groovy script fragments (and it does a lovely job of leading you through the process). That way you could have the same workflow and, after testing the issue type, set a given human. You could either do this with an if, then, else Groovy script in one post function or have two; both of which set a different human for assignee but have it test in the conditions so it only sets that human for a given issue type.

Hope this gets you going. This page also may help to know where to go and what to do with it.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

2,745 views 11 5
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you