I have written lot of automation rules in my project, i would like to download/extract the name of automation rules in .csv or xls or txt etc.
Currently i am doing copy and paste in excel manaully for each rules.
If you go to Global automation you have the option to export your rules to a JSON file that you could then use to extract the names. Currently this is the only option until there is an official API for automations.
Note that this option is available only if your are a Jira Product Admin.
If you are only a Project Administrator, you will need to work with your Jira Product Admin to get the JSON file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe your suggestion is a good one to get the list of all rules (by product) in one batch for use outside of Jira, Confluence, etc., and...
Recently released, there is an official REST API to access rules, including some newer experimental endpoints:
https://developer.atlassian.com/cloud/automation/rest/intro/#about
Unfortunately, the List Rule Summaries endpoint is limited to 100 items, and so requires paging for more items. Theoretically...one could get meta and create an automation rule and use rule recursion (with the Incoming Webhook Trigger) to create a Confluence page and repeatedly add the rule summaries to the page in chunks of 100 until done :^)
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.