Hi Atlassian Community,
You all were super helpful for my last question so here I am again!
I have a custom field where the options are Yes or Empty to indicate if the epic should show in some reporting. What I would like to do is require a different custom field called "Release Date" to be required on a couple of transitions BUT only if this field has Yes checked.
I thought I had done it correctly by choosing the Required field Validator first and adding an error message. And then going to Conditions but I think that's where I may have gone off track. What ended up happening is that issues could no longer transition to the next status.
Thanks in advance for any help you can provide!
Jennie
Hello @Jennifer Neusch
The Required Field Validator (a native option in Workflows that can be used with Company Managed projects) will apply any time the transition is used. It does not inherently have any conditional options for it.
Is Empty an action value in your custom field, or do you mean the field can have no value (be empty) or be set to Yes?
What you could do is have two different transitions from the source status to the destination status.
In the above scenario the transition that requires the Release Date field will be available only if your custom field is set to Yes. If the custom field is not set to Yes, then only the transition that does not require the Release Date field will be available.
Another factor to consider is if you otherwise have a Global Transition into the destination status. If you do, that is the one where you would want to apply #2. If you instead have only specific transitions from select other statuses to the destination status, each one would need to be set like #2.
Hi Trudy!
Thank you! I am going to try this out first thing tomorrow morning and will get back to you.
Jennie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Required field validator is likely provided by an app, which should have docs about how to use it. Some validators allow you to add references to other fields, some don't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.