Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Audit via API

Adam_G March 9, 2018

Using the documentation from here, I'm not exactly sure how to put in to, from, and filter information. The to/from parameters seem to be string data types, but I have no documentation on how to format the strings to get data back. Any help would be greatly appreciated.

I'm trying the below, but it seems to hang up on the date format being wrong.

/rest/api/2/auditing/record?filter=Permission&from=03-01-2018&to=03-08-2018

1 answer

1 accepted

0 votes
Answer accepted
Kyle Moseley
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, 2018

Try this format:

2014-03-19

If that doesn't work, try including time, like in this format:

2014-03-19T18:45:42.967+0000

Adam_G March 9, 2018

the ISO-8601 format is what did it. Thanks Kyle!

Katie Black
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2018

Exactly which format did you use? I have tried a few of them from here: http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm and still no luck.

Mario Ofner July 10, 2018

Hy Katie

This Timestamp Format that worked for me is

2018-01-01T00:00:00.000Z

Thank's Adam for pointing into the right direction

Puja Nayak (IN) September 12, 2018

The audit log api is not pulling add-on installation log details.Any idea how to get that using rest api?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events