Forums

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

Jira Automation REST API question

Christa Meck March 26, 2025

Please read this carefully:  I am asking a question about the Jira Automation REST API (allegedly 

https://developer.atlassian.com/cloud/automation/rest/api-group-rest/#api-group-rest) .   

I am NOT ASKING  --  NOT ASKING -- How to incorporate an API call in a Jira Automation.

 

Anyone on Jira Cloud using Postman (or command line cURLs) able to successfully search for templates using GET or POST ?  I'm using Postman with all my similar setup for Jira and Confluence REST goodness.  I am a regular API user so I don't think we need to diagnose my authentication or anything like that but it's not out of the question cause headers and such... But anyways...

Here's the URL I am trying:

<mySiteURL>/automation/public/jira/<myJiraCloudOrgID>/rest/v1/template/search

 

This returns: 404 not found

I'm not looking for much from this super basic API.  I'd really just love to be able to grab the JSON for a rule I wrote to use as reference.

Thanks!

- Christa

3 answers

1 vote
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 26, 2025

Hi @Christa Meck 

If I understand your question, there is no public REST API to access automation rules (or their audit logs) yet: https://jira.atlassian.com/browse/AUTO-51

Anything you may see posted in the community about people "discovering" such endpoints is likely to be unsupported and undocumented.

Kind regards,
Bill

0 votes
Christa Meck March 26, 2025

If there is no public API then why does this Atlassian created and managed documentation exist?  https://developer.atlassian.com/cloud/automation/rest/api-group-rest/#api-group-rest

 

Christa Meck March 26, 2025
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 26, 2025

Well, I have never seen that documentation page before.  And, none of them worked when I did a quick test (including the simple search with no params)...so perhaps they are not publicly available.

0 votes
Tim Perrault
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 26, 2025

Hi @Christa Meck 

 

You can export your automation rules to a JSON file, but as @Bill Sheboy has stated there is no public REST API yet.

Export your automation rules to a JSON file
Jira automation provides a quick way to export all your automation data into one file.

In Jira settings, select System > Automation rules. You’ll be navigated to the global Automation screen.

In the top right corner, select … > Export rules. This will download a JSON file containing all global and project-scoped automation rules.

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