Jira JSON Import Custom fields History

Hello everyone,

I have problem when im trying to import issue history through JSON import.

Im creating JSON like this one:

    "history" : [
            "author" : "guest",
            "created": "2012-08-31T15:59:02.161+0100",
            "items": [
                    "fieldType" : "jira",
                    "field" : "Server",
                    "fromString" : "AAA",
                    "toString" : "BBB"

Field "Server" is custom field created by me
When i import this in JIRA issue in history tab shows the name of the field like this: "issue.field.server" and not "Server".  As "field" property i tried to set the ID of the field and also did not worked.
I have 2 questions:
1. What am i doing wrong?
2. the property fieldType shows what? is it posible that to be the problem?

2 answers

Supply 'custom' for 'fieldType' when referring to customfields. This works fine.

0 votes
Warren Levy Community Champion Aug 11, 2017

Hi David

It's probably a dumb question, but are you POSTing this to an issue? i.e. you're adding to the ticket history from outside of Jira? If so, why?

HI, im working on a migration from mantis to jira, by creating a json and importing it to JIRA through JIRA REST API JSON import.
Every issue has all data needed but the only place it fails is this one.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,950 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot