Ability to set an action to run once when multiple issues are supplied via the Webhook HTTP POST body when using the Incoming webhook trigger

XMLWordPrintable

      Summary

      When using the "Incoming Webhook" automation trigger, it is possible to supply multiple issues to this trigger using the below HTTP POST body:

      {
        "issues": [
          "TEST-1",
          "TEST-2",
          "TEST-3"
        ]
      }

      During the execution, the action components defined in the rule, are run the same number of times as the number of issues included in the HTTP POST body.

      For example, since the above HTTP POST body includes 3 issues (TEST-1, TEST-2, and TEST-3), an action defined after the trigger (like send email) is performed 3 times.

      Suggestion

      It would be great if the end user could have the option to choose if actions need to be performed once or the same number of times as the issue supplied. 

      Use case: If there are actions such as "Create a new version" or "Send slack messages", both of these actions would be performed multiple times based on the number of issues supplied by the incoming webhook. While it is possible to use a re-fetch action and conditions to limit the attempt of creating duplicate versions, it is not possible to limit the slack messages for each issue.

            Assignee:
            Unassigned
            Reporter:
            Bopanna
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: