aspnet/AspNetWebHooks

[WebHooks.Receivers.VSTS] WorkItemUpdatedFields is limited to a few predefined system fields

aspnet-hello opened this issue · 3 comments

From @NenoLoje on Sunday, June 11, 2017 2:22:10 PM

This issue is for: Microsoft.AspNet.WebHooks.Receivers.VSTS

The WorkItemUpdatedFields class has 9 fields defined.

VSTS offers many more fields (system and custom ones) that could be part of this event as well. This does not seem to be implemented currently.

Questions:

  1. How can I access other custom fields? Any plans to extend this class?
  2. Would you be willing to accept PRs for other built-in system fields (like `System.IterationPath``)?

Thanks,
--Neno

Copied from original issue: aspnet/WebHooks#143

From @dougbu on Tuesday, November 28, 2017 3:19:54 PM

Suggest binding to a JObject and using the WebHookReceiverContext to get that type.

From @danroth27 on Tuesday, December 12, 2017 3:01:14 PM

We should look at improving this experience for ASP.NET Core as part of #182

From @dougbu on Tuesday, January 16, 2018 3:11:50 PM

Pending work on #182, marking this up-for-grabs and putting it into the Backlog. If someone has VSTS fields e.g. @NenoLoje's System.IterationPath they would like to add, send a PR.