Forums

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

Making a field conditionally required upon transition

Graeme Johnson January 10, 2024

I have a workflow that applies to many issue types. 

For one of those issue types (Story), when an issue of that type transitions to a state of either 'Closed' or 'Resolved' I want to mandate that a field 'Release Notes' has been populated.

How can I do that?  I explored workflow validators but I'm uncertain as to how to add the conditional logic around issue type.  I also explored automation but cannot see an action that could be fired to prevent transition from occurring if this criteria is met.

Please help!

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
January 10, 2024

Hello @Graeme Johnson 

One option is to create a copy of that workflow, add the Validator for Release notes to the appropriate transition, and then associate that workflow with the Story issue type in the Workflow Scheme.

Another option is to add Conditions on the existing transition so that it is available for all issue types except Story. Then add another transition between the two statuses and add to that transition a Condition so that it applies to only the Story issue type and add the Validator for Release Notes to that secondary transition.

Graeme Johnson January 17, 2024

Thanks!

Suggest an answer

Log in or Sign up to answer