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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,763 views 18 21
Read article

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