Update assignee with a custom field value with a transition

Hi JIRA Experts,

What I want to do?

In our "Quote" issue we have a custom field, which is called "Account Responsible" (Userpicker). This person is responsible for a specific process step. For this reason "auto-assign" would be perfect.

The first question: Which post-function I have to use for this? With "Update Issue Field" I can not assign to a value available in a custom field.

The second question: In some cases the auto-assignment to the entered Account Responsible is not correct, because of process differences (subsidiaries etc.). In this case the user wants to have to possibility to overwrite it. I know this is possible with "assign" afterwards (not so smoth). My idea and question: Is it possible to have the "Assign" field in a screen and that JIRA adds the "auto-assign-recommendation" to it?

Thanks in advance.

Best regards,

Julian

1 answer

0 votes

On the first question, you'll need an add-on to provide a post-function that can "copy user from picker field into assignee".  I'd use the script-runner to do this (it has a built-in script that can do it, and if you decide to do something more clever, you can)

On the second - no, not really.  JIRA will pre-fill an empty assignee with a string saying "I'll auto assign this" which the users can select another assignee from if they want, but you can't pre-fill it with the actual selection.  The reason for that is you can't know who the assign will be until the user fills in and commits the component field.  Once the field is filled of course, you've got an assignee (although you can use a post-function to re-run the auto-assign logic if you want!)

Hi Nic, thanks for your answer. To 1) I have seen that this function is also available with the "JIRA issue template" plugin which is already installed :) To 2) That is not my wished result ;-). Assignment to component lead is not suitable in our usecase at the moment. Maybe we can change our component usage... Regards, Julian

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 ...

2,755 views 11 18
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