Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-6091

Behaviour is not able to populate the Multi-User Picker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Duplicate
    • 6.54.0
    • None
    • Behaviours
    • 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.

      1. Add a multi-user picker to the project.
      2. 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}"
        
      1. 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

          Activity

            People

              Unassigned Unassigned
              rkumar Ram Kumar Aravindakshan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: