Hi! :)
In Jira Automation, the webhook trigger can either get an issue from the request, find it based on JQL or get no issue at all.
I have a scenario, where an issue key could be sent along in the webhook or not.
I want to take the issue from the webhook (if provided) and do something on it, but if no issue key is provided, do something else.
My problem is that the automation fails with "No issues from the webhook" when no issue key is sent.
Do I really have to create to separate automations for this?
Hi @Jesper Skytte -- Welcome to the Atlassian Community!
Short answer: When you want to provide the work items (previously called "issues") directly or send a key, then "yes": two rules would be needed.
However...as "providing the work items" seems to send the keys as a list and then the trigger processing gets them to iterate, a workaround would be:
One limitation with this approach is any actions on the work items will need to happen inside of the branch (or by calling a different rule using an additional Incoming Webhook triggered rule).
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.