2

I have a git repo in Azure DevOps Repos, I also have a test User Story set up. I want to set up user story to be linked to my commits automatically. Please help how to do it.

Thanks in advance.

1 Answer 1

3

In order to do that you need to add certain syntax to your commit messages. You need to add # followed by the work item number into the commit message. You can also add keywords like Fix or InProgress to update the user story via the commit message.

This documentation should get you started

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for the reply. I am using visual studio to commit codes. Could you please tell me how can I set up in visual studio. So that my commits automatically links to User Story.
It will be as simple as making sure that you always commit your code with the correct syntax (#ID) to link to the relevant user story, along with an option keyword to update the progress and optional commit text to explain the code changes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.