tfs-workitem

How can I restrict a transition in the workflow to only the user that created the work item in TFS?

时光毁灭记忆、已成空白 提交于 2019-12-21 15:04:15
问题 This is part of a larger restriction, but the part that is tripping me up is being able to allow only the user that created a work item (the value of the "System.CreatedBy" field) to transition a work item to the Closed state. I am aware of how to restrict the transition using the "For" and "Not" clauses, but those are limited to groups. I want to restrict it to the specific creator of THIS work item. VALIDUSERS is also limited to groups (either TFS or AD). Thanks for your help. 回答1: I was

WIQL query to get all the team and the users in a Project?

北战南征 提交于 2019-12-20 07:43:51
问题 let's say i have a project name ="Scrum" and that has some users the project and got sprints so **i want dstinct users of the Project that the Sprints in Scrum **. image attached. 回答1: You can use also this code for teams: using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.Framework.Common; using Microsoft.TeamFoundation.ProcessConfiguration.Client; using Microsoft.TeamFoundation.WorkItemTracking.Client; using System; using System.Collections.Generic; using System.Linq;

how to get Task id,Feature id,Complete hrs by WIQL tfs by date?

会有一股神秘感。 提交于 2019-12-20 06:10:52
问题 how to get Task,Feature id,completed hours by date. lets say there is a task 123 in which was created on a sprint which start date is 1st July and end at 10th July task 123 effort hours is 5 completed hrs is 0 from 1-7-2018 and on 5th July effort is 3 hrs completed 2 hrs and on 10th July effort is 1 hr and completed is 4 hrs so how can i find task id,Feature id (by Tree WIQL) of date from 1st July to 5th July. 回答1: Based on your description, seems you want to get the history (revisions) for a

How can I open the TFS changeset details dialog view using a Visual Studio add-in?

爷,独闯天下 提交于 2019-12-18 11:59:43
问题 I have a specific artifact in TFS, say changeset "123", which has the URI "vstfs:///VersionControl/Changeset/123" . I realized that the link "http://tfs:8080/tfs/web/UI/Pages/Scc/ViewChangeset.aspx?changeset=123" will open the changeset detail view using the web-browser. What I would like to do is open the changeset detail view inside visual studio. The place where I am embedding this is a custom section inside the build summary. I implemented this custom section as a VisualStudio Plugin.

Is there a TFS query macro for the current iteration?

大城市里の小女人 提交于 2019-12-13 12:52:39
问题 Is there a way in TFS in VS2010 to specify that a particular iteration is the current one, and then return that for use in queries similar to the way @Project works? If not is there a way to do sub-queries in TFS work item queries? 回答1: I'm afraid that there is not such a macro. I personally just have a few "X in current iteration" team queries and then edit those queries to point to the new iteration path at the start of each iteration. 回答2: Looks like Microsoft listened. @CurrentIteration

how to get Task id,Feature id,Complete hrs by accessing TFS Warehouse by date in VS 2017?

时光怂恿深爱的人放手 提交于 2019-12-13 10:33:02
问题 how to get Task,Feature id,completed hours by date SQL SERVER QUERY . lets say there is a task 123 in which was created on a sprint which start date is 1st July(1.1.2018) and end at 10th July(10.7.2018) task 123 effort hours is 5 hrs. completed hrs is 0 and renaming hours is 5 hrs on 1-7-2018 <br/> and on 5th July effort is 5 hrs completed 2 hrs and Renaming hours is 3 hrs <br/> and on 10th July effort is 5 hr and completed is 4 hrs and Remaining hours us 1 hr <br/> so how can i find task id

How to readonly of the TFS work item field but not hidden

[亡魂溺海] 提交于 2019-12-12 12:41:10
问题 I added new work item to tfs. for example work item type: cab, states: new, active, closed. I added field and form element to form layout. for example customer note (type: string) added readonly field rule on active state in process template workflow. But it is hidden when I did'nt input text with change new to active. why? I want to visible my field even so I did not input data. how can I do? thanks 回答1: Here's the rules on ReadOnly fields for VS 2012 going forward. Note that this was NOT

Cannot create batch work items using batch operations in TFS

不羁的心 提交于 2019-12-12 05:15:36
问题 I am getting below errors while trying to create workitems with batch creation method Error 1 "Message":"No MediaTypeFormatter is available to read an object of type 'JsonBatchHttpRequest' from content with media type 'application/json-patch+json'." Error 2 {"count":1,"value":{"Message":"One or more errors occurred."}} I have referred to this documentation https://www.visualstudio.com/en-us/docs/integrate/api/wit/batch from Microsoft . and my question on stackoverflaw Create Large Amount of

Has any one used TFS AGGREGATOR for implementing below scenarios?

折月煮酒 提交于 2019-12-11 22:15:55
问题 When any child link is set to ACTIVE Parent should transit from "Proposed" to "Active" If any child is active under the parent, the parent work item will not be set to "Closed" unless all child's are set to Closed or resolved. 回答1: The first item is achievable with TFS Aggregator. Here's an example configuration you could use: <!--When any Tasks are In Progress set the parent (PBI) to In Progress --> <AggregatorItem name="Update InProgress" operationType="String" linkType="Parent" linkLevel=

Does Visual Studio Online support SOAP WorkItem change notification?

孤街浪徒 提交于 2019-12-11 21:02:57
问题 The reason I ask, is that I've set up a WCF service following the guidance out there (specifics below), and set up a SOAP notification in Visual Studio Online and my service doesn't appear to be called. IIS 8.5 Logs show no attempt to make contact with the service from VSO servers. In case it IS supported, here are relevant bits to see if I have something set up wrong on the service side. WCF Service - .NET 4.5.1 hosted as an Azure WebRole Contract and Implementation [ServiceContract