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=1ruleId is my variable
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
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?
It looks like you're new here. Sign in or register to get started.