Validators on Transitions fail on cascading select list selection of 'None'

Tom Allison August 19, 2012

I have set up a Transition to Resolve validation to require certain category/subcategory fields. These fields also include the drop down option of None -> None for Category -> SubCategory. When selecting None->None the validation fails. If I add the select option for None it will appear twice.

None->None is OK for this validation, but what we can't have is leaving these as Please select a category... Unfortunately, the Validation doesn't have such an option available.

1 answer

0 votes
cgauterio
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 27, 2012

Hi Tom,

To remove the 'None' option, you need to set the custom field as 'Required' in the field configuration.

Cheers,

Clarissa.

Marco Colageo June 17, 2013

Hi Clarissa,

unfortunately the fix does not work. Althought the cascading select list is required the None option is accepted when creating the issue.

I'm trying using the Script Runner Validator as follows:

cfValues['Cascading Field'].getValue() != ""

it does not work yet unfortunately!

Cheers

Marco

Suggest an answer

Log in or Sign up to answer