Details
-
Bug
-
Status: Done
-
Major
-
Resolution: Done
-
6.2.0
-
None
-
SR4J Sprint 80
-
1.4
Description
Steps to reproduce
- Create an Issue Picker scripted field with the "Multiple" checkbox ticked.
- Add it to a Create/Edit Issue screen.
- Go to the Field configuration page and set to required the field.
- Create/Edit an issue and leave the Multiple Issue Picker field empty.
Current Behaviour
It will still allow the creation/edit to complete instead of warning the user to fill in fields.
Expected Behaviour.
If no value is selected for the Multi Issue Picker, the ticket should not be created and an Error Message Should be returned stating that the field is is mandatory.
Additional information
A temporary work around for this is to use the ScriptRunner Behaviour and set the field to required. Below is a sample code:-
def sampleMultiIssuePicker = getFieldById(fieldChanged)
sampleMultiIssuePicker.setRequired(true)
Attached is a print screen of the behavior configuration
Attachments
Issue Links
- is duplicated by
-
SRJIRA-4741 Multi Select Database Picker shows empty change logs in activity history tab
-
- Done
-
- relates to
-
SRJIRA-3303 Issue picker field not working with "required"
-
- Done
-