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

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events