Require Submitted
This commit is contained in:
parent
240628171f
commit
a03e3eb199
@ -53,10 +53,12 @@ public class ProcessData : IProcessData
|
|||||||
throw new NullReferenceException();
|
throw new NullReferenceException();
|
||||||
foreach (FIBacklogMesa fIBacklogMesa in fiBacklogMesaCollection)
|
foreach (FIBacklogMesa fIBacklogMesa in fiBacklogMesaCollection)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(fIBacklogMesa.Requestor))
|
|
||||||
continue;
|
|
||||||
if (string.IsNullOrEmpty(fIBacklogMesa.Req))
|
if (string.IsNullOrEmpty(fIBacklogMesa.Req))
|
||||||
continue;
|
continue;
|
||||||
|
if (string.IsNullOrEmpty(fIBacklogMesa.Submitted))
|
||||||
|
continue;
|
||||||
|
if (string.IsNullOrEmpty(fIBacklogMesa.Requestor))
|
||||||
|
continue;
|
||||||
key = $"{fIBacklogMesa.Requestor.Split(' ').First()}{keySection}{fIBacklogMesa.Req}";
|
key = $"{fIBacklogMesa.Requestor.Split(' ').First()}{keySection}{fIBacklogMesa.Req}";
|
||||||
if (results.ContainsKey(key))
|
if (results.ContainsKey(key))
|
||||||
continue;
|
continue;
|
||||||
@ -90,8 +92,6 @@ public class ProcessData : IProcessData
|
|||||||
private static Value[] GetWorkItems(HttpClient httpClient, string basePage, string api, string ids)
|
private static Value[] GetWorkItems(HttpClient httpClient, string basePage, string api, string ids)
|
||||||
{
|
{
|
||||||
Value[]? results;
|
Value[]? results;
|
||||||
// List<Value> results = new();
|
|
||||||
// Value? value;
|
|
||||||
Task<HttpResponseMessage> httpResponseMessageTask = httpClient.GetAsync(string.Concat(basePage, api, $"/workitems?ids={ids}"));
|
Task<HttpResponseMessage> httpResponseMessageTask = httpClient.GetAsync(string.Concat(basePage, api, $"/workitems?ids={ids}"));
|
||||||
httpResponseMessageTask.Wait();
|
httpResponseMessageTask.Wait();
|
||||||
if (!httpResponseMessageTask.Result.IsSuccessStatusCode)
|
if (!httpResponseMessageTask.Result.IsSuccessStatusCode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user