Skip to content

C#

Remove link between work items with Azure DevOps API

Today I was asked to build the Azure Function which removes existing link between work items from Azure DevOps. Azure DevOps documentation has an example about this method call, but the documentation itself is quite thin.

To delete only certain type of link we need to first load the work item from Azure DevOps and then try to find the index of link we want to delete. When loading work …

Setup StyleCop for .NET Core project

StyleCop is awesome tool for big, long running projects where coding style should be congruent. It’s easier to let tool check for naming convention, amount of empty lines and empty catch blocks, than go through these things all the time in code reviews.

In history StyleCop was run with it’s own Visual Studio plugin, but now when .NET can be written in Visual Studio Code, Visual Studio or in almost …

Integrate Azure DevOps with… itself

Azure DevOps offers quite customizable work item flow with custom work item cards, rules and processes, but sometimes you want something extra, that built-in solutions cannot give you.

One of the case is to update parent work item when child work item updates. For example when all the tasks are moved to closed state, the user story should be closed also. Currently there is no built-in way to achieve this, …