Skip to content

Commit

Permalink
DevOps Sync Job: Update paths to correct service errors (Azure#5280)
Browse files Browse the repository at this point in the history
The path changed for our team area, which means we have to update some of our automation with the new paths. Fixing it here.
  • Loading branch information
and-rewsmith authored Jul 23, 2021
1 parent 675f0e3 commit 246eed1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/IoTEdgeDevOps/DevOpsLib/BugManagement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public async Task<string> CreateBugAsync(string branch, VstsBuild build)
op = "add",
path = "/fields/System.AreaPath",
from = string.Empty,
value = "One\\IoT\\Platform\\IoTEdge"
value = "One\\IoT\\Platform and Devices\\IoTEdge"
},
new
{
Expand Down
8 changes: 4 additions & 4 deletions tools/IoTEdgeDevOps/DevOpsLib/BugWiqlQueries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FROM workitems
WHERE
[System.TeamProject] = @project
AND [System.WorkItemType] = 'Bug'
AND [System.AreaPath] = 'One\IoT\Platform\{AREA}'
AND [System.AreaPath] = 'One\IoT\Platform and Devices\{AREA}'
AND NOT [System.State] CONTAINS 'Done'
AND NOT [System.State] CONTAINS 'Removed'
AND [Microsoft.VSTS.Common.Priority] = {PRIORITY}";
Expand All @@ -33,7 +33,7 @@ FROM workitems
WHERE
[System.TeamProject] = @project
AND [System.WorkItemType] = 'Bug'
AND [System.AreaPath] = 'One\IoT\Platform\{AREA}'
AND [System.AreaPath] = 'One\IoT\Platform and Devices\{AREA}'
AND NOT [System.State] CONTAINS 'Done'
AND NOT [System.State] CONTAINS 'Removed'
AND [Microsoft.VSTS.Common.Priority] = {PRIORITY}
Expand All @@ -51,7 +51,7 @@ FROM workitems
WHERE
[System.TeamProject] = @project
AND [System.WorkItemType] = 'Bug'
AND [System.AreaPath] = 'One\IoT\Platform\{AREA}'
AND [System.AreaPath] = 'One\IoT\Platform and Devices\{AREA}'
AND NOT [System.State] CONTAINS 'Done'
AND NOT [System.State] CONTAINS 'Removed'
AND NOT [Microsoft.VSTS.Common.Priority] IN (1)
Expand All @@ -69,7 +69,7 @@ FROM workitems
WHERE
[System.TeamProject] = @project
AND [System.WorkItemType] = 'Bug'
AND [System.AreaPath] = 'One\IoT\Platform\{AREA}'
AND [System.AreaPath] = 'One\IoT\Platform and Devices\{AREA}'
AND NOT [System.State] CONTAINS 'Done'
AND NOT [System.State] CONTAINS 'Removed'
AND NOT [Microsoft.VSTS.Common.Priority] IN (1)
Expand Down

0 comments on commit 246eed1

Please sign in to comment.