issue?.attachments[0]?.created
2021-07-26T06:38:17.622-1100
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, issue?.attachments will return a list of objects.
issue?.attachments[0]
issue?.attachments