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.



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

239 views 1 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