...
\uD83E\uDD14 Problem
Items can't be synchronized from Azure DevOps / TFS to Jira because their Title system field contains newline characters.
The most common error is usually related to the /n
newline character. Still, other newline characters in the Title system Azure DevOps field can stop the synchronization to Jira.
Scripting executions that automatically create workitems in Azure DevOps can cause this issue.
e.g. Log errors:
Code Block |
---|
ERROR Initial.InitialSynchronizationTfsToJiraService - SpartezSoftware.Synchronizer.Exceptions.SynchronizationException: Error creating Jira issue from work item #116412 of Bug type which is in Closed state ---> System.Exception: Error creating Jira issue from work item #116412 of Bug type which is in Closed state ---> System.Net.Http.HttpRequestException: Request failed - BadRequest () - Errors: {
"summary": "The summary is invalid because it contains newline characters." |
Code Block |
---|
SpartezSoftware.Synchronizer.Exceptions.SynchronizationException: Error creating Jira issue from work item #33495 of Task type which is in Done state ---> System.Exception: Error creating Jira issue from work item #33495 of Task type which is in Done state ---> System.Net.Http.HttpRequestException: Request failed - BadRequest (Bad Request) - Errors: {
"summary": "The summary is invalid because it contains newline characters."
} |
\uD83C\uDF31 Solution
Ensure that the 'Title' Azure field is mapped to the 'Summary’ Jira field.
Check if there are or were any plugins/scripts filling the ‘Title’ Azure field.
Copy and paste the title for the workitem again as plain text (no format).
\uD83D\uDCCE Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|