jira-azuredevops-migrator icon indicating copy to clipboard operation
jira-azuredevops-migrator copied to clipboard

Getting error when wi-import if an Epic in JIRA linked by issue

Open shankar5885 opened this issue 4 years ago • 10 comments

Capture

Error: [E][16:10:59] '[Added] PROJ-4/-1->PROJ-8/-1 [System.LinkTypes.Hierarchy-Reverse]' - target work item for Jira 'PROJ-8' is not yet created in Azure DevOps/TFS. [W][16:10:59] ''PROJ-4', rev 0' - not all changes were saved.

Capture2

link-map in config-scrum: "link-map": { "link": [ { "source": "Epic", "target": "System.LinkTypes.Hierarchy-Reverse" }, { "source": "Parent", "target": "System.LinkTypes.Hierarchy-Reverse" }, { "source": "Relates", "target": "System.LinkTypes.Related" }, { "source": "Duplicate", "target": "System.LinkTypes.Duplicate-Forward" } ]

Thank you.

AB#5954

shankar5885 avatar Sep 13 '20 11:09 shankar5885

@shankar5885 Hi, try to add { "source": "Child", "target": "System.LinkTypes.Hierarchy-Forward" } to you're link mapping configuration

madkoo avatar Oct 19 '20 14:10 madkoo

Hi @madkoo , Thank you for reply, Still i am getting same error image

Please find updated link mapping config in my config-scrum.json "link-map": { "link": [

  { "source": "Child", 
    "target": "System.LinkTypes.Hierarchy-Forward" 
  },
  {
    "source": "Epic",
    "target": "System.LinkTypes.Hierarchy-Reverse"
  },
  {
    "source": "Parent",
    "target": "System.LinkTypes.Hierarchy-Reverse"
  },
  {
    "source": "Relates",
    "target": "System.LinkTypes.Related"
  },
  {
    "source": "Duplicate",
    "target": "System.LinkTypes.Duplicate-Forward"
  }
]

}

shankar5885 avatar Oct 21 '20 12:10 shankar5885

Hi, I am getting the same error. Has this been fixed? Cheers

RoyalWulf avatar Apr 13 '22 05:04 RoyalWulf

@RoyalWulf if this is indeed a bug, then no fix has been worked on yet to my knowledge.

I’m wondering if perhaps you have links to issues in other projects? Or otherwise links to issues that are outside of the migration svope? Could that be the problem?

Alexander-Hjelm avatar Apr 13 '22 05:04 Alexander-Hjelm

@RoyalWulf if this is indeed a bug, then no fix has been worked on yet to my knowledge.

I’m wondering if perhaps you have links to issues in other projects? Or otherwise links to issues that are outside of the migration svope? Could that be the problem?

Hi, Thank you for your quick reply. The issue is in the same project and in scope of the migration. I am migrating the whole project.

I have lots of these errors with issues linked to Epics. It seems that issues created before the Epic is a problem

RoyalWulf avatar Apr 13 '22 05:04 RoyalWulf

Is it possible to do the migration in 2 steps? First the epics and then the issues? As a workaround got now

Alexander-Hjelm avatar Apr 13 '22 05:04 Alexander-Hjelm

will try that

RoyalWulf avatar Apr 13 '22 06:04 RoyalWulf

Closed issue with the completion of #917. Please reopen this issue and @ me if the problem persists.

Alexander-Hjelm avatar Nov 27 '23 19:11 Alexander-Hjelm

I just downloaded the latest release and am still hitting that same error.

jdshkolnik avatar Dec 02 '23 00:12 jdshkolnik

@jdshkolnik

Could you provide any additional information? Log files, configuration file and the relevant exported .json files would be helpful!

Alexander-Hjelm avatar Dec 02 '23 06:12 Alexander-Hjelm