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
Hi @Chiara Spadavecchia,
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
ok but do you know the sorting used by API call?
From the result I got, I would say from oldest to newest. But then again, it's not documented in Get issue.
It looks like you're new here. Sign in or register to get started.