The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
I'm also interested in the Automation REST API, except for for Cloud.
And would be intersted in testing it as beta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
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.
Cheers,
Nick [Automation for Jira]
Co-Founder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We're after Server here. Could you point me towards the REST API endpoint, then I can play around with this ;)
Even if it isn't officially supported, this should help.
I'm glad about any sort of documentation (list of endpoints, whatever) you can provide.
Thanks for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
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
https://automation.atlassian.com/pro/rest/GLOBAL/audit?cv=1001.0.0-SNAPSHOT&xdm_deprecated_addon_key_do_not_use=com.codebarrel.addons.automation&lic=none&admin=true&cp=&xdm_e=https://roninpixels.atlassian.net&xdm_c=channel-com.codebarrel.addons.automation__cb-jira-automation-rules&jwt=[XXX]&limit=50&offset=0
But we cannot use it in connect. Any idea how we could get the audit log?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
"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?
Thank you
Yatish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there - any update on this please? Is there a roadmap to bring the REST APIs for Cloud and be documented? Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any documentation on how this could be achieved would be highly appreciated
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.
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.