Developer Portal for YouTrack and Hub 2021.3 Help

Attachment

Properties

Name

Type

Description

author

User

The user who attached the file to the issue.

charset

string

The charset type of the file. `null` by default. Applicable to text attachments only.

created

number

The date and time when the attachment was created as a timestamp.

fileName

string

The name of the attachment file.

id

string

The ID of the attachment.

mimeType

string

The MIME type of the file.

updated

number

The date and time the attachment was last updated as a timestamp. The same as `created` by default.

updatedBy

User

The user who last updated the file. The same as `author` by default.

visibleToGroups

Array.<UserGroup>

The user groups that can view the attachment. `null` by default.

visibleToUsers

Array.<User>

The users who can view the attachment. If none of the `visibleToUsers` and the `visibleToGroups` parameters are specified, the attachment becomes visible to issue or article readers. `null` by default.

Last modified: 14 September 2021