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

Execution records for script plugin listeners are stored and fetched under different keys

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Listeners
    • Labels:
      None
    • Critical Points:
      0.5

      Description

      When persisting or retrieving the results of listener executions, in both cases the key used is derived ultimately from the parameters map of the listener via hashing. When the listener comes from a script plugin, however, the map is slightly different between the two cases and thus the hashed keys are entirely different, so ScriptRunner fails to find the records which it had previously stored.

      The way this manifests to the end user is that they always see "Has not run yet" next to plugin-provided listeners even when that isn't the case.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jchoules Joanna Choules
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: