Skip to content

Commit

Permalink
Merge pull request #1096 from solidify/bugfix/fix-for-sprints-with-le…
Browse files Browse the repository at this point in the history
…ading-or-trailing-spaces

Remove leading and trailing spaces from sprint in MapSprint
  • Loading branch information
Alexander-Hjelm authored Jan 30, 2025
2 parents 4e30445 + 5c1a89b commit 3cd3f38
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ public static object MapSprint(string iterationPathsString)

iterationPath = ReplaceAzdoInvalidCharacters(iterationPath);

// Remove leading and trailing spaces, since these will be stripped by the Azure DevOps classification nodes Rest API
iterationPath = iterationPath.Trim();

return iterationPath;
}

Expand Down Expand Up @@ -311,4 +314,4 @@ private static string ReplaceAzdoInvalidCharacters(string inputString)
}
}

}
}

0 comments on commit 3cd3f38

Please sign in to comment.