How can I get the last uploaded attachment by API call?
I don't understand the sorting of the attachments list using:
../rest/api/2/issue/FWT-307?fields=attachment
You will need to get the result and then perform sorting by yourself. The REST API call will return the created date:
I hope that this helps.
Thanks,
Moga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From the result I got, I would say from oldest to newest. But then again, it's not documented in Get issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.