Can I create a default assignee that can be overridden for specific workflow transitions?

In our current workflow, when a bug is transitioned to Claim Fixed status, there is a post function that sets the assignee to the bug reported. As a result, setting the assignee in the transition screen doesn't have an effect. Is there a way to get this functionality without using the project default assignee?

3 answers

This widget could not be displayed.
I'm unclear as to what you want to happen here. You want to have the bug be assigned to the bug reporter UNLESS the assignee is changed by the user upon transition? I'm also unclear how the default assignee plays into this...

That's pretty much it. The assignee field defaults to Automatic, which gives the default assignee for the project. In the case of claiming an issue to be fixed, I'd want the default assignee to be the bug reporter, unless someone else is specified.

This widget could not be displayed.

You can use the Update issues post function from Conditioned Workflow Functions for JIRA. Condition the update on the assignee not being set and then the update should set the assignee to the reporter. How to condition on a field being blank or empty will help you.

This widget could not be displayed.
Do you want to assign to a particular user while transition? Let me know

Hi Stocks,

You can set the assignee to the bug reporter on trasition using setAssignee(bug reporter id/name) where it is in "unassigned".

Hope this helps you.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday 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...

52 views 0 1
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