Workflow transitions depending on issue types

T February 10, 2013

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

0 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2013

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

2 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2013

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

T February 10, 2013

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.

0 votes
Deleted user April 4, 2016

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

0 votes
David _old account_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2013

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)

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 10, 2013

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.

0 votes
AhmadDanial
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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

Suggest an answer

Log in or Sign up to answer