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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

207 views 1 3
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