Get Audit Records
GET {{baseUrl}}/rest/api/3/auditing/record?offset=0&limit=1000&filter=<string>&from=<dateTime>&to=<dateTime>
Returns a list of audit records. The list can be filtered to include items:
- containing a string in at least one field. For example, providing up will return all audit records where one or more fields contains words such as update.
- created on or after a date and time.
- created or or before a date and time.
- created during a time period.
Permissions required: Administer Jira global permission.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
offset | number | The number of records to skip before returning the first result. | |
limit | number | The maximum number of results to return. | |
filter | string | The query string. | |
from | string | 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 | string | 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. |
RESPONSES
status: OK
{"offset":0,"limit":1000,"total":1,"records":[{"id":1,"summary":"User created","remoteAddress":"192.168.1.1","authorKey":"administrator","authorAccountId":"5ab8f18d741e9c2c7e9d4538","created":"2014-03-19T18:45:42.967+0000","category":"user management","eventSource":"Jira Connect Plugin","description":"Optional description","objectItem":{"id":"user","name":"user","typeName":"USER","parentId":"1","parentName":"Jira Internal Directory"},"changedValues":[{"fieldName":"email","changedFrom":"user@atlassian.com","changedTo":"newuser@atlassian.com"}],"associatedItems":[{"id":"jira-software-users","name":"jira-software-users","typeName":"GROUP","parentId":"1","parentName":"Jira Internal Directory"}]}]}