AttachmentAudit

Contents

This object represents an audit item for any user activity with an attached document.

The following events generate an attachment audit item:

  • Uploading a document
  • Downloading a document
  • Removing a document from a list or view without deleting the document entirely
  • Deleting a document from the Attachments tab on a work item

Fields

activity (AttachmentActivityType!) Representing the type of activity which took place (upload, download, removal, or deletion).

systemId (String!) Representing the UUID of the work item, template, dashboard, or presentation on which the attachment activity took place.

itemName (String!) Representing the name of work item, template, dashboard, or presentation on which the attachment activity took place.

itemId (String!) In the case that the item on which the attachment activity took place is a work item instance, that item’s auto ID

itemApiName (String!) The API name of the work item, template, dashboard, or presentation on which the attachment activity took place

user (User!) The user who engaged in the attachment activity.

userAccessRight (String!) A description of the access rights of the user to the item on which the activity took place. (e.g.: ‘admin’, ‘edit’, or ‘viewer’).

userIP (String!) The IP address of the user who engaged in the attachment activity.

timestamp (String!) The time at which the attachment activity took place.

attachmentId (String!) The ID of the document

fileName (String!) The name of the file with file extension.

url (String!) A URL to download the attachment if it exists (i.e.: activity type is not ‘delete’), or null otherwise.

sectionName (String!) Only in the case that the attachment activity type is ‘remove’: the name of the section from which the attachment was removed.

Updated on September 24, 2025

Related Articles