@@ -33,12 +33,12 @@ public class WorkItem
3333{
3434 public int Id { get ; set ; }
3535 public int Rev { get ; set ; }
36- public Fields Fields { get ; set ; } = new ( ) ;
36+ public WorkItemFields Fields { get ; set ; } = new ( ) ;
3737 public Relations [ ] Relations { get ; set ; } = [ ] ;
3838 public string Url { get ; set ; } = string . Empty ;
3939}
4040
41- public class Fields
41+ public class WorkItemFields
4242{
4343 [ JsonPropertyName ( "System.AreaPath" ) ]
4444 public string SystemAreaPath { get ; set ; } = string . Empty ;
@@ -70,12 +70,14 @@ public class Fields
7070 public IdentityRef SystemAssignedTo { get ; set ; } = new ( ) ;
7171 [ JsonPropertyName ( "System.BoardLane" ) ]
7272 public string SystemBoardLane { get ; set ; } = string . Empty ;
73+ [ JsonPropertyName ( "System.Tags" ) ]
74+ public string SystemTags { get ; set ; } = string . Empty ;
75+ [ JsonPropertyName ( "System.Rev" ) ]
76+ public int SystemRev { get ; set ; }
7377 [ JsonPropertyName ( "Microsoft.VSTS.Scheduling.RemainingWork" ) ]
7478 public float MicrosoftVSTSSchedulingRemainingWork { get ; set ; }
7579 [ JsonPropertyName ( "Microsoft.VSTS.Common.Priority" ) ]
7680 public float MicrosoftVSTSCommonPriority { get ; set ; }
77- [ JsonPropertyName ( "System.Tags" ) ]
78- public string SystemTags { get ; set ; } = string . Empty ;
7981 [ JsonPropertyName ( "Microsoft.VSTS.TCM.Steps" ) ]
8082 public string MicrosoftVSTSTCMSteps { get ; set ; } = string . Empty ;
8183 [ JsonPropertyName ( "Microsoft.VSTS.TCM.Parameters" ) ]
@@ -86,6 +88,12 @@ public class Fields
8688 public string MicrosoftVSTSTCMAutomationStatus { get ; set ; } = string . Empty ;
8789 [ JsonPropertyName ( "Microsoft.VSTS.Common.AcceptanceCriteria" ) ]
8890 public string MicrosoftVSTSCommonAcceptanceCriteria { get ; set ; } = string . Empty ;
91+ [ JsonPropertyName ( "Microsoft.VSTS.Common.StateChangeDate" ) ]
92+ public DateTime MicrosoftVSTSCommonStateChangeDate { get ; set ; }
93+ [ JsonPropertyName ( "Microsoft.VSTS.Common.ActivatedBy" ) ]
94+ public IdentityRef MicrosoftVSTSCommonActivatedBy { get ; set ; } = new ( ) ;
95+ [ JsonPropertyName ( "Microsoft.VSTS.Common.ActivatedDate" ) ]
96+ public DateTime MicrosoftVSTSCommonActivatedDate { get ; set ; }
8997}
9098
9199public class Relations
0 commit comments