I'm trying to do it reading this doc: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-attachment-content-id-get
But I'm receiving 404 when I try to get it:
https://your-domain.atlassian.net/rest/api/3/attachment/content/{id}
The values was replaced correctly in the url
The content is an txt file.
How can I get this content's attachment?
Your question is tagued with server but you try to use cloud API.
Use this one instead
https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/attachment-getAttachment
Regards
I already had saw this doc, but I would like get content instead some metada.
But some metadata was a URI to attachment, then I curl this URI and I can get the content! Thanks!!!
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.