Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page properties
hiddentrue
id0
Jira expression field codeissue.attachments[0]?.mimeType
Example outputimage/jpeg
Output data type

Status
subtletrue
titlestring

Type

Status
subtletrue
colourRed
titleread-only

Available since
Tabs Container
directionhorizontal
Tabs Page
titleJira expression
Code Block
titleField code
linenumberstrue
issue.attachments[0]?.mimeType
UI Text Box
typenote

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 object.

Read


Page properties
id1
Returned valueThe media type of the first attachment
Output data type

Status
subtletrue
titlestring

Example outputimage/jpeg