Error mapping Jira number custom field to Integer field type in Azure
Problem
Having the following mapping in TFS4JIRA and getting the below error in the TFS4JIRA logs.
Mapping a Jira number field to an ADO integer field
The following error type is unknown for analytics: 'Error mapping Jira customfield_XXXXX field value to TFS Microsoft.VSTS.Common.BusinessValue field value: The input string is in the wrong format.'Solution
This error happens because it is possible to add dots '.' and coma ' , ' to the Jira type ‘number' custom field; however, this won’t be the correct format for the 'integer’ Azure DevOps custom field type in which only numbers can be added.
Jira Number field type
ADO Integer field type
To solve this, the Azure DevOps fields of type Integer should be mapped to a Jira text field (single line) instead of a ‘number’ Jira-type custom field.
This error can occur in TFS4JIRA Self-Hosted and TFS4JIRA Cloud Native.