REST API - Upload an attachment from a base64 encoded string

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

I'm currently setting up a incoming webhook through Automation on which an external system will POST some data to create/update issues.

One of the actions however is adding an attachment.

Automation currently does not support adding attachment in any way so I'll need to look towards sending a web request from Automation to add it.

Unfortunately (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post) does not allow a base64 encoded string to be passed as a parameter but expects a multipart/form.

Does anybody have some creative ideas/workarounds to capture the base64 encoded attachment and add it to an issue trough automation?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events