Changing the default event fired by 'Fire Event Function' post function to a different system event prevents webhook from being sent or sends incorrect webhook

XMLWordPrintable

    • 3
    • Minor

      Issue Summary

      When the default event fired by the "Fire event Function" post function is changed in a workflow transition to a different system event, a related webhook is not fired, or an incorrect webhook is fired, depending on the chosen event.

      This doesn't affect custom events, as they were fixed in JRACLOUD-76673.

      Steps to Reproduce

      1. Edit the 'Fire Event Function' post function to fire a different system event than the default

      Expected Results

      • for the initial transition - the jira:issue_created webhook is being sent
      • for any other transition - jira:issue_updated webhook is being sent

      Actual Results

      Webhooks are not sent at all, or Jira sends incorrect webhooks.

      Workaround

      Restore the default event in the "Fire event Function" post function:

      • Create Issue for the initial transition
      • Generic Event for any other transition

            Assignee:
            Unassigned
            Reporter:
            Bartosz Robakowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: