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

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.

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.

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.

Thanks,

Patina

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 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