Versions Compared

Key

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

%{issue.attachments}

Jira expression field codeissue?.attachments?.map(a =>  a.filename)
Example outputfile1.txt,readme.pdf,screenshot.png
Output data type

Status
subtletrue
titletext

Type

Status
subtletrue
colourRed
titleread-only

Available since
Tabs Container
directionhorizontal
Tabs Page
titleJWT expression
Code Block
titleField code
linenumberstrue
%{issue.attachments}
Tabs Page
titleJira expression
Code Block
titleField code
linenumberstrue
issue?.attachments?.map(a =>  a.filename)
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 objectissue?.attachments will return a list of objects.

Read


Page properties
id1
Returned valueA comma separated list of file names of all files attached to the issue.
Output data type

Status
subtletrue
titletext

Example outputfile1.txt,readme.pdf,screenshot.png
UI Text Box
typetip

To write this field, use Attachment ID.