I need to set the FieldB mandatory in transition, if the value of FiledA is set to YES.

Suresh Ganapathy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2025

 

 I need to set the Field B mandatory in one of transition, if the value of Filed A is set to YES. Can this be achived by Validator ?

3 comments

Comment

Log in or Sign up to comment
Matthias Sohn January 20, 2025

on prem: possible, cloud : if u can declare a jira expression - i doubt 

but anyway, this would not be an elegant method, since the exception only follows after the attempted execution of the transition
you would have to make the transition with all inputs from the beginning again 

It is much more elegant to use behaviors (Scriptrunner addon). it supports transition screens.
with this behaviour-feature the transition can only be started when all conditions are met

 

Maciej Dudziak _Forgappify_
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.
January 21, 2025

Hi @Suresh Ganapathy

Welcome, can you share what is the type of your project, is it team or company managed, and if you are on Jira Cloud or on premise?

Cheers

Judah
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.
January 21, 2025

The easiest way to do this is with the 3rd party add-on ScriptRunner. They offer a solution called a "Behaviour" which is the easiest way to create this type of rule for a Jira field. 

TAGS
AUG Leaders

Atlassian Community Events