How to validate Field b based on field A during workflow transition

ssam March 10, 2025

Hello everyone,

I have a scenario where Field B needs to be validated only when Field A has a specific value selected. If Field A has any other value, then Field B should not be validated during the workflow transition from Status A to Status B.

I'm looking for an out-of-the-box (OOTB) solution for this. Any suggestions?

1 answer

0 votes
Tim Perrault
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.
March 10, 2025

Hi @ssam 

 

You could try setting up two different transitions named similarly that go to exact status, but use conditions and validators.

 

One idea would be to add a condition to one of the transitions using the value field condition. Then on the other transitions add a condition that does the opposite of the first. 

On the first transition, the first condition would be Field A = specific value

On this transition also add a Validator that makes Field B required

On the other transition it would be Field A != specific value

 

I think that is the best we can do OOTB, but there might be other ideas out there.

 

Thanks,

Tim

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events