Description
Hi I am running into an issue similar to the following but was not able to find the solution
- [System.ArgumentNullException] System.ArgumentNullException: Value cannot be null. Parameter name: key #688
- Unexpected migration error. [System.ArgumentNullException] System.ArgumentNullException: Value cannot be null. Parameter name: field #980
- Issue in Curl Command while preforming the Jira to ADO Migration. #1080
The export process goes well until it hits an unexpected migration:
[I][01:02:02] Connecting to Jira...
[I][01:02:02] Retrieving Jira fields...
[I][01:02:02] Retrieving Jira link types...
[D][01:02:02] Get item count using query: 'project = DEV AND status = Done AND assignee = 712020:313bb74c-3fd7-452c-b208-3974327dbd55 AND type IN (Bug, Story) ORDER BY created DESC'
[I][01:02:03] Export started. Selecting 29 items.
[W][01:02:03] Epic link field missing for config field 'Epic Link'.
[I][01:02:03] Initializing Jira field mapping...
[D][01:02:03] Enumerate remote issues
[I][01:02:03] Processing 1/29 - 'DEV-699'.
[D][01:02:04] Downloaded item.
[D][01:02:04] Rendered field issuetype contains unparsable type Null, using text
[D][01:02:04] Rendered field project contains unparsable type Null, using text
[D][01:02:04] Rendered field resolution contains unparsable type Null, using text
[D][01:02:04] Rendered field workratio contains unparsable type Null, using text
[D][01:02:04] Rendered field customfield_10020 contains unparsable type Null, using text
[D][01:02:04] Rendered field priority contains unparsable type Null, using text
[D][01:02:04] Rendered field customfield_10019 contains unparsable type Null, using text
[D][01:02:04] Rendered field assignee contains unparsable type Null, using text
[D][01:02:04] Rendered field status contains unparsable type Null, using text
[D][01:02:04] Rendered field attachment contains unparsable type Array, using text
[D][01:02:04] Rendered field summary contains unparsable type Null, using text
[D][01:02:04] Rendered field creator contains unparsable type Null, using text
[D][01:02:04] Rendered field reporter contains unparsable type Null, using text
[D][01:02:04] Rendered field customfield_10000 contains unparsable type Null, using text
[D][01:02:04] Downloaded issue: DEV-699 changelog.
[D][01:02:04] Created 10 history revisions.
[D][01:02:04] Mapping revision 0.
[D][01:02:05] Downloaded attachment '11883/image-20250312-131520.png'
[D][01:02:05] Downloaded attachment '11886/image-20250312-150133.png'
[D][01:02:05] Mapped value '[DEV-699] "Product" is missing from the results pages' to field 'System.Title'.
[D][01:02:05] Mapped value '3' to field 'Microsoft.VSTS.Common.Priority'.
[D][01:02:05] Mapped value 'New' to field 'System.State'.
[E][01:02:05] Unexpected migration error.
[System.ArgumentNullException] System.ArgumentNullException: Value cannot be null. (Parameter '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.SelectListIterator
2.ToList()
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.<Map>b__2(JiraRevision r) at System.Linq.Enumerable.SelectListIterator
2.ToList()
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][01:02:05] Export complete. Exported 0 items (1 errors, 1 warnings) in 00:00:03.
Any ideas on where to begin troubleshooting for this? From what I can see, this is related to some kind of link field not being found on the JIRA project, but the logs don't specify which one.
I've also attached a version of the config.json file
with sensitive names removed.
Thanks in advance.