Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API - Upload an attachment from a base64 encoded string

Dirk Ronsmans
Community Champion
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?

1 answer

0 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 14, 2025

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

Yep. Buy the Base64 Attachment REST API app for Jira Cloud.

Suggest an answer

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

Atlassian Community Events