Retrieves a reverse-chronologically-ordered list of all changes that have been made to this issue, including authors, dates, and old vs. new property values.
Permissions
To use this endpoint, the user is required to have the Forms View (Forms_ViewAccess
) permission for the iTwin, or for the issue's associated definition if form definition security is specified. (Having any other level of Forms permission automatically grants the View permission as well.)
Authentication
Requires Authorization
header with valid Bearer token for scope itwin-platform
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Request parameters
The ID of the issue to get audit entries for
Request headers
OAuth access token with itwin-platform
scope
Setting to application/vnd.bentley.itwin-platform.v1+json
is recommended.
Response 200 OK
OK
{ "auditTrailEntries": [{ "id": "abcdMNUYw02hNz19awLcRglMXtJ6wX1Au90K-x30000", "changeBy": "Sue User2", "changeById": "f4fa6f4f-0000-1111-2222-f4fa6f4fa6f4", "changeDateTime": "2020-11-23T17:51:47.3533335Z", "action": "Modified", "changes": [{ "property": "Severity", "oldValue": "Medium", "newValue": "High" }] }, { "id": "abcdMNUYw02hNz19awLcRszUhyKBA2hFroBiHF70000", "changeBy": "Joe User", "changeById": "9e399e39-0000-1111-2222-8d8a8d8a8d8a", "changeDateTime": "2020-11-23T17:48:48.9505035Z", "action": "Opened", "changes": [{ "property": "Closed", "oldValue": null, "newValue": "False" }] }, { "id": "abcdMNUYw02hNz19awLcRvLVYgvQ009DsFLTfxs0000", "changeBy": "Joe User", "changeById": "9e399e39-0000-1111-2222-8d8a8d8a8d8a", "changeDateTime": "2020-11-23T17:48:48.9505035Z", "action": "Status", "changes": [{ "property": "Status", "oldValue": null, "newValue": "Open" }] }, { "id": "abcdMNUYw02hNz19awLcRlgCKHZ7PHZFnGYz4P_0000", "changeBy": "Joe User", "changeById": "9e399e39-0000-1111-2222-8d8a8d8a8d8a", "changeDateTime": "2020-11-23T17:48:48.8254245Z", "action": "Assigned", "changes": [{ "property": "AssignedTo", "oldValue": null, "newValue": "Sue User2" }, { "property": "AssignedToId", "oldValue": null, "newValue": "f4fa6f4f-0000-1111-2222-f4fa6f4fa6f4" } ] }, { "id": "abcdMNUYw02hNz19awLcRkCOCh-gk3ZEhnNzf1A0000", "changeBy": "Joe User", "changeById": "9e399e39-0000-1111-2222-8d8a8d8a8d8a", "changeDateTime": "2020-11-23T17:48:48.7941806Z", "action": "Created", "changes": [] } ] }
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 404 Not Found
This response indicates that the specified issue does not exist or is inaccessible to the user.
{ "error": { "code": "IssueNotFound", "message": "Requested issue is not available.", "target": "id" } }
Response 429 Too many requests
This response indicates that the user has sent too many requests in a given amount of time.
{ "error": { "code": "TooManyRequests", "message": "More requests were received than the subscription rate-limit allows." } }
Response headers
The number of requests exceeds the rate-limit for the client subscription.
Audit Trail
Audit Trail Entry (get) action
The type of change that was made to the issue. Possible values: 'Created', 'Modified', 'Assigned', 'Status', 'Closed', 'Opened', 'Draft', 'Deleted', 'Undeleted', 'File Attached', 'File Removed', 'Form Raised'
Audit Trail Entry (get)
Information about a single occurrence of a change to this issue.
String that uniquely identifies this entry.
The display name (i.e., given name and surname) of the user who made this change.
The GUID of the user who made this change.
The date and time of this change.
The type of change that was made to the issue. Possible values: 'Created', 'Modified', 'Assigned', 'Status', 'Closed', 'Opened', 'Draft', 'Deleted', 'Undeleted', 'File Attached', 'File Removed', 'Form Raised'
The individual property modifications that were made in this changeset.
Error
Contains error information.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.