We have Jira Data Center with JSM, and I am a project admin, not a site admin.
We need a way to get the Automation Audit Log out to put into a dashboard, using a tool like Power BI. I assumed this would be via the REST API, but I can't find any documentation related to THIS audit log, not the main Jira audit log. Can anyone recommend a way to get that data out of Jira, other than RPA screen-scraping?
I found undocumented API endpoints to get usage data out of Cloud. Have never looked for Audit Logs... Let's see...
Ah, here we go:
After I went to https://YOURSITE/secure/AutomationGlobalAdminAction!default.jspa#/audit-log
And sniffed around in Chrome's Developer Panel. Found this:
Thank you, I will take a look. That second URL looks like the main Jira audit log info, but I'll look into it.
I was told by someone else that, because Automation for Jira used to be a separate add-on, all they did was bundle it in, but it's still, under the covers, an add-on, and they haven't made it part of the usual REST API. I'm hoping that's not true.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I should have replied sooner. That worked partially, but the results are missing a key element. The results do not include the actual activity performed. You get the ID of the rule being executed, the date and time, but you don't get any details about what was actually done. Maybe that's why they aren't publishing it. It's incomplete. Knowing Atlassian, they will most likely never address this, which makes automation useless in a regulated environment, such as might be found at a bank for example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hrm. So the first URL changed:
https://YOURSITE.atlassian.net/jira/settings/automation#/tab/audit-log?page=1
As did the second one:
(Cloud ID can be obtained here: https://YOURSITE.atlassian.net/_edge/tenant_info per What is my cloud id)
But to your point, you're 100% correct in that the audit log doesn't show activity performed. I don't think that's the point of this API. It does show outcomes: SUCCESS or NO_ACTIONS_PERFORMED, and even associated Issue IDs (which is more than you get in the UI).
If you want the "content" of each audit item, it turns out that's a _different_ API call:
For me that returned a LOT of specific data about the trigger that kicked off the rule, actions performed, conditions, etc.
Again, I'm testing on CLOUD, so these endpoints could be totally different/nonexistent on Data Center.
But you ought to be able to dig them out with a little Developer Panel sleuthing. If you happen to be coming to Team 25, I may do a little demo of this: https://a.e180.co/l/nKjU2a/
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.