Forums

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

I am trying to make a "drop down" field required when an bug is moved to done.

Alekhya
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 9, 2023

I user Jira Cloud. I have a field in bug screen, which is not required till "testing" state. When a user wants to move it to next state, I should make the field required and user is not allowed to move it to next state unless he selects a value from the dropdown. I could not find Validators in Workflow JIRA cloud. Any help is appreciated.

1 answer

1 vote
Walter Buggenhout
Community Champion
February 9, 2023

Hi @Alekhya and welcome to the Community!

If you can't find validators, that is most likely because you are using a team managed project. That does indeed limit your options a bit.

You can add a way to check whether your select field is filled out on a transition in team managed projects using a transition rule.

Navigate to your project settings > issue types > bug and hit the edit workflow button you see near the top of your screen. Then select the transition that goes to the done status and on the right hand side click the + sign next to RULES

Choose the rule that lets you restrict to when a field is a specific value. Select your dropdown field, set the criteria to text / doesn't match and leave the text field empty. That should give you a rule like this:

Screenshot 2023-02-10 at 08.09.28.png

There is a caveat here, though: while the rule may correctly validate that the field is empty, there is no good feedback to your users as to why they cannot transition the issue. It is also not possible to add a transition screen here. So before you implement this in real life, test this out for yourself to make sure you are happy with the flow.

If not, using company managed projects and the advanced workflow capabilities there may turn out to be a better solution.

Hope this helps!

Koen Bruggeman
Contributor
April 3, 2023

why cant you validate on a dependent dropdown ;-/

Suggest an answer

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

Atlassian Community Events