Details
-
Bug
-
Status: Done
-
Low
-
Resolution: Duplicate
-
6.54.0
-
None
-
None
-
2.3
Description
The Behaviour is unable to display the update made to the Multi-User Picker using the setFormValue method. However, the updated value can be displayed in the log output.
Steps to Reproduce
Provide a detailed step-by-step process to reproduce the problem.
- Add a multi-user picker to the project.
- Add a Behaviour configuration for the project and use the Initialiser to set the value for the Multi-User Picker. Below is the sample code used for testing:-
import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript FieldBehaviours fieldBehaviours def multiUserPicker = getFieldByName('Multi User Picker') multiUserPicker.setFormValue('admin') log.warn "====>>> ${multiUserPicker.formValue}"
- Save the Behaviour and try to create a new Issue.
Expected Behaviour
The selected user should be displayed in the Multi-User Picker.
Actual Behaviour
The Multi-User Picker doesn't get updated as expected.
Additional Info
Test video included: test1.mp4
Attachments
Issue Links
- duplicates
-
SRJIRA-5765 Behaviour setFormValue no longer works for User Picker (Multiple User) field from Jira v8.21.0
-
- Done
-