TFS API Part 48 – WorkItemControl And Bypass Work Item Rules

Wednesday, February 20, 2013

It’s been a while since I wrote about TFS API, not because there is no more about it is because I worked on Windows Store for the past couple of months so I didn’t had the time. More About TFS API So today post will be about two changes in TFS 2012, the first one is WorkItemControl based on WPF that replaced the WorkItemFormControl based on WinForms, the second will be about WorkItemStore bypass rule – Allowing you to save and change work item values without obeying the work item rules. Download Demo Project...

TFS API Part 47 (VS11) – Manage Iterations Dates

Monday, May 28, 2012

Tweet Over the last posts I talked about “TFS API Part 46 (VS11) – Team Settings”, in this post I’ll show how to get and change Iteration Dates from TFS API. We’ll show all Teams under a specific Team Project and once you click on a Team you will see its Iterations and Dates. Download Demo Project Step 1: Create Project and Add Reference Create an WPF application and add the following references: First add reference for: Microsoft.TeamFoundation.Build.Client ( Microsoft.TeamFoundation.Build.Common.dll  ( ...

TFS API Part 46 (VS11) – Team Settings

Wednesday, May 23, 2012

Tweet In the previous posts “TFS API Part 45 (VS11) – Modify Teams and Team Members” I talked about Teams, from getting all team to modify and creating new Team using TFS API. Now, Teams are more than just a “Security Group”, they hold specific settings such as relevant Areas/Iteration for that Team. The “Team” can be assigned to Backlog Iteration (Set as Team’s backlog Iteration), this takes all paths under that iteration and add them to the team backlog. You can also change the Iteration backlog to another path (not just the root), you just need at...

TFS API Part 45 (VS11) – Modify Teams and Team Members

Monday, May 21, 2012

Tweet In my previous post “Teams and Team Members”  I talked about new Service in TFS API called – TfsTeamService. Using this service we can control Teams and Team Members under TFS. We can create and remove Teams and Team Members using TFS API. I know this can be quite confusing but Teams in TFS are simply Group (Security Group), same as Contributors, Administrators etc. If you open Security tab under TFS Web Management you can see that there is two separate lists of Groups – Teams and TFS Groups, I’ll show how to separate between Teams and...

TFS API Part 44 (VS11) – Teams and Team Members

Sunday, May 20, 2012

Tweet TFS 11 comes with many great changes for software development, the first and super important is Teams, until TFS 11 Task work item or any other work item has to be assign to individual, means that you can’t assign a Task to a Scrum Team etc… So many people has built customize solution to handle this but no need! because TFS 11 comes with this great Feature! In TFS Web Management site you can add as many teams as you want under One Team Project. If your team works with Scrum then you should have...

TFS API Part 43–Delete Work Item Tool

Friday, April 6, 2012

Tweet In previous post - TFS API Part 21: Delete Work Item using WorkItemStore (Demo Application) I showed how to delete Work Items from TFS using TFS API. My problem was that it not easy to delete work items one by one so I decided to build a tool based on TFS Queries to allow me easily select the work items I want to delete. You can download executable from Here You can download Source Code from Here *** Deleting Work Item Action Is Not Recoverable *** Enjoy

TFS API Part 42 – Getting Started With Lab Management API

Thursday, December 22, 2011

Tweet I did some cool things lately with TFS Lab Management API, from connecting it to TFS Web Access and allow REST access to the lab (if you want to ask why – The customer is always right ). So this part of TFS API will deal with Lab Management API, although Lab Management API is not public I’ll show some cool things you can do but this will be under your own risk. Again, this is just the beginning of the Lab Management API, so let’s get started Download Demo Project Step 1:...

TFS API Part 41–Manage Groups and Members

Wednesday, December 7, 2011

Tweet In the past I’ve showed some examples on how to work with TFS IGroupSecurityService for getting users list, but you can do much more, Create new Group, Add or Remove users from group etc… TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010 TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) Download Demo Project Step 1: Connect To TFS and Get All Users and Projects As always we need to start with connecting to...

My Lecture at Munich ALM Days 2011

Monday, November 28, 2011

Tweet The conference was Amazing!!! I had great time in the conference with partners, customers and friends, I didn’t went to most of the lectures (Ich weiß nicht Deutsch spricht) but from the people who presented the presentation and the title there were plenty of interesting lectures. In my lecture I’ve talked about Applied Software Testing with Visual Studio 2010, I showed demos on Test Manager, Web Performance Test, Load Testing and of course Coded UI Testing. I’ve also talked about Migration from Quality Center to TFS 2010 using Scrat that includes everything from Requirements, Defects, Test...

TFS API Part 40–Build Service Host

Monday, November 14, 2011

Tweet First, what is the Build Service Host or IBuildServiceHost? The BuildServiceHost object represent the physical location of the Controller and/or Agent objects. The name property is usually the machine name that the Controller or Agent lives on. In earlier versions, this was simply the Machine Name property on the Agent. Now, I’m working with a customer works with Lab Manager and after upgrading the SCVVM and perform some port changes we faced an issue – The Build Service Host stuck in your server with no way to remove it. (there is no UI for Build Hosts) ...