Forum Discussion

flavia_sarah's avatar
flavia_sarah
New Contributor II
5 years ago

Get JIRA Attachment Content Document in Snaplogic Pipeline

Hi all,

We’re trying to get the JIRA Attachment Content document and it gives the URL of the attachment as shown below:-

“content”: “https://myjira-abc.atlassian.net/secure/attachment/10000/sample.txt

We are trying to get the metadata of this content and convert it into base64 encoded data but unable to do so.

Is there a way we can fetch the metadata of this content using REST GET and which REST API do we need to call? If there’s a better approach to this, please feel free to propose 🙂

Thanks.