You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We have to create and keep up-to-date a set of about 50 automation rules. We'd prefer to automate this via the REST API. Does this automation plugin offer any access to read/write the automation rules?
We currently do offer an offical REST api to mange rules but I have raised a ticket to do this at: AUT-999 - Official REST Api
This is going to be a little more difficult in Cloud than Server but should still be possible using web tokens.
Are you after Cloud or Server?
If you are on Server, it be pretty easy to reverse engineer our REST api. For management it is pretty straight forward GET/PUT/POST stuff.
Though this isn't officially supported.
Nick [Automation for Jira]
We need to retrieve the Automation for Jira audit log to integrate it with our app. We saw this API currently used in the Audit Log section
But we cannot use it in connect. Any idea how we could get the audit log?
"We currently do offer an offical REST api to mange rules" - Do you mean 'do not offer ...'? :)
Please advise on the timeline or what we can do to interact with the automation rules via REST API via a Connect App?
In case anyone is looking for the endpoints for JIRA Server/Data Center, I found these two.
/rest/cb-automation/latest/project/GLOBAL/rule/<rule_id> PUT To update a rule
/rest/cb-automation/latest/project/GLOBAL/rule GET Returns all rules (still trying to figure out how to get a specific one)
I don't believe there is an API call to pull a specific rule.
In theory, you could call the global endpoint from A4J itself, and parse the result:
But I just get :
An alternative is to call ScriptRunner to do the call and parse (feels defeatist, but pragmatism must prevail!).
Either way, if you figure it out please share. I've been looking to get to it for over a year.
Bonus marks for building it as an REST endpoint in Scriptrunner ;)
Hi all, I would be very keen on this for Jira Cloud. Please advise on how to 'play with' automation rules and configurations via the REST API? Thank you
Hi there - any update on this please? Is there a roadmap to bring the REST APIs for Cloud and be documented? Thank you
Any updated on movement on this please for Jira Cloud? Thank you