# Using Jira JSON Importer with ADF

**URL:** <https://community.developer.atlassian.com/t/using-jira-json-importer-with-adf/59797>\
**Category:** Jira Cloud\
**Tags:** atlassian-document-format, json, import, rest-api\
**Created:** [July 12, 2022, 12:10pm UTC](https://community.developer.atlassian.com/t/using-jira-json-importer-with-adf/59797 "2022-07-12T12:10:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon39599712](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anon39599712](https://community.developer.atlassian.com/u/anon39599712)\
**Post date:** [July 12, 2022, 12:10pm UTC](https://community.developer.atlassian.com/t/using-jira-json-importer-with-adf/59797/1 "2022-07-12T12:10:00Z")

</div>

Hello,

I am currently working on bringing data from elsewhere into Jira.  
For this I converted all old issues + custom fields to be Jira compatible apart from descriptions from within issues and comments. Those, I converted to the ADF format in hopes that I could use the Jira JSON Import Plugin to then import new issues using said format.

Sadly what ended up happening was that the importer will validate these descriptions or comment contents and deem them as “invalid” which in turn causes the import to fail.

I want to retain historic data and as such cannot just use the API which seems to support the Atlassian Document Format when editing/creating issues and comments. I need to use the importer for this.

I can also not use the importer with dummy text and then edit the API thereafter to use the Atlassian Document Format as that would alter the ticket and comment change history, which needs to remain as pristine as possible.

Is there any way to use the ADF in descriptions and comments using the Jira Import Plugin or edit an issue/comment via API without altering the last “edit” timestamp?

---

<div class="post-metadata">

**Author:** ![anon96974232](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anon96974232](https://community.developer.atlassian.com/u/anon96974232)\
**Post date:** [July 13, 2022, 1:41am UTC](https://community.developer.atlassian.com/t/using-jira-json-importer-with-adf/59797/2 "2022-07-13T01:41:38Z")

</div>

> [@Yan](#):
>
> Is there any way to use the ADF in descriptions and comments using the Jira Import Plugin or edit an issue/comment via API without altering the last “edit” timestamp?

Nope. An edit is an edit is an edit, and every edit is timestamped.

---

<div class="post-metadata">

**Author:** ![anon39599712](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anon39599712](https://community.developer.atlassian.com/u/anon39599712)\
**Post date:** [July 13, 2022, 9:19am UTC](https://community.developer.atlassian.com/t/using-jira-json-importer-with-adf/59797/3 "2022-07-13T09:19:38Z")

</div>

Well, it is what it is. Thanks for the response.

I found out that the v2 API also returns the Jira wiki syntax and the importer plugin (which is able to take timestamps on import seems to support it).

My plan is now to simply convert the stuff I want to import into the wiki syntax instead of ADF and use that instead. So I at least got a workaround for my issue ^^

Thanks!

---

<div class="post-metadata">

**Author:** ![anon96974232](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anon96974232](https://community.developer.atlassian.com/u/anon96974232)\
**Post date:** [July 13, 2022, 9:35am UTC](https://community.developer.atlassian.com/t/using-jira-json-importer-with-adf/59797/4 "2022-07-13T09:35:57Z")

</div>

No problem.

Yes, using certain v2 REST API endpoints does allow you to ‘switch back’ to supplying content with markdown formatting for those fields that support it.

Also, have a look at [JRACLOUD-77436](https://jira.atlassian.com/browse/JRACLOUD-77436) and [this thread](https://community.atlassian.com/t5/Jira-questions/convert-jira-ADF-formatted-description-in-HTML-format/qaq-p/1750152) and [this one](https://community.atlassian.com/t5/Jira-questions/Is-there-documentation-for-api-atlassian-com-pf-editor-service/qaq-p/1743002) for more discussion on ways of converting between markdown and ADF, and what methods and libraries can help now that the _pf-editor-service_ endpoint has been discontinued.
