1

With the latest TFS Server and Eclipse with TEE plugin (Team Explorer Everywhere) how to reference TFS work item when committing from within Eclipse?

We would like to gradually switch from TFVS to Git, that is supported in TFS now. But in Eclipse Commit dialog, there's no way select work item. I guess it should be extended by TEE.

As subquestion, it would be awesome to use git command line for that as well.

Related: 2 years old Reference TFS work item from code comment

Community
  • 1
  • 1
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
  • What's the detail mean of reference ? Did you just want to associate Work Items to check-in in a Git enabled repository when using TEE plugin or git command? – PatrickLu-MSFT Nov 23 '16 at 14:16

2 Answers2

1

When you add #1234 in the commit message they automatically get linked up to the work item. There is no pretty UI to find and associate the work items. That works both from the UI and from the git client e.g.:

git commit -m "Did some work fixed #1234"
jessehouwing
  • 106,458
  • 22
  • 256
  • 341
1

In Visual Studio Team Service and TFS 2013 above, Git commits can be linked to work items. By adding a mention to the commit comment in the form of “#ID” where ID is the work item ID ,es #437.

enter image description here

More details info you can refer this blog: Associate Work Items to check-in in a TF Service Git enabled repository

PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62