Using a Version Label in a WorkItem

Within the original workItem ChangeRequest that ships w/ MSF for CMMI Process Improvement there is a field:

<!-- **************** Build Integration Fields ******************************************* -->

<FIELD name="Integration Build" refname="Microsoft.VSTS.Build.IntegrationBuild" type="String" reportable="dimension">

<HELPTEXT>The build in which the change request was completed</HELPTEXT>

<SUGGESTEDVALUES>

<LISTITEM value="None"/>

</SUGGESTEDVALUES>

</FIELD>

This field allows you to select any Build Labels associated with the prjoect the workItem was created under. Any one know of or a similar field that would allow me to display a drop-down list of Labels from SourceControl?

<FIELD name="Test Version Label" refname="Microsoft.VSTS.VersionControl.Label" type="String">

<SUGGESTEDVALUES>

<LISTITEM value="None" />

</SUGGESTEDVALUES>

</FIELD>

I thought the above ref might work, but doesn't appear to be doing the trick. Curious if this is possible, do I have the refName wrong or what.

Thanks,
Kel

[1322 byte] By [KelKoenig] at [2007-12-24]
# 1
I am not aware of any such field to display label from Version Control - I don't think it is possible.
MohammadIqubal-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...
# 2

This refname, as far as I know, are just names to refer to this fields internally, from the API, from reports, etc, but doesn't have anything to do with get "automatically" data from the server, this one which gets info of the integration builds, is just getting the list of builds from a Global List, not from the build store (as before if I remember correctly), so there is no way to do it automatically with the labels.

But you can do the same trick, which is every time you label somthing, add this label to a Global List, and create a field which its list of possible values are get from this global list.

I also recommend you to use Process Template Editor from Imaginets, which will make easier editing the templates.

LuisFraile at 2007-8-31 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...

Visual Studio Team System

Site Classified