It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

Hello @Nagendra_M

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.

Hi @Petter_Gonçalves ,

Thank you for your answer. 

Thanks.

 

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you