Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

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

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

...