Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation: Edit issue from webhook

Jesper Skytte
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 30, 2025

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?

1 answer

1 accepted

6 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2025

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:

  • select the "no work items from the webhook" option
  • send the list of work item keys as data in the request
  • use a JQL branch to access them

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events