diff --git a/src/AzureDevopsTracker.csproj b/src/AzureDevopsTracker.csproj index 83bc96a..3e82198 100644 --- a/src/AzureDevopsTracker.csproj +++ b/src/AzureDevopsTracker.csproj @@ -10,7 +10,8 @@ https://github.com/typinghard/azure-devops-tracker https://github.com/typinghard/azure-devops-tracker - adt_icon.png + README.md + adt_icon.png GitHub Azure DevOps Tracker Columns State Tracking Track Board Scrum Kanbam Time Column Timing Workitem Worked Hours Team Performance @@ -18,8 +19,8 @@ LICENSE.md.txt A NuGet that allows you to use a Azure DevOps Service Hook to track workitems changes in a simply and detailed way. 8.0.0.0 - 8.0.0 - 8.0.0 + 8.0.1 + 8.0.1 @@ -28,6 +29,9 @@ True + + + diff --git a/src/README.md b/src/README.md new file mode 100644 index 0000000..2c09247 --- /dev/null +++ b/src/README.md @@ -0,0 +1,46 @@ +To Talk with us, join our Discord: +[![Discord](https://img.shields.io/discord/901427875301974026?color=%235865f2&label=Join%20Typing%20Hard)](https://discord.gg/pbBNfNAYTH) + +For a Technology Team Manager, the process improvement in search of agility and productivity is indispensable. For that, data is very important. + + +However, for teams that use [Azure DevOps](https://dev.azure.com/) for managing their tasks, there isn't in-depth documentation about what happens to Work Items, and the available Azure DevOps Queries are limited. + +With **Azure DevOps Tracker**, it will be possible to obtain detailed information about the cycle time of each Work Item, as all data is automatically stored in your SQL Server Database. + + +The **Azure DevOps Tracker** brings automatically tracking of Workitems and will help managers with: +### Statistics: +✅ Of the Team + + ✅ From specific Team Members + + ✅ Total time per State + + ✅ Worked time per State + + ### Cycle time sampling of: + + ✅ An iteration or Sprint + + ✅ A Workitem + + ✅ A Project + +### Changelog: With Azure DevOps Tracker you can easily inform what was done by your team. Actually, we have integration with Microsoft Teams and Discord! + + ### Possibility to connect to a BI Tool 📊 + ### Your creativity is the limit! 🚀 + + +For instructions and examples, go to our [Wiki](https://github.com/typinghard/azure-devops-tracker/wiki). + - [English](https://github.com/typinghard/azure-devops-tracker/wiki/English) 🇺🇸 + - [Português](https://github.com/typinghard/azure-devops-tracker/wiki/Português) 🇧🇷 + + + +Azure DevOps project link example: +[Azure Devops - TypingHard](https://dev.azure.com/TypingHard/Typing%20Hard%20Project) + + + diff --git a/src/Services/AzureDevopsTrackerService.cs b/src/Services/AzureDevopsTrackerService.cs index 5f40371..16aafab 100644 --- a/src/Services/AzureDevopsTrackerService.cs +++ b/src/Services/AzureDevopsTrackerService.cs @@ -242,8 +242,8 @@ public static void AddWorkItemChange(WorkItem workItem, CreateWorkItemDto create public void AddWorkItemChange(WorkItem workItem, UpdatedWorkItemDto update) { - if (update.Resource.Fields.State is null) return; - if (update.Resource.Fields.StateChangeDate is null) return; + if (update?.Resource?.Fields?.State is null) return; + if (update?.Resource?.Fields?.StateChangeDate is null) return; var changedBy = update.Resource.Revision.Fields.ChangedBy ?? update.Resource.Fields.ChangedBy.NewValue; var workItemChange = ToWorkItemChange(workItem.Id,