How to conditionally show a transition screen?

Andrew Ting July 22, 2014

Hi,

Is it possible to conditionally show a transition screen based on a field value? i.e if a field has a certain value, then when the user clicks the button to transition the issue then a transition screen will appear. If this field does not have a certain value then the issue is automatically transitioned to the next state.

Thanks!

1 answer

1 vote
Jobin Kuruvilla [Adaptavist]
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.
July 22, 2014

You can have two transitions, one when the field has a certain value and one when the field does not have that value. The first one will have a transition screen and the seocnd one will not have the screen.

Value field condition in JIRA Suite Utilities can be used for this.

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.
July 22, 2014

Jobin doesn't explicitly say "Use a condition on the workflow" here, in case you were wondering. A "condition" stops the user being offered a transition. You'd want to put conditions on both transitions - one saying "allow if field is filled in" and the other saying "allow if field is empty". The users will only ever see one transition.

Alexander Burk August 1, 2017

Interesting approach. There is still the problem that you need two different transition names because they need to be workflow unique. Any solution for this?

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.
August 1, 2017

Use the same words, but put extra spaces in them if you have more than one word in a name.  Or add punctuation

Heather R March 2, 2020

I'm curious if a fix for this was put in since this post - we'd like to conditionally do a lot of different things, some of which are on Create which makes it tougher to do the suggested answer for this one...

Suggest an answer

Log in or Sign up to answer