Forums

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

Hi team, I am looking for error handling in JIRA automation,

jatin Mahajan
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!
June 6, 2026

I am looking for a way so that I can read the status of an automation rule execution.
 
from another automation rule.

I am passing rule id via webhook to the another automation and i am using api 

https://abc.atlassian.net/rest/cb-automation/latest/pro/rest/GLOBAL/rules/{{ruleId}}

and 

/gateway/api/automation/internal-api/jira/{cloudId}/pro/rest/GLOBAL/rules/{ruleId}/executions?sortOrder=DESC&limit=1

ruleId is my variable

2 answers

3 votes
Trudy Claspill
Community Champion
June 6, 2026

Hello @jatin Mahajan 

Welcome to the Atlassian community 

Can you tell us about the problem you are trying to solve? If we have more information that will give us context that will help us give you better advice.

Why do you need to know the execution status of the latest run of the specified rule? What are you going to do based on that information? 

Can you provide screen images showing your entire Rule #1 and images showing your entire Rule #2?

You have Rule #1, passing a Rule ID (A) to Rule #2. Is (A) the ID of Rule #1, or some other Rule?

2 votes
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 Champions.
June 6, 2026

Hi @jatin Mahajan 

Short answer: that is not possible yet.

There are no public REST API endpoints to get automation rule audit logs.  Here is the suggestion to add that feature: https://jira.atlassian.com/browse/AUTO-51

The only public endpoints help to access rules but not their audit logs: https://developer.atlassian.com/cloud/automation/rest/api-group-rule-management/#api-group-rule-management

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events