Import attachments for comments with JSON Import


I working now to migrate unfuddle tikets to JIRA and is working with some limitations:

1) I need to create associated tickets (Not sure if is possible on import when not all issues are created)

2) I have attachments only for issues and I looking to have also for comments.

 Documentations don't have any detail about that:

BTW: Source code have bad formating and copy & paste don't work. 

Here is current issue JSON format.

// JSON for issue 
          "externalId": "3927",
          "issueType": "Task",
          "summary": "Feature:  Be able to disable providers ...",
          "priority": "High",
          "attachments": [
              "name": "Capture.PNG",
              "attacher": "dalleave",
              "created": "2015-07-01T14:36:59Z",
              "uri": "",
              "description": "Capture.PNG"
         "comments": [
              "author": "andrey",
              "body": "in progress. Mihail will continue Monday\n",
              "created": "2015-06-28T01:39:30Z"
               // How to put attachments here in comment? 


Thanks for help!



1 answer

Hi Petrica.

I've never use JSON importing, but in CSV importing, you can use 2 fields to link issues and to create sub-tasks.

  • In your file you should use 2 additional columns whose headings should be named similarly to Issue Id and Parent Id.
  • Ensure each regular (non sub-task) issue is given a unique (sequential) number in the Issue Id column. Do not include any value in the Parent Id fields for regular issues.
  • To create a sub-task of a regular issue (or to link an issue with other) in your file, reference the unique Issue Id number of the regular issue in the Parent Id column. Do not include any value in the Issue Id fields for sub-tasks

Hope this be usefull for you!


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

247 views 6 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you