Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to set attachment MIME type for json import ?


I am creating issues with json file importer on new JIRA instance. For this I extract information from the issues of an hold instance.

I include attachements in my json import file. These are created correctly on the new instance, however when i open them the format is not the correct one.

In an old issue I have a cpp file, for which the extraction gives :


I import my attachment like this :


It works, the attachment is created fine, but when I open it from JIRA to my web browser, it's HTML not cpp. 

How can I indicate the mimeType at the time of import ?

When I extract the previously created issue, the attachment has a mimeType different from "text/plain".

I couldn't find anything in the import documentation about this problem.

Thanks in advance for any help.

1 answer

Can you at least tell me if this feature exists or not ? Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

56 views 1 3
Read article

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