CreatedDate
This commit is contained in:
@ -198,6 +198,7 @@ internal static partial class Helper20240809
|
||||
AddPatch(result, "/fields/System.AreaPath", string.Concat(project, "\\", site));
|
||||
AddPatch(result, "/fields/System.IterationPath", iterationPath);
|
||||
AddPatch(result, "/fields/System.Title", title);
|
||||
AddPatch(result, "/fields/System.CreatedDate", submittedDateTime.AddHours(12).ToUniversalTime());
|
||||
string? state = GetMappedState(fiBacklogMesa);
|
||||
if (!string.IsNullOrEmpty(state))
|
||||
AddPatch(result, "/fields/System.State", state);
|
||||
@ -242,6 +243,7 @@ internal static partial class Helper20240809
|
||||
if (!string.IsNullOrEmpty(fiBacklogMesa.Updates))
|
||||
AddPatch(result, "/fields/System.History", fiBacklogMesa.Updates);
|
||||
AddPatch(result, "/fields/System.Title", title);
|
||||
AddPatch(result, "/fields/System.CreatedDate", submittedDateTime.AddHours(12).ToUniversalTime());
|
||||
if (assignedToNameToUser.TryGetValue(fiBacklogMesa.AssignedTo, out string? assignedToUser))
|
||||
AddPatch(result, "/fields/System.AssignedTo", assignedToUser);
|
||||
if (requestorNameToUser.TryGetValue(fiBacklogMesa.Requestor, out string? requestorUser))
|
||||
@ -488,6 +490,8 @@ internal static partial class Helper20240809
|
||||
{
|
||||
if (keyToFIBacklogMesa.Count == extra.Count)
|
||||
break;
|
||||
if (keyValuePair.Value.Status is "CMP" or "CNCL")
|
||||
continue;
|
||||
CreateWorkItem(workItemTrackingHttpClient, project, site, assignedToNameToUser, requestorNameToUser, keyValuePair.Value);
|
||||
counter++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user