The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to add validation for checkbox custom field

Sandesh TM
Contributor
October 3, 2023

We have a requirement like only on checking the checkbox of custom field, other multiple user picker field is to be enabled. How can we achieve this?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Benjamin
Community Champion
October 3, 2023

HI @Sandesh TM ,

 

You'll need an add-on for this to augment the behavior or to add dynamic fields based off a result of another field.

 

Look into the following add-ons:

  • Extension for Jira Service Management
  • ScriptRunner
Sandesh TM
Contributor
October 5, 2023

@Benjamin How can we do without the add on? We have checked through a validator- Conditional Field Validator available in validators for transition in workflow configuration,  it is not working for check box but it is working for select list and radio button values.

Benjamin
Community Champion
October 5, 2023

@Sandesh TM - This situation is a bit different. Your scenario is that you want to validate the field in order of the transition can occur.

 

If that's the case, there's some options from a similar post:

 

https://community.atlassian.com/t5/Jira-questions/Field-validator-on-checkbox-custom-field/qaq-p/1798417

TAGS
AUG Leaders

Atlassian Community Events