What is the "Body Type" JIRA accepts for Issue Attachment

Deleted user September 23, 2019

Hi,

I am trying to add the issue attachments from Salesforce.  We have all the File format type to attach in JIRA.

Right now, I am passing the attachment body as Base64 Encoded. It's not working as expected. I am not sure what is the  JIRA issue attachments Body type. 

Thanks. 

1 answer

1 accepted

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2019

Hello @[deleted]

Thank you for reaching out.

I believe you are importing the attachments from Salesforce to JIRA through REST API. Is it correct?

If that's what you are trying, I'm afraid that JIRA only accepts binary images, however, we have a feature request opened to improve this behavior:

Create attachment via REST API accept base64 image

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

Additionally, let me know if you have tried (or are trying) the connector between JIRA and Salesforce to migrate attachments:

Working with attachments in Salesforce

Let me know if you have any questions.

Deleted user September 24, 2019

Hi @Petter Gonçalves ,

Thank you for your answer. 

Thanks.

 

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 25, 2019

You are welcome, Nagendra.

Let me know if there's anything else I can help with. Have a nice day! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events