Do you link commits, branches, and PRs to a PBI?

Loading last updated info...

To improve visibility into what work has been done, link your PBIs and tasks to the related commits, branches, and pull requests. Every commit, branch, and PR should be associated with a PBI.

Image

❌ Figure: Bad example - No linked commits, branches or pull requests

Image

✅ Figure: Good example - Git branch linked to PBI in Azure DevOps

Using Azure DevOps

If you create branches through Azure DevOps, you can link them to a work item during the creation process.

Image

✅ Figure: Good example - Using Azure DevOps to link PBI during creation

Learn more on this article: Linking Work Items to Git Branches, Commits, and Pull Requests.

Automating rule enforcement

You can setup Branch Policies on your main branches to enforce this behaviour.

Image

✅ Figure: Good example - Branch Policy on the master branch to enforce linked work items on pull requests

Authors

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star