Forums

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

OptionID Validator Configuration Question

Katie Pickrell February 28, 2023

Hello,

I have a scenario where I have a multi-select field called "Feature Flags Enabled" with selection options of "INT Enabled", "STG Enabled", "PROD Enabled". What I am looking to do is to prevent the status of changing to "QA" without the INT Enabled option being checked. 

I feel like this is either a Validator or Condition on the transition. I found one that allows for the value to be looked at against an OptionID but could not figure out how to change the OptionID to something other than NULL.

Any ideas for how to accomplish this? I am unable to use any paid plugin apps to accomplish this so looking for something out of the box or free.

Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Kelly Arrey
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 1, 2023

Hi @Katie Pickrell

I think the "Value Field" Condition is what you're looking for. 2023-03-01_12h20_09.png

Hope this helps!

Kel

Katie Pickrell March 1, 2023

Hi Kel - Yes this is what I was working on. I actually think I was getting tripped up on the fact that the Value field didn't look like I could type anything in because it's not a text box but I see that I can! 

Thank you for helping to point me in the right direction!

Like • Kelly Arrey likes this
Mia Paulin
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.
April 20, 2023

@mention If the solution is being implemented in code, I would you a try/catch block;  I'm a java person, so it would be

    try{ /* code that is developed to run and

               might cause an error */

                 }

   catch(typeOfException e){

              /*code that executes when

               exception is caught*/

}

 

Basically what you would do is make it to where it wasn't null and had to have a value, and if someone inputs a null value, return an error message in the catch block portion  For list of execption/error instances that can be caught in a try/catch, consult the API of whatever language you are programming in. (note: in Java, you can create your own sing the "throwable" interface)

Katie Pickrell April 24, 2023

Thank you! Unfortunately I am not a code person and have no idea how to implement things like this in code. Hopefully this may help someone else out though!

0 votes
yous co
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!
February 28, 2023

sorry

Suggest an answer

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

Atlassian Community Events