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

This widget could not be displayed.

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

This widget could not be displayed.
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 Sign up to answer
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

88 views 0 2
Read article

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