WorkItem more more
This commit is contained in:
parent
9c6740becb
commit
fdb1e32c82
@ -14,16 +14,20 @@ namespace File_Folder_Helper.Day.Q32024;
|
|||||||
internal static partial class Helper20240830
|
internal static partial class Helper20240830
|
||||||
{
|
{
|
||||||
|
|
||||||
public record WorkItem(string? AssignedTo,
|
public record WorkItem(string AreaPath,
|
||||||
|
string? AssignedTo,
|
||||||
int? BusinessValue,
|
int? BusinessValue,
|
||||||
DateTime ChangedDate,
|
DateTime ChangedDate,
|
||||||
|
DateTime? ClosedDate,
|
||||||
int CommentCount,
|
int CommentCount,
|
||||||
DateTime CreatedDate,
|
DateTime CreatedDate,
|
||||||
string Description,
|
string Description,
|
||||||
float? Effort,
|
float? Effort,
|
||||||
int Id,
|
int Id,
|
||||||
|
string IterationPath,
|
||||||
int? Priority,
|
int? Priority,
|
||||||
string? Requester,
|
string? Requester,
|
||||||
|
DateTime? ResolvedDate,
|
||||||
int Revision,
|
int Revision,
|
||||||
int? RiskReductionMinusOpportunityEnablement,
|
int? RiskReductionMinusOpportunityEnablement,
|
||||||
DateTime? StartDate,
|
DateTime? StartDate,
|
||||||
@ -110,16 +114,20 @@ internal static partial class Helper20240830
|
|||||||
foreach (ValueWithReq valueWithReq in valueWithReqCollection)
|
foreach (ValueWithReq valueWithReq in valueWithReqCollection)
|
||||||
{
|
{
|
||||||
fields = valueWithReq.Value.Fields;
|
fields = valueWithReq.Value.Fields;
|
||||||
workItem = new(fields.SystemAssignedTo?.DisplayName,
|
workItem = new(fields.SystemAreaPath,
|
||||||
|
fields.SystemAssignedTo?.DisplayName,
|
||||||
fields.MicrosoftVSTSCommonBusinessValue == 0 ? null : fields.MicrosoftVSTSCommonBusinessValue,
|
fields.MicrosoftVSTSCommonBusinessValue == 0 ? null : fields.MicrosoftVSTSCommonBusinessValue,
|
||||||
fields.SystemChangedDate,
|
fields.SystemChangedDate,
|
||||||
|
fields.MicrosoftVSTSCommonClosedDate == DateTime.MinValue ? null : fields.MicrosoftVSTSCommonClosedDate,
|
||||||
fields.SystemCommentCount,
|
fields.SystemCommentCount,
|
||||||
fields.SystemCreatedDate,
|
fields.SystemCreatedDate,
|
||||||
fields.SystemDescription,
|
fields.SystemDescription,
|
||||||
fields.MicrosoftVSTSSchedulingEffort == 0 ? null : fields.MicrosoftVSTSSchedulingEffort,
|
fields.MicrosoftVSTSSchedulingEffort == 0 ? null : fields.MicrosoftVSTSSchedulingEffort,
|
||||||
valueWithReq.Value.Id,
|
valueWithReq.Value.Id,
|
||||||
|
fields.SystemIterationPath,
|
||||||
fields.MicrosoftVSTSCommonPriority == 0 ? null : fields.MicrosoftVSTSCommonPriority,
|
fields.MicrosoftVSTSCommonPriority == 0 ? null : fields.MicrosoftVSTSCommonPriority,
|
||||||
fields.CustomRequester?.DisplayName,
|
fields.CustomRequester?.DisplayName,
|
||||||
|
fields.MicrosoftVSTSCommonResolvedDate == DateTime.MinValue ? null : fields.MicrosoftVSTSCommonResolvedDate,
|
||||||
valueWithReq.Value.Rev,
|
valueWithReq.Value.Rev,
|
||||||
fields.CustomRRminusOE == 0 ? null : fields.CustomRRminusOE,
|
fields.CustomRRminusOE == 0 ? null : fields.CustomRRminusOE,
|
||||||
fields.MicrosoftVSTSSchedulingStartDate == DateTime.MinValue ? null : fields.MicrosoftVSTSSchedulingStartDate,
|
fields.MicrosoftVSTSSchedulingStartDate == DateTime.MinValue ? null : fields.MicrosoftVSTSSchedulingStartDate,
|
||||||
|
@ -10,7 +10,9 @@ public class Fields
|
|||||||
float customWSJF,
|
float customWSJF,
|
||||||
float? microsoftVSTSSchedulingEffort,
|
float? microsoftVSTSSchedulingEffort,
|
||||||
int microsoftVSTSCommonBusinessValue,
|
int microsoftVSTSCommonBusinessValue,
|
||||||
|
DateTime microsoftVSTSCommonClosedDate,
|
||||||
int microsoftVSTSCommonPriority,
|
int microsoftVSTSCommonPriority,
|
||||||
|
DateTime microsoftVSTSCommonResolvedDate,
|
||||||
DateTime microsoftVSTSCommonStateChangeDate,
|
DateTime microsoftVSTSCommonStateChangeDate,
|
||||||
float microsoftVSTSCommonTimeCriticality,
|
float microsoftVSTSCommonTimeCriticality,
|
||||||
DateTime microsoftVSTSSchedulingStartDate,
|
DateTime microsoftVSTSSchedulingStartDate,
|
||||||
@ -37,7 +39,9 @@ public class Fields
|
|||||||
CustomWSJF = customWSJF;
|
CustomWSJF = customWSJF;
|
||||||
MicrosoftVSTSSchedulingEffort = microsoftVSTSSchedulingEffort;
|
MicrosoftVSTSSchedulingEffort = microsoftVSTSSchedulingEffort;
|
||||||
MicrosoftVSTSCommonBusinessValue = microsoftVSTSCommonBusinessValue;
|
MicrosoftVSTSCommonBusinessValue = microsoftVSTSCommonBusinessValue;
|
||||||
|
MicrosoftVSTSCommonClosedDate = microsoftVSTSCommonClosedDate;
|
||||||
MicrosoftVSTSCommonPriority = microsoftVSTSCommonPriority;
|
MicrosoftVSTSCommonPriority = microsoftVSTSCommonPriority;
|
||||||
|
MicrosoftVSTSCommonResolvedDate = microsoftVSTSCommonResolvedDate;
|
||||||
MicrosoftVSTSCommonStateChangeDate = microsoftVSTSCommonStateChangeDate;
|
MicrosoftVSTSCommonStateChangeDate = microsoftVSTSCommonStateChangeDate;
|
||||||
MicrosoftVSTSCommonTimeCriticality = microsoftVSTSCommonTimeCriticality;
|
MicrosoftVSTSCommonTimeCriticality = microsoftVSTSCommonTimeCriticality;
|
||||||
MicrosoftVSTSSchedulingStartDate = microsoftVSTSSchedulingStartDate;
|
MicrosoftVSTSSchedulingStartDate = microsoftVSTSSchedulingStartDate;
|
||||||
@ -63,11 +67,13 @@ public class Fields
|
|||||||
[JsonPropertyName("Custom.RRminusOE")] public int CustomRRminusOE { get; } // { init; get; }
|
[JsonPropertyName("Custom.RRminusOE")] public int CustomRRminusOE { get; } // { init; get; }
|
||||||
[JsonPropertyName("Custom.Requester")] public CustomRequester? CustomRequester { get; } // { init; get; }
|
[JsonPropertyName("Custom.Requester")] public CustomRequester? CustomRequester { get; } // { init; get; }
|
||||||
[JsonPropertyName("Custom.WSJF")] public float CustomWSJF { get; } // { init; get; }
|
[JsonPropertyName("Custom.WSJF")] public float CustomWSJF { get; } // { init; get; }
|
||||||
[JsonPropertyName("Microsoft.VSTS.Scheduling.Effort")] public float? MicrosoftVSTSSchedulingEffort { get; } // { init; get; }
|
|
||||||
[JsonPropertyName("Microsoft.VSTS.Common.BusinessValue")] public int MicrosoftVSTSCommonBusinessValue { get; } // { init; get; }
|
[JsonPropertyName("Microsoft.VSTS.Common.BusinessValue")] public int MicrosoftVSTSCommonBusinessValue { get; } // { init; get; }
|
||||||
|
[JsonPropertyName("Microsoft.VSTS.Common.ClosedDate")] public DateTime MicrosoftVSTSCommonClosedDate { get; } // { init; get; }
|
||||||
[JsonPropertyName("Microsoft.VSTS.Common.Priority")] public int MicrosoftVSTSCommonPriority { get; } // { init; get; }
|
[JsonPropertyName("Microsoft.VSTS.Common.Priority")] public int MicrosoftVSTSCommonPriority { get; } // { init; get; }
|
||||||
|
[JsonPropertyName("Microsoft.VSTS.Common.ResolvedDate")] public DateTime MicrosoftVSTSCommonResolvedDate { get; } // { init; get; }
|
||||||
[JsonPropertyName("Microsoft.VSTS.Common.StateChangeDate")] public DateTime MicrosoftVSTSCommonStateChangeDate { get; } // { init; get; }
|
[JsonPropertyName("Microsoft.VSTS.Common.StateChangeDate")] public DateTime MicrosoftVSTSCommonStateChangeDate { get; } // { init; get; }
|
||||||
[JsonPropertyName("Microsoft.VSTS.Common.TimeCriticality")] public float MicrosoftVSTSCommonTimeCriticality { get; } // { init; get; }
|
[JsonPropertyName("Microsoft.VSTS.Common.TimeCriticality")] public float MicrosoftVSTSCommonTimeCriticality { get; } // { init; get; }
|
||||||
|
[JsonPropertyName("Microsoft.VSTS.Scheduling.Effort")] public float? MicrosoftVSTSSchedulingEffort { get; } // { init; get; }
|
||||||
[JsonPropertyName("Microsoft.VSTS.Scheduling.StartDate")] public DateTime MicrosoftVSTSSchedulingStartDate { get; } // { init; get; }
|
[JsonPropertyName("Microsoft.VSTS.Scheduling.StartDate")] public DateTime MicrosoftVSTSSchedulingStartDate { get; } // { init; get; }
|
||||||
[JsonPropertyName("System.AreaPath")] public string SystemAreaPath { get; } // { init; get; }
|
[JsonPropertyName("System.AreaPath")] public string SystemAreaPath { get; } // { init; get; }
|
||||||
[JsonPropertyName("System.AssignedTo")] public SystemAssignedTo? SystemAssignedTo { get; } // { init; get; }
|
[JsonPropertyName("System.AssignedTo")] public SystemAssignedTo? SystemAssignedTo { get; } // { init; get; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user