Open TKallem opened 5 months ago
Something likely is not working as expected with the Array mapper. All of the above repro steps are really helpful in troubleshooting this issue, so thanks for that!
Marking as a bug.
Have you tried to omit the following line in your field map?
"source-type": "name",
Hi @Alexander-Hjelm ,
Haven't tried omitting the source-type but I have commented out a line of code in MapArray method where its checking for null and throwing the exception and added a line to return null. It seems to work fine for me now.
Thanks, Thiru
Hum, ok! Good catch. It feels like there might be a deeper underlying issue to this, so we might not want to create a PR with your fix right away.
Have you noticed anything about under what conditions the Array-type field becomes null
?
Describe the problem
I am trying to export Components field for Jira issues. In some issues, the components field value set from a value to null/empty/none in one of the revisions.
However when exporting the Components field, its failing to map the None value and produces the following error. [E][11:48:36] Error mapping field 'Custom.Components' on item 'DSPUBI-2133'. [System.ArgumentNullException] System.ArgumentNullException: Value cannot be null.
To Reproduce
Steps to reproduce the behavior:
Tool version
Attachments
Please attach the following files:
jira-export-log-240613-114833.txt config-agile.json
Screenshots