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?
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 ;)
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events