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

Behaviour setFormValue is not working on 'Customer Request Type' field from JSM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage
    • Low
    • Resolution: Unresolved
    • 6.38.0
    • None
    • Behaviours
    • None
    • 5.9

    Description

      Steps to Reproduce

      1. Create a JSM project and make sure the field 'Customer Request Type' is available on the create/edit screen.
      2. Create a Behaviour and use the following script on Initialiser to set the field as 'Get IT Help' for example:
      def field = getFieldByName('Customer Request Type')
      
      field.setFormValue('qwe/getithelp') // Change 'qwe' to your project key

      Expected Behaviour

      The field will be set as 'Get IT Help'

      Actual Behaviour

      The field is not being set - nothing happened.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hibrahim Helmy Ibrahim
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: