Forums

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

How to Setup Automation Rules Export Automatically

Kamel Powers August 15, 2023

Is there a way for me to export all automation rules once a month automatically? Possibly leveraging an API? 

2 answers

0 votes
Aron Gombas _Midori_
Community Champion
July 30, 2024

@Kamel Powers There is no end-user feature for this, and what is even worse, Jira Cloud Automation doesn't offer a public REST API to get the list of all rules.

But! Some noticed that there is an internal API you can connect to, using a regular Atlassian API token. This API can be used to get all rules, a single rule and even update or modify rules.

Here is a Python script that demonstrates this: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/REST-API-for-automation/qaq-p/815314#M103432

We have tried, and the end-point does work! Therefore, you can write your script and put that to a CRON job and you're done!

0 votes
Himanshi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2023

Hello @Kamel Powers , 

Welcome to community!

I understand that you are for a way to export Automation rule once a month automatically. 

To help you better can I know your use case so that I can look for specific alternate as there is no api call that can serve this request.

Have a great day!

Kamel Powers August 17, 2023

We're simply trying to export our automation rules in Jira Software once a month but would like to see if that can be done automatically. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events