SetSyncTag
This commit is contained in:
@ -23,7 +23,9 @@ public class Fields
|
||||
DateTime microsoftVSTSCommonStateChangeDate,
|
||||
int microsoftVSTSCommonPriority,
|
||||
string systemDescription,
|
||||
string systemTags
|
||||
string systemTags,
|
||||
float? effort,
|
||||
DateTime targetDate
|
||||
)
|
||||
{
|
||||
SystemAreaPath = systemAreaPath;
|
||||
@ -43,6 +45,8 @@ public class Fields
|
||||
MicrosoftVSTSCommonPriority = microsoftVSTSCommonPriority;
|
||||
SystemDescription = systemDescription;
|
||||
SystemTags = systemTags;
|
||||
Effort = effort;
|
||||
TargetDate = targetDate;
|
||||
}
|
||||
|
||||
[JsonPropertyName("System.AreaPath")]
|
||||
@ -95,4 +99,10 @@ public class Fields
|
||||
|
||||
[JsonPropertyName("System.Tags")]
|
||||
public string SystemTags { get; } // { init; get; }
|
||||
|
||||
[JsonPropertyName("Microsoft.VSTS.Scheduling.Effort")]
|
||||
public float? Effort { get; } // { init; get; }
|
||||
|
||||
[JsonPropertyName("Microsoft.VSTS.Scheduling.TargetDate")]
|
||||
public DateTime TargetDate { get; } // { init; get; }
|
||||
}
|
19
Adaptation/FileHandlers/json/WorkItems/ValueWithReq.cs
Normal file
19
Adaptation/FileHandlers/json/WorkItems/ValueWithReq.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.json.WorkItems;
|
||||
|
||||
public class ValueWithReq
|
||||
{
|
||||
[JsonConstructor]
|
||||
public ValueWithReq(
|
||||
Value value,
|
||||
int req
|
||||
)
|
||||
{
|
||||
Value = value;
|
||||
Req = req;
|
||||
}
|
||||
|
||||
public Value Value { get; set; } // { init; get; }
|
||||
public int Req { get; set; } // { init; get; }
|
||||
}
|
Reference in New Issue
Block a user