Tag property on Record
Fetch javascript function for testing Absolute Delta
This commit is contained in:
@ -145,7 +145,8 @@ public class ProcessData : IProcessData
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
record = new(keyValuePair.Value, parentWorkItem, Array.Empty<Record>(), Array.Empty<Record>(), Array.Empty<Record>());
|
||||
Dictionary<string, string>? tag = null;
|
||||
record = new(keyValuePair.Value, parentWorkItem, Array.Empty<Record>(), Array.Empty<Record>(), Array.Empty<Record>(), tag);
|
||||
}
|
||||
results.Add(keyValuePair.Key, record);
|
||||
}
|
||||
@ -174,7 +175,7 @@ public class ProcessData : IProcessData
|
||||
{
|
||||
if (r.WorkItem.State == "Removed" || !workItemTypes.Contains(r.WorkItem.WorkItemType))
|
||||
continue;
|
||||
record = new(r.WorkItem, r.Parent, Array.Empty<Record>(), Array.Empty<Record>(), Array.Empty<Record>());
|
||||
record = new(r.WorkItem, r.Parent, Array.Empty<Record>(), Array.Empty<Record>(), Array.Empty<Record>(), r.Tag);
|
||||
filtered.Add(record);
|
||||
}
|
||||
string? json = GetJson(filtered, results);
|
||||
|
Reference in New Issue
Block a user