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

"Custom Script" Scripted Fields fail to show Execution History in user interface

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 5.5.9
    • Fix Version/s: 5.7.1
    • Component/s: Scripted Fields
    • Labels:
      None
    • Sprint:
      SR4J Sprint 70, SR4J Sprint 71, SR4J Sprint 72
    • Critical Points:
      8.5

      Description

      In Scriptrunner 5.5.9 the Execution history for script fields no longer renders/shows in the user interface:

      The above was tested when upgrading from 5.5.7 to 5.5.9

      In 5.5.7 it was actually another way around, where script fields that used built-in scripts were not showing the execution history correctly.

      In the Post call JSON response, it looks like the hasExecutionHistory is false for custom scripts and True for built in scripted fields.

      Steps to reproduce:

      I believe this will happen even with newly create scripted fields in 5.5.9 without the upgrade, so to reproduce, just create a new scripted field in Jira running scriptrunner 5.5.9

        Attachments

        1. image-2019-07-12-18-36-15-825.png
          image-2019-07-12-18-36-15-825.png
          288 kB
        2. image-2019-07-12-18-40-32-954.png
          image-2019-07-12-18-40-32-954.png
          701 kB
        3. image-2019-08-19-12-19-40-031.png
          image-2019-08-19-12-19-40-031.png
          468 kB
        4. image-2019-08-19-12-31-57-988.png
          image-2019-08-19-12-31-57-988.png
          382 kB
        5. image-2020-01-22-10-29-19-518.png
          image-2020-01-22-10-29-19-518.png
          494 kB
        6. image-2020-01-22-10-34-35-313.png
          image-2020-01-22-10-34-35-313.png
          228 kB
        7. jira-7.png
          jira-7.png
          498 kB
        8. jira-8.png
          jira-8.png
          604 kB

          Activity

            People

            Assignee:
            merdmann Marcin Erdmann
            Reporter:
            mclark Matthew Clark
            Votes:
            11 Vote for this issue
            Watchers:
            24 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: