Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-62528

Webhooks do not fire when creating sub-task or clone issue via post function

    XMLWordPrintable

Details

    Description

      Summary

      Webhooks set to trigger on the Issue Created will not fire when a subtask or clone issue is created via a post function.

      Steps to Reproduce

      Scenario 1

      1. Spin up JIRA 7.1.6 with the Create on Transition plugin
      2. Create a new project.
      3. Edit and publish the workflow for the project so that the Create Subtask post function is used to create a subtask.
      4. Set up a webhook on the Issue Created event with the JQL Project = <your project>. Use RequestBin for your webhook URL.
      5. Create an issue in your project and run it through the transition where you added the Create Subtask post function.

      Scenario 2

      1. Spin up JIRA 8.20.3 with ScriptRunner plugin installed.
      2. Create two new projects such A and B.
      3. Edit and publish the workflow for the project A so that the "Clone an issue and links" post function can clone an issue to project B.
      4. Set up a webhook on the Issue Created event with the JQL Project = <your project>. Use RequestBin for your webhook URL.
      5. Create an issue in your project A and run it through the transition where you added the "Clone an issue and links" post function that would clone an issue in project B.

      Expected Results

      The Issue Created event that is fired when the subtask or clone issue is created will trigger the webhook.

      Actual Results

      The webhook is not fired.

      Workaround

      You can use the Trigger a Webhook post-function on the create transition of sub-task issue type specific workflow in your project.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jburke@atlassian.com Justin Burke (Inactive)
              Votes:
              15 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated: