Conditional transition in a workflow on JIRA

Hi!

How do you set transitions so that choosing a value for a field among a list is mandatory to move from a step to another?

Thanks!

3 answers

1 accepted

Accepted Answer
0 votes

Hi, you can use the JIRA Suite Utilities plugin to set required fields for transitions - https://marketplace.atlassian.com/5048

If you need the red asterisks on the transition screens, you'll need to also use the Behaviour's Plugin - https://marketplace.atlassian.com/plugins/com.onresolve.jira.plugin.Behaviours

In JIRA Suite Utilities you can set workflow validator to require the fields you need. In the Behaviour's plugin you can create a behaviour for your project and get it to validate from the JIRA Suite Utilities.

0 votes

You have two options, both done in the workflow.

A "condition" will prevent a transition even appearing unless the issue matches certain conditions. This might not be helpful as the transition will literally disappear completely, so your user won't know what to fill in.

A "validator" will check the entry of information on an issue as a user tries to transition, and reject it if it doesn't match.

Problem - there's no "field must be filled in" validator built into Jira, so you'll need to find or write a plugin to provide it. There are loads of these though - I use the one in the "Jira suite utilities" myself, but I highly recommend a look through the marketplace for other plugins that do it as you might find one that works better for you (the JSU one just demands that the user fills in one or many fields)

Thank you very much! I'll try this =)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 25m ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

19 views 0 3
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