I need a fast way to get a list of links filtered by the link comment.
Have a code:
var linkCommentFilter = "Some link comment";
const string queryString = @"SELECT [System.Id]
FROM workItemlinks
…
I have created a query in TFS interactively using the web interface. Now I want to get the WIQL that it is using.
The only way I know how is to call the RESTful api, and pass $expand=wiql. Is there an easier way? Ideally from the interactive web…
Retrieving User Stories assigned to me
WorkItemStore _WorkItemStore = (WorkItemStore) __ProjectCollection.GetService(typeof(WorkItemStore));
String _Query = @"SELECT [System.Id] FROM WorkItems where [Assigned to] = @Me AND…
I would like to create a team query for our TFS users that shows all task items where the sum of the [hours remaining] and [hours completed] fields exceed the [original estimate] value.
Now Whilst I can add a clause to the WIQL that compares one…
We are using TFS2010 for source control, the source repository has 3 main branches; MAIN, REL and DEV
Consider this scenario:
Several developers are working in the REL branch (fixing shipping issues). As they work their changes are checked into the…
I had written code in PowerShell to get the workitems of an area of a project by wiql.
$token = "PAT"
$url="https://dev.azure.com/Organizationname/_apis/wit/wiql?api-version=5.1"
$token =…
I'm using WIQL to query for a list of work items in Azure DevOps. However, Azure DevOps will return a maximum of 20000 work items in a single query. If the query results contain more that 20000 items, an error code is returned instead of the work…
I am trying to create a search query to search for TFS items that are in Refinement from a TFS board and am stuck with that.
Basically I want to be able to add a badge of amount of work items that are currently being displayed in the Refinement…
Using TFS (hosted), I'm trying to create a query to show some stats about the top 100 product backlog items.
I can add a condition to filter by the "Backlog Priority" field, but these numbers are arbitrary and the query would require constant…
I am building an email report about VSTS work items where I have some links that should open VSTS queries. The WIQL query is passed as part of the hyperlink URL, see the following link:
Define a query as a hyperlink
I pass the DateTime as date and…
Using the Azure API's, I am able to get the content of an attachment using:
GET https://dev.azure.com/fabrikam/_apis/wit/attachments/{id}?api-version=4.1
This assumes you know the guid (id) of the attachment you wish to download.
What I am trying to…
I need some help filtering a SQL WIQL query. How can I modify the code below to ignore the fields that have empty model values? For example if the user only wants to filter one field like the work item type and ignore the state field? Any help would…
i want to get all the users with there Iteration in a project.
Lets say Project 'Precient' has 9 distinct users with 20 iteration so i want distinct users with all the Iteration in the project WIQL C#.it's related to the Question.
WIQL query to get…
I have an id and I want to know if has a parentid or not by C# coding for TFS. In my TFS board there are many user stories that do not include a Feature ?
My hierarchical structure in TFS is as follows:
Feature
--->User Stories(u1,u2,u3)
--->Tasks…
i have a hiearchial strurcture in TFS like this
where a 1 Feature can have 'N' number of Product backlog items and single product Product backlogitem can have 'N' number of task/bugs
tree structure
Feature1->
PB1->
…