Workflow transitions depending on issue types

I've got a JIRA workflow that needs to be different depending on the issue type.

So after creation, it needs to go to a "For Verification" state if it is a bug, and to "To Do" if it's anything other than a bug.

I cannot have more than one transition from "Create" and there is nothing (I'm aware of) that allows to move the issue to another state automatically if certain criteria are met (I wanted to just forward everything that is not a bug to "To Do" as soon as it's put in "For Verification".

So the workflow is: Create/[Verification(if bug)]/To Do. Only bugs shall be verified anything else needs to skip that step. How can I achieve that?

The only solution I have now is to use two workflows but I don't want that - it's too much work maintaining two workflows.

6 answers

1 accepted

This widget could not be displayed.

Use Auto Transition Listener and transition issues of all other types to ToDo as soon as they are put in 'For Verification'.

https://studio.plugins.atlassian.com/wiki/display/JTOOL/Auto+Transition+Listener

This widget could not be displayed.

That is what JIRA is meant for.

Define two workflows, one for bug and one for others. Configure your workflow scheme and associate the issue type with the workflow. Read https://confluence.atlassian.com/display/JIRA/Configuring+Workflow+Schemes

That's what I have. But when I'm changing the workflow I have to make changes to both of them. It's just this tiny difference and I'm more of the DRY type of a guy for obvious reasons.

This widget could not be displayed.
Ahmad Danial Atlassian Team Feb 10, 2013

Hey there, Elbe.

Sounds like you require quite an extensive customization for the workflow. I don't think JIRA has the ability to decide whether an Issue Type can determine the transition of the workflow. Having that said, can you try to look into the following plugin that might be able to offer what you are looking for:

https://marketplace.atlassian.com/plugins/com.innovalog.jmwe.jira-misc-workflow-extensions

Else, you can try to seek help from the Atlassian Experts to see whether they are able to advice you on this matter:

http://www.atlassian.com/resources/experts#find-an-expert

Warm regards,

Danial

This widget could not be displayed.

Definitely a case for two workflows.

You could think about messing around with a listener to perform a second transition, or have two transitions and write a condition that says "if issue-type X then allow/disallow this transition", but separate workflows require no code and that's pretty much what workflow-by-issuetype is for.

This widget could not be displayed.

You can also use OSWorkflow's Conditional Result feature by editing your workflow XML directly. This is documented at https://innovalog.atlassian.net/wiki/display/JMWE/JIRA+Misc+Workflow+Extensions+Documentation (look for a large green box)

This widget could not be displayed.

Old question, but we addressed similar need with Scriptrunner plugin and the fast-track transition post function.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

575 views 25 15
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