Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,146
Community Members
 
Community Events
184
Community Groups

Audit logs with rest API

Leonard Chew
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 06, 2023

Hi all

I would like to use the Jira REST API to get some specific audit log data of a few projects with sensitive data.
I have seen, that the service to get the audit data is deprecated on my current version Jira 9.4.4:

https://docs.atlassian.com/software/jira/docs/api/REST/9.4.4/#api/2/auditing-getRecords

Does anyone know if there is an alternative to the depricated method?

1 answer

1 accepted

0 votes
Answer accepted
Leonard Chew
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 01, 2023 • edited

For anyone with the same problem...

I have contacted Atlassian Support with this issue.

It appears that since Jira 8.8 with the major changes to the auditing mechanism, a new API for the audit log has been created and the old API has been deprecated.

The new Auditing API has not been migrated to the general API, which generates confusion.

 

So here is the answer:

OLD Audit API: 

  • /rest/api/2/auditing/record

NEW Audit API: 

  • /rest/auditing/1.0/events

The Documentation for the NEW API is here: 

Atlassian Support has opened a Ticket to move the new Audit API into the general Jira REST API:

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.4
TAGS
AUG Leaders

Atlassian Community Events