The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I combine a condition and a validator?

Jared Praino
October 18, 2018

Hi,

I am creating a workflow and would like to ensure that a transition is only possible if a field has a specific value.  However, instead of preventing the transition on the kanban board, I would like to have a screen appear for the user to adjust the required input.

For example, I have a field "Has Documentation?" with default value "No".  My condition is that you cannot transition if the value is "No".  As it is, users may not transition issues via the kanban board.

When I go to edit my workflow, I have the condition "Has Documentation?" != "No". I also have a screen specifically for editing "Has Documentation?" in this transition. Having this condition now prevents the user from transitioning issues on the kanban board.

What I want is to be able to allow this transition in the kanban board by opening a screen that allows the user to change the value of "Has Documentation?".  If they do not change this value, then the transition is rejected.

Is this possible?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Nic Brough -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 Champions.
October 18, 2018

You can almost change the condition straight into a validator, making sure the fields you want to check are on the transition screen.  Then, when an issue fails the validation when someone tries to move it, they will be returned to the transition screen with an error message.

TAGS
AUG Leaders

Atlassian Community Events