Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page properties
hiddentrue
id0
Jira expression field code

issue.attachments[0]?.id

Example output10042
Output data type

Status
subtletrue
titlenumber

Type

Status
subtletrue
colourRed
titleread-only

Available since
Tabs Container
directionhorizontal
Tabs Page
titleJira expression
Code Block
titleField code
linenumberstrue
issue.attachments[0]?.id
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 ID of the first attachment
Output data type

Status
subtletrue
titlenumber

Example output10042