Hello,
I'm trying to make a query for a specific time range to the Jira Audit Records endpoint and I'm wondering what the expected date format for the `from` and `to` query parameters should be:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records/#api-rest-api-3-auditing-record-get
The date and time on or after which returned audit records must have been created. If to is provided from must be before to or no audit records are returned.
to
from
The date and time on or before which returned audit results must have been created. If from is provided to must be after from or no audit records are returned.
# What date format ^^
Hi @andrea_piazza ,
The format is ISO 8601 format, same as the one in the response in the example
"created": "2014-03-19T18:45:42.967+0000"
Hope that helps!
~ Hariharan
Thanks!
@Hariharan Iyer Thanks! This helps! One more question regarding the Confluence Audit Records API. Just wanted to double check that the startDate` and `endDates` are in epoch in milliseconds according to the docs ? The created date is 60?
https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit/#api-wiki-rest-api-audit-get
@andrea_piazza , yes, those fields are in epoch time.
Thanks,
Hariharan
It looks like you're new here. Sign in or register to get started.