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

Behaviour setLabel is not working for 'Issue Type' field in edit screen

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage
    • Low
    • Resolution: Unresolved
    • 6.36.0, 6.38.0
    • None
    • Behaviours
    • None
    • 2.3

    Description

      Behaviour updates the label for the first time but doesn't change anymore when changing the Issue Type in the edit screen. The problem seems to be specific to the IssueType field in the edit screen.

      Steps to Reproduce

      1. Create a new behaviour and map to a project with all issue type.
      2. Configure a server-side script for the "Issue Type" field with sample script:
        def field = getFieldById(fieldChanged)
        
        def fieldValue = field.value
        
        if(fieldValue){
            field.setLabel("Form Value : ${fieldValue}")
        }
        

      Expected Behaviour

      The label is updated accordingly based on the value change in the edit screen.

      Actual Behaviour

      The label does not update based on the value change in the edit screen.

      Additional Info

      • Attached video on steps to reproduce

      Attachments

        Activity

          People

            Unassigned Unassigned
            amustapha Amir Mustapha
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: