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

Problem in displaying the File path for REST Endpoints

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.6.14.1-p5, 5.9.0, 6.3.0, 6.11.0
    • Fix Version/s: None
    • Component/s: REST EndPoint
    • Labels:
    • Critical Points:
      3.5

      Description

      For Script Runner version 5.6.14.1-p5

      Steps to Reproduce

      1. Create a REST Endpoint using a File and Save it.
      2. Once the REST Endpoint is created, open it for Editing once again.
      3. Next go to the File tab once again.
      4. Now open a new tab on the web browser or just click on another tab in the web browser if it is already open.
      5. Once in the new tab, go back to the REST Endpoint tab once again.

      Current Behaviour

      The File path that was previously configured goes blank

      Expected Behaviour

      When returning to the tab, the file path is still expected to be available.

      For ScriptRunner version 5.9.0-p5

      Steps to Reproduce

      1. Create a REST Endpoint using a File and Save it.
      2. Once the REST Endpoint is created, open it for Editing once again.

      Current Behaviour

      1. The field tab is not editable.
      2. When you are in the Script tab, you will need to click the backspace key once in the Script Field for the File tab to be enabled.
      3. Once the File tab is enabled, click on the File tab, you will notice that the File previously configured is blank

      Expected Behaviour

      1. The File tab is also expected to be enabled
      2. Also, when the file tab is clicked, the File path is expected to be available.

      Workaround

      1. Edit your REST Endpoint
      2. Go to the Script Tab.
      3. Click the backspace key once in the Script Field for the File tab to be enabled.

      Additional Info

      1. Below are 2 Test Videos for both ScriptRunner versions

        Attachments

        1. test1.mp4
          1.80 MB
        2. test2.mp4
          1.68 MB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rkumar Ram Kumar Aravindakshan
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: