ADO System Parent

This commit is contained in:
2024-09-11 12:25:44 -07:00
parent ece70e7fd8
commit 45502a30a9
9 changed files with 27 additions and 31 deletions

View File

@ -170,7 +170,7 @@ public class FileRead : Shared.FileRead, IFileRead
string file;
int i = 100000;
JsonElement[] jsonElements;
Task<HttpResponseMessage> httpResponseMessageTask = httpClient.GetAsync(string.Concat(basePage, api, $"/workitems?ids={ids}"));
Task<HttpResponseMessage> httpResponseMessageTask = httpClient.GetAsync(string.Concat(basePage, api, $"/workitems?ids={ids}&$expand=Relations"));
httpResponseMessageTask.Wait();
if (!httpResponseMessageTask.Result.IsSuccessStatusCode)
throw new Exception(httpResponseMessageTask.Result.StatusCode.ToString());