Details
-
Bug
-
Status: Done
-
High
-
Resolution: Done
-
5.6.15
-
None
-
SR4J Sprint 76, SR4J Sprint 77
-
3.9
Description
Set a Database Picker or an Issue Picker to allow "Multiple" Selection via the below checkbox setting:
If you then configure this field to be required through Field Configuration instead of behaviours, the field will be marked as required with the red asterisk but when the user submits the form it allows the field to be left empty.
Steps to reproduce:
- Create a Database Picker and an Issue Picker scripted field with the "Multiple" checkbox ticked
- Add it to the required screens
- Go to the Field configuration page and set both to required
- Try to create or edit an issue and leave both fields empty. It will still allow the creation/edit to complete instead of warning the user to fill in fields
Workaround
The workaround is to use behaviours initialiser like this:
getFieldByName("TestDBPickerThree").setRequired(true)
Attachments
Issue Links
- is related to
-
SRJIRA-4170 Multiple Issue Picker Show an entry in the Change History of an Issue even if it was not changed
-
- Done
-