tfs2012 - TFS Macro for current Area/Team? -
tfs2012 - TFS Macro for current Area/Team? -
we've moved "single team project" way of working, , our different teams split different areas (because works us).
our urls http://tfsserver/projecta
, http://tfsserver//projectb
etc.. etc.. auto populates area, , makes sure work items go right place.
however, our queries simple each team. has led have query folders duplicate many of queries, scope downwards single areas, create sure that query targets right work items.
is there @currentteam macro can apply our queries prevent duplicating our queries?
we can't people problem can - or we're doing wrong.
no, there's no such thing right in tfs. predefined macros are: @project
, @me
, @today
. can create own macros when using tfs object model running queries there's no way in ui.
sample code:
var tpc = new tfsteamprojectcollection(new uri("http://localhost:8080/tfs/defaultcollection")); var store = tpc.getservice<workitemstore>(); query query = new query(store, "select * workitems system.areapath = @teamarea", new dictionary<string, string>() { { "teamarea", "<team area path>" } }); query.runquery();
tfs tfs2012 alm
Comments
Post a Comment