Don't show work items with Ignore tag

This commit is contained in:
Mike Phares 2024-09-11 09:18:58 -07:00
parent 7ab4b756d1
commit ece70e7fd8
2 changed files with 4 additions and 0 deletions

View File

@ -97,6 +97,8 @@ function getWorkItems(data) {
workItem = data[i]; workItem = data[i];
if (workItem.AreaPath !== 'ART SPS\\LEO') if (workItem.AreaPath !== 'ART SPS\\LEO')
continue; continue;
if (workItem.Tags != null && workItem.Tags.includes("Ignore"))
continue;
if (workItem.WorkItemType !== 'Feature' && workItem.WorkItemType !== 'Bug') if (workItem.WorkItemType !== 'Feature' && workItem.WorkItemType !== 'Bug')
continue; continue;
workItem["State"] = getState(workItem["State"]) workItem["State"] = getState(workItem["State"])

View File

@ -97,6 +97,8 @@ function getWorkItems(data) {
workItem = data[i]; workItem = data[i];
if (workItem.AreaPath !== 'ART SPS\\MES') if (workItem.AreaPath !== 'ART SPS\\MES')
continue; continue;
if (workItem.Tags != null && workItem.Tags.includes("Ignore"))
continue;
if (workItem.WorkItemType !== 'Feature' && workItem.WorkItemType !== 'Bug') if (workItem.WorkItemType !== 'Feature' && workItem.WorkItemType !== 'Bug')
continue; continue;
workItem["State"] = getState(workItem["State"]) workItem["State"] = getState(workItem["State"])