How to make the filed filled automatically to PM

Anna_Dukhovich
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!
May 22, 2020

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!

Anna

1 answer

0 votes
Mike Rathwell
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.
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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events