Attachment size

Jira expression

issue?.attachments[0]?.size

Attachments are stored in lists. Documentation on how to work with lists can be found here.

You can access the whole attachment by issue?.attachments[0] which returns an objectissue?.attachments will return a list of objects.

Read

Returned value

The size of the first attachment, in bytes

Output data type

number

Example output

80000