Code Monkey home page Code Monkey logo

Comments (7)

AlexRukhlin avatar AlexRukhlin commented on May 22, 2024 3

Hi,

You might add a work item mention (in form #nnnnnnn where nnnnnnn is the work item ID) somewhere in the commit's comment.

e.g.

This commit fixes the issue described in the bug #31415

or

Tasks #271828, #31415, and #98066 are completed with this commit

That mentions are processed on the server and commits will be associated with the corresponding work items. Would that help you?

Alex

from azure-repos-vscode.

jeffyoung avatar jeffyoung commented on May 22, 2024 1

Hi @millicandavid.

Have you seen the information on branch policies? That documentation doesn't talk about it but, in my Team Services account, there's a policy for "Work item linking requirements":

image

I've not used that particular feature but perhaps it's what you're looking for?

from azure-repos-vscode.

millicandavid avatar millicandavid commented on May 22, 2024

Sorry but I think I didn't make what I was requesting clear enough. What I want to be able to do is associate my git commit with a Team work item when I make the commit. In VS 2015 the option is there when you go to make a commit. I just haven't seen how to do it in VS Code or in this plugin. So my team wants to do what you are pointing to but I want to be able to comply with that policy within VS Code. Does that make sense?

from azure-repos-vscode.

millicandavid avatar millicandavid commented on May 22, 2024

Yes Alex, I'm an idiot. Thanks. I can't believe I'd forgotten this. Please ignore my request.

from azure-repos-vscode.

viveksharan avatar viveksharan commented on May 22, 2024

Alex, I Used Source Tree to add the Commit Comment and added the #ID in the comment.

When I go to https://myproject.visualstudio.com and pul up the issue #ID, I still do not see anything linked associated to that work Item.

Any ideas if I am doing something wrong or if this scenario will work ?

from azure-repos-vscode.

mayeager22 avatar mayeager22 commented on May 22, 2024

I am in VSTS with Visual Studio 2017. I put #3 in a commit comment, but did not see the link in User Story #3. Did something get broken with this functionality?

from azure-repos-vscode.

kaylangan avatar kaylangan commented on May 22, 2024

@mayeager22 please refer to #314

from azure-repos-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.