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
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
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
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.