solidify / jira-azuredevops-migrator

Tool to migrate work items from Atlassian Jira to Microsoft Azure DevOps/VSTS/TFS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected migration error. [System.ArgumentNullException] System.ArgumentNullException: Value cannot be null. Parameter name: field

Kulziid opened this issue · comments

Describe the problem

Unable to get past this error message while running the export using the tool (Tool version : 3.0.350)
Error message: (log-level = debug)
[E][23:54:42] Unexpected migration error.
[System.ArgumentNullException] System.ArgumentNullException: Value cannot be null.
Parameter name: field
at JiraExport.LinkMapperUtils.AddRemoveSingleLink(JiraRevision r, List1 links, String field, String type, ConfigJson config) at JiraExport.JiraMapper.MapLinks(JiraRevision r) at JiraExport.JiraMapper.MapRevision(JiraRevision r) at JiraExport.JiraMapper.<>c__DisplayClass6_0.<Map>b__2(JiraRevision r) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at JiraExport.JiraMapper.Map(JiraItem issue) at JiraExport.JiraCommandLine.ExecuteMigration(CommandOption user, CommandOption password, CommandOption token, CommandOption url, CommandOption configFile, Boolean forceFresh, CommandOption continueOnCritical): at JiraExport.LinkMapperUtils.AddRemoveSingleLink(JiraRevision r, List1 links, String field, String type, ConfigJson config)
at JiraExport.JiraMapper.MapLinks(JiraRevision r)
at JiraExport.JiraMapper.MapRevision(JiraRevision r)
at JiraExport.JiraMapper.<>c__DisplayClass6_0.b__2(JiraRevision r)
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at JiraExport.JiraMapper.Map(JiraItem issue)
at JiraExport.JiraCommandLine.ExecuteMigration(CommandOption user, CommandOption password, CommandOption token, CommandOption url, CommandOption configFile, Boolean forceFresh, CommandOption continueOnCritical)
[I][23:54:42] Export complete. Exported 0 items (1 errors, 4 warnings) in 00:00:04.

I have checked my issues in Jira and cant seem to locate where the "value cannot be null" field.
I used the sample config file for scrum and edited a few items (like status) but everything i have there is on the Jiras am exporting.
I can connect t Jira, retrieve the correct number of items but the export fails on the first issue to be exported.
here is my config file
config-copy.json

error message when i change log-level to info image

Note: I have renamed the project names for privacy as this is on corporate level project