Unable to get complete records from audit log API

Rukshan Perera January 31, 2022

Hi,

I am trying to get Jira audit logs using /rest/api/3/auditing/record API from my Jira cloud account. This API provides total count of audit records with a maximum of 1000 detailed record entries as part of API response. However, this API does not provides a value as cursor to the next page if there are more than 1000 audit records.

Is there any way to get complete list of audit records even if audit record count is more than 1000?

 

1 answer

0 votes
Utkarsh Agarwal
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.
January 31, 2022

Hi @Rukshan Perera ,

To my understanding the api for audit log does not have a pagination feature yet.

You can try adding a filter with date range to limit the output, not the best solution but can be workaround with.

Refer: https://community.atlassian.com/t5/Jira-questions/JIRA-Audit-via-API/qaq-p/747252 

Kind Regards
Utkarsh

Svante Gustafsson Björkegren
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.
March 9, 2023

Hey,

I agree that the workaround will get the job done.

I searched for a suggestion ticket, but couldn't find one, so I created it: https://jira.atlassian.com/browse/JSWCLOUD-24202

Cheers,
// Svante

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events