Conditional Workflow

Is it possible to define a transition of a workflow in such a way that it behaved differently for different issue types?

Example: I would like to define a field as mandatory for one issue type but as optional for another

3 answers

1 accepted

1 votes
Henning Tietgens Community Champion Jun 17, 2013

You can use one workflow with different transitions for different issuetypes. Each transition has a condition which makes the condition only available if the issuetype is the right one. You can use the Script Runner plugin to create such a condition, e.g. == 'Bug'


1 votes

You can associate different workflows with different issue types by project (e.g. in project A, bugs use workflow 1, features use workflow 2, and the rest use wokflow 3, but in project B, everything uses workflow 2)

However, that doesn't cover mandatory fields. Those are handled by "field configuration", which have the same level of flexibility

I would like to reuse one workflow...

You can "reuse" as many workflows as you like, as much as you like. Workflow schemes simply tell Jira which workflows to use for which project/issuetype combinations


1 votes
Tarun Sapra Community Champion Jun 17, 2013

You can use

there is a ValueField in the workflow available which can be used to show/hide transitions based on issue types.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,855 views 12 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot