Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sprint details are not imported in JSON importer

Madhura A S
Contributor
November 8, 2018

Hi,

I am importing a project from production instance into backup instance for archival purpose.

When i used json importer everything is getting imported but sprint details are not getting imported. 

I have followed the below steps

  • Exported the issues from production instance in JSON format
  • importing it into backup instance using REST api https://<my-jira-url>/rest/jira-importers-plugin/1.0/importer/json
  • I logs i could see "2018-11-08 23:32:21,647 WARN - Cannot add value [ [{id=6414, rapidViewId=1000, state=ACTIVE, name=Ready Player One, startDate=1541455478496, endDate=1542665040000, sequence=6414, goal=To be able to go into the editor and compose a basic article with a headline., future=false, active=true, closed=false}] ] to CustomField Sprint in Issue with summary 'Get  Style doc from Design team & get selectors for the editor'. Probably value was in incorrect format"
  • In json file which i'm importing sprint details is as follows

{
"fieldName" : "Sprint",
"fieldType" : "com.pyxis.greenhopper.jira:gh-sprint",
"searcherType" : "com.pyxis.greenhopper.jira:gh-sprint-searcher",
"value" : [ {
"id" : 6414,
"rapidViewId" : 1000,
"state" : "ACTIVE",
"name" : "Ready Player One",
"startDate" : 1541455478496,
"endDate" : 1542665040000,
"sequence" : 6414,
"goal" : "To be able to go into the editor and compose a basic article with a headline.",
"future" : false,
"active" : true,
"closed" : false
}

 

Please help me find where i am going wrong.

 

Regards,

Madhura

0 answers

Suggest an answer

Log in or Sign up to answer