Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I have a multi checkbox that i am using in workflow transitions.
currently, on clicking on one check box is sufficient for transitioning a issue. But I want While transitioning a issue, All check boxes to be clicked(as a mandatory field).
Too Late Answer, useful for newcomers.
All CheckBox Options can be marked Required, if using Extension for Jira Service Management .
Add CheckBox Field in Customer Form Extensions, and set validator = at least x values required: "Number of Checkbox options"
Extension for Jira Service Management
Project Settings -> Customer Form Extension -> Request Type -> Check Box Field -> Validator -> atleast x values required -> "Number of Checkbox options"
If they all have to be mandatory, technically you don't need the field. You can assume that the user has ticked everything because they're using the transition.
If you do insist on doing this, then you will need to find or write some code for it. This could get quite "interesting". Technically, you could just check "number of selected options = x", but what happens if the list changes? You suddenly have a load of issues that don't match, although they did when they were transitioned.
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.
Examples of validators can be found under https://scriptrunner.adaptavist.com/4.3.1/jira/recipes/workflow.html (I went higher, because you might prefer a condition instead - a validator will halt a user part way through a transition, whereas a condition will stop them using the transition at all)
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.