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

Even if the Field is not added to the Screen, the Field's Server-Side Behaviour is still able to work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 6.37.0
    • Behaviours
    • SR4J Sprint 108, SR4J Sprint 109
    • 12.1

    Description

      Steps to reproduce

      1. Update the Create Issue Screen for the project and remove the Description field as shown below:-
      2. Create a Server-Side Behaviour for the Description field and add the code below:
        def summary = getFieldById("summary")
        summary.setFormValue("Testing Summary")
        

        Below is the print screen of the Behaviour configuration:-

      3. Create an issue for the project

      Current Behaviour

      When the Create Issue screen appears, the Summary field's form value which was set in the Description field's Server-Side Behaviour are displayed.

      Expected Behaviour

      The Summary field's form value set in the Description field's Server-Side Behaviour should not be triggered unless the Description field is added to the screen.

      Attachments

        1. behaviour_config.png
          behaviour_config.png
          124 kB
        2. image1.png
          image1.png
          89 kB
        3. image2.png
          image2.png
          81 kB
        4. Screen Recording 2021-12-08 at 10.55.30 AM.mov
          16.02 MB

        Issue Links

          Activity

            People

              wsignoretti Wagner Signoretti
              rkumar Ram Kumar Aravindakshan
              Votes:
              5 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: