Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-76673

Changing the default events fired by workflow post-functions prevents webhooks from being sent

XMLWordPrintable

      Issue Summary

      When the default event fired by the "Fire event" post-function is changed in a workflow transition, any related webhook(s) is not fired.

      For example, the initial transition (issue creation), by default fires an Issue Created event, saying: "Fire a Issue Created event that can be processed by the listeners."

       

      If the post-function is updated to fire something other than the Issue Created event (for example, a custom event), then jira:issue_created webhooks will not be sent by Jira when issues are created in projects that use the modified workflow.

      This works in a similar way for any other transition and the jira:issue_updated webhooks.

      Steps to Reproduce

      1. Edit the post-function to fire a different event

      Expected Results

      Any relevant webhook is sent by Jira.

      Actual Results

      Webhooks are not sent by Jira.

      Workaround

      The workaround is to restore the default event in the workflow post-function:

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

              Unassigned Unassigned
              srusso@atlassian.com Simone Russo
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: