Skip to end of banner
Go to start of banner

TFS4JIRA | The summary is invalid because it contains newline characters.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

\uD83E\uDD14 Problem

Items can't be synchronized from Azure DevOps / TFS to Jira because their title contains newline characters.

e.g. Newline characters:

(“
n”, “
r“)

e.g. Log errors:

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."
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

  1. Ensure that the 'Title' Azure field is mapped to the 'Summary’ Jira field.

  2. Check if there are or were any plugins/scripts filling the ‘Title’ Azure field.

  3. Copy and paste the title for the workitem again as plain text (no format).

If the issue persists after the provided solution, please contact support. We’ll happy to help.

  • No labels