Field code
issue?.attachments[0]?.author

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 Atlassian account ID of the user who created the first attachment
Output data type

TEXT

Example output557068:145e0983-5707-439c-80e4-1160dd57g114

If you still have questions, feel free to refer to our support team.