solidify / jira-azuredevops-migrator

Tool to migrate work items from Atlassian Jira to Microsoft Azure DevOps/VSTS/TFS.
MIT License
261 stars 223 forks source link

Links Partially added to work item. #447

Closed adzz25 closed 9 months ago

adzz25 commented 2 years ago

Hello,

I download the latest version and I start a migration. But i am facing the same issue mentioned in #163

"When child item is getting imported first and missing to add link to parent item as it does not exist in Azure yet, but when the parent epic is getting imported, the link to child is not getting added as its JSON itself does not contain this link." I have some configs, logs and images that I can share and hopefully illustrate the issue.

I am also getting below notification in logs - Rendered field customfield_11801 contains unparsable type Null, using text

comment but no link) image

Configuration file used { "source-project": "FX", "target-project": "Target_Migration_AzDp", "query": "project = FX order BY key ASC", "workspace": "C:\Temp\JiraExport\", "epic-link-field": "Epic Link", "sprint-field": "Sprint", "using-jira-cloud": false, "download-options": 7, "batch-size": 20, "log-level": "Debug", "attachment-folder": "Attachments", "user-mapping-file": "users.txt", "base-area-path": "squad titan", "base-iteration-path": "migrated/squad titan", "ignore-failed-links": false, "process-template": "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"
}

] }, "type-map":{ "type": [

{ "source": "Feature", "target": "Feature" }, { "source": "Theme", "target": "Epic" }, { "source": "New Feature", "target": "Feature" }, { "source": "Slice", "target": "Epic" }, { "source": "Epic", "target": "Epic" }, { "source": "Story", "target": "Product Backlog Item" }, { "source": "Spike", "target": "Product Backlog Item" }, { "source": "OPEN", "target": "Product Backlog Item" }, { "source": "Bug", "target": "Bug" }, { "source": "Bug-task", "target": "Task" }, { "source": "Task", "target": "Task" }, { "source": "Kanban Item", "target": "Product Backlog Item" }, { "source": "Impediment", "target": "Impediment" }, { "source": "Improvement", "target": "Product Backlog Item" }, { "source": "Sub-task", "target": "Task" }, { "source": "General Task", "target": "Product Backlog Item" }, { "source": "User story", "target": "Product Backlog Item" },
{ "source": "Technical Task", "target": "Task" } ] }, "field-map": { "field": [ { "source": "summary", "target": "System.Title", "mapper": "MapTitle" }, { "source": "assignee", "target": "System.AssignedTo", "mapper": "MapUser" }, { "source": "description", "target": "System.Description" }, { "source": "priority", "target": "Microsoft.VSTS.Common.Priority", "mapping": { "values": [ { "source": "Blocker", "target": "1" }, { "source": "Critical", "target": "1" }, { "source": "Highest", "target": "1" }, { "source": "Major", "target": "2" }, { "source": "High", "target": "2" }, { "source": "Medium", "target": "3" }, { "source": "Low", "target": "3" }, { "source": "Lowest", "target": "4" }, { "source": "Minor", "target": "4" }, { "source": "None", "target": "4" }, { "source": "Trivial", "target": "4" } ] } }, { "source": "Sprint", "source-type": "name", "target": "System.IterationPath", "mapper": "MapSprint" }, { "source": "labels", "target": "System.Tags", "mapper": "MapTags" }, { "source": "comment", "target": "System.History" }, { "source": "status", "target": "System.State", "for": "Task", "mapping": { "values": [ { "source": "Approved", "target": "To Do" }, { "source": "To Do", "target": "To Do" }, { "source": "Open", "target": "To Do" }, { "source": "Closed", "target": "Done" }, { "source": "On Hold/Blocked", "target": "To Do" }, { "source": "ready for verification", "target": "To Do" }, { "source": "Ready for sprint", "target": "To Do" }, { "source": "verification", "target": "To Do" }, { "source": "verifying", "target": "To Do" }, { "source": "Analyzing", "target": "To Do" }, { "source": "analyzing for business case", "target": "To Do" }, { "source": "Prioritized", "target": "To Do" }, { "source": "Reopened", "target": "To Do" }, { "source": "Resolved", "target": "Done" }, { "source": "In Progress", "target": "In Progress" } ] } }, { "source": "status", "target": "System.State", "for": "Bug,Product Backlog Item", "mapping": { "values": [ { "source": "Accepting", "target": "Committed" }, { "source": "Analyzing", "target": "New" }, { "source": "analyzing for business case", "target": "New" }, { "source": "Closed", "target": "Done" }, { "source": "high level impacting", "target": "New" }, { "source": "In Progress", "target": "Committed" }, { "source": "On Hold/Blocked", "target": "Approved" }, { "source": "Open", "target": "New" }, { "source": "prepared for analysis", "target": "New" }, { "source": "Prioritized", "target": "New" }, { "source": "Prepared for high level analysis", "target": "New" }, { "source": "ready for acceptance", "target": "Committed" }, { "source": "ready for implementation", "target": "Committed" }, { "source": "ready for poker", "target": "Approved" }, { "source": "Ready for sprint", "target": "Approved" }, { "source": "Resolved", "target": "Done" }, { "source": "Reopened", "target": "New" }, { "source": "ready for verification", "target": "Committed" }, { "source": "Reviewing", "target": "Approved" }, { "source": "verifying", "target": "Committed" } ] } }, { "source": "status", "target": "System.State", "for": "Epic,Feature", "mapping": { "values": [ { "source": "Accepting", "target": "In Progress" }, { "source": "Analyzing", "target": "New" }, { "source": "analyzing for business case", "target": "New" }, { "source": "Closed", "target": "Done" }, { "source": "high level impacting", "target": "New" }, { "source": "In Progress", "target": "In Progress" }, { "source": "On Hold/Blocked", "target": "New" }, { "source": "Open", "target": "New" }, { "source": "prepared for analysis", "target": "New" }, { "source": "Prioritized", "target": "New" }, { "source": "Prepared for high level analysis", "target": "New" }, { "source": "ready for acceptance", "target": "In Progress" }, { "source": "ready for implementation", "target": "In Progress" }, { "source": "Ready for sprint", "target": "New" }, { "source": "ready for verification", "target": "In Progress" }, { "source": "Reviewing", "target": "New" }, { "source": "verifying", "target": "In Progress" } ] } }, { "source": "Story Points", "source-type": "name", "target": "Microsoft.VSTS.Scheduling.Effort", "not-for": "Task" }, { "source": "timeestimate", "target": "Microsoft.VSTS.Scheduling.RemainingWork", "mapper": "MapRemainingWork", "for": "Bug,Task" }, { "source": "description", "target": "Microsoft.VSTS.TCM.ReproSteps", "for": "Bug" },

{ "source": "customfield_10700", "target": "Microsoft.VSTS.Common.AcceptanceCriteria"

}

] } }

Logs : image

RoyalWulf commented 2 years ago

I have this same issue I have it with Epics and links to Jira sub tasks i brought this up in Discussion forum: https://github.com/solidify/jira-azuredevops-migrator/discussions/448#discussioncomment-2691405

Alexander-Hjelm commented 2 years ago

No immediate fix, but I have marked the issue as a bug, so likely we will look at it in the future.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 25 days with no activity.

Alexander-Hjelm commented 9 months ago

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