Hi,
I am trying to get audit logs via jira automation.
but i get error "401"
when i tried from postman with same rest api and token its working
Hi @Nodar Vardiashvili ,
You have the wrong end point version, use version 2 instead of 3, like:
GET /rest/api/2/auditing/record
Cheers,
Rudy
The 401 error typically means authentication/network access-related issues. It can be credentials, headers, encoding, etc. Have a look at https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828, which should help you to get this working. Make sure you have correctly base64 encoded; that typically does the trick.
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.