Jira expression field codeissue?.attachments[0]?.mimeType
Example outputimage/jpeg
Output data type

Type

Available since
issue?.attachments[0]?.mimeType

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 valueThe media type of the first attachment
Output data type

Example outputimage/jpeg