This repository has been archived by the owner on May 8, 2023. It is now read-only.
Commit Message is removed if referencing DevOps Work Item from different Project or that does not exist #19
Labels
kind/bug
Something isn't working
Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.
Prerequisites
The bug
in Azure DevOps, If a work item is linked to a code commit through any of these methods:
(https://octopus.com/docs/managing-releases/issue-tracking/azure-devops#how-azure-devops-integration-works)
If the Work Item is located in a different project, or if the Work Item doesn't exist (method 3 above only), then the entire commit message is stripped when the Metadata is pushed to the Octopus Deploy server.
What I expected to happen
If the Work Item does not exist then the "#XX" should appear but not as a link within Octopus. If the Work Item exists in another project, the link should still appear.
Steps to reproduce
Git Commit -m "Fixing issues Active directory users cannot log in after 1.6 to 2.0 migration Issues#456 and Variables can no longer be filtered Issues#457"
The Work Items don't exist in the api for the release either.
Screen capture
2.2.8 was committed with
git commit -m "#6 just another Issue To Do"
2.2.9 was committed with
git commit -m "#6 OctopusDeploy/Issues#7 more issues to fix"
Work Item OctopusDeploy/Issues#7 existed in a different project.
Affected versions
Tested against the latest cloud version. (v. 2020.2.11)
Links
Discovered when investigating the following: OctopusDeploy/OctoTFS#179
The text was updated successfully, but these errors were encountered: