Hopefully the title says it all. I've retrieved the results of adhoc queries using the WorkItemStore.Query() method and created Query objects via the new syntax. However after examining the object model for Query objects, QueryFolders, QueryItems…
I'm trying to run this query and it keeps throwing a TF51005 The query references a field that does not exist. Caused by the [Microsoft.VSTS.Common.Severity], I don't know how i'm suppose to pull the severity
select [System.Id],…
I create a query in TFS 2013 as follows:
Choose "Work Items and Direct Links" instead of "Flat List"
Team Project = @Project
Remove all other clauses for source work item.
Remove all "Filters for linked work items"
Select radio button "Return all…
I found this:
https://msdn.microsoft.com/en-us/library/ms244668(v=vs.90).aspx
But I think that may be in regards to the database copy or something?
I just need to know if there is a way I can get a list of all the valid fields that can go into a…
I try to create a WIQL query that compares field contents of a work item and its related (linked) work items, e.g. where the 'state' of the work item is different from the 'state' of the related work item.
SELECT [System.Id], ... FROM WorkItemLinks…
Here's my current code to return all the TFS Test Case work items that have attachments, from a specific project:
public IEnumerable TestCasesWithAttachments(ITestManagementTeamProject project)
{
return
…
We are following Scrum process and I want to calculate how many PBIs were actually considered or added during each iteration of release? For e.g. on day 1 of Iteration1 I have 10 PBIs and added 5 more till last day of Iteration 1. So I should get…
I wanted to access TFS data via TFS API and WIQL using a custom field in WIQL where clause:
string wiqlQueryDoorsProxy =
"Select * from WorkItems where ([Work Item Type] = 'DoorsProxy' AND [Object Id] = '\" + requirementId + "\')";
where [Object…
We are using TFS2010.
We have a solution - developed by IBM - that synchronizes data between DOORS and TFS. This solution has created proprietary work items (DoorsProxy) with some proprietary fields DoorsTool.DoorsArtifactType.Module.
I think this…
I'd like to use the TFS Java API to run WIQL queries on the workitemlinks. I know how to fetch WorkItems via the WorkItemClient, but it seems to be missing the functionality to fetch WorkItemLinks.
On the other hand, client.supportsLinkQueries()…
We use the TFS Java API to fetch WorkItems from a TFS server:
TFSTeamProjectCollection collection = TFSTeamProjectCollectionUtils
.openTeamProjectCollection(serverUrl, credentials,
new…
I'm creating a query using the SDK for Java.
I want to get the ID from 2 days ago until today.
String wiqlQuery = "Select ID from WorkItems where System.ChangedDate >= @Today-2";
WorkItemCollection workItems = workItemClient.query(wiqlQuery);
I've…
Code snippet:
string WIQL = "SELECT * FROM WorkItems WHERE [System.AssignedTo] = @Me AND [System.State] <> '400 CLOSED' ORDER BY [System.WorkItemType], [System.Id]";
List w = getWorkItemsAsList(_workItemStore.Query(WIQL));
I have found…
I am trying to build a tfs query, which will return only the topmost items that are assigned to me.
Examples:
UserStory (US) is assigned to me and contains tasks that are assigned
to me => query returns only the US
US is assigned to someone…