Skip to content

Commit

Permalink
fix: add FrenchTitle to query
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Sep 29, 2022
1 parent e5ba3a0 commit de7906b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines-past-sessions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ steps:
$wikiTitle = $env:WIKI_TITLE
$username = $env:WIKI_USER
$password = $env:WIKI_PASSWORD
$pastSessionQuery = 'https://analytics.dev.azure.com/TBS-OCIO-ESP/_odata/v1.0/WorkItems?$select=Title,%20State,%20Custom_Department,%20WorkItemType,%20BacklogPriority&$expand=Iteration($select=IterationPath),%20Links($select=TargetWorkItem;%20$filter=(TargetWorkItem/Project/ProjectName%20eq%20%27gc-earb%27%20AND%20((TargetWorkItem/WorkItemType%20ne%20%27%27%20AND%20TargetWorkItem/State%20ne%20%27Cancelled%27%20AND%20TargetWorkItem/Title%20ne%20%27Opening%20Remarks%27%20AND%20TargetWorkItem/Title%20ne%20%27Closing%20Remarks%27)%20OR%20(TargetWorkItem/State%20eq%20%27Cancelled%27%20AND%20TargetWorkItem/Title%20eq%20%27Opening%20Remarks%27)))%20and%20(LinkTypeReferenceName%20eq%20%27System.LinkTypes.Hierarchy-Forward%27);%20$expand=TargetWorkItem($select=Title,%20State,%20Custom_Department,%20WorkItemType,%20BacklogPriority;%20$expand=Iteration($select=IterationPath)))&$filter=(Project/ProjectName%20eq%20%27gc-earb%27%20AND%20WorkItemType%20eq%20%27Meeting%27%20AND%20(State%20eq%20%27Done%27%20or%20State%20eq%20%27Cancelled%27))%20and%20Links/any(l:%20(l/TargetWorkItem/Project/ProjectName%20eq%20%27gc-earb%27%20AND%20((l/TargetWorkItem/WorkItemType%20ne%20%27%27%20AND%20l/TargetWorkItem/State%20ne%20%27Cancelled%27%20AND%20l/TargetWorkItem/Title%20ne%20%27Opening%20Remarks%27%20AND%20l/TargetWorkItem/Title%20ne%20%27Closing%20Remarks%27)%20OR%20(l/TargetWorkItem/State%20eq%20%27Cancelled%27%20AND%20l/TargetWorkItem/Title%20eq%20%27Opening%20Remarks%27)))%20and%20(l/LinkTypeReferenceName%20eq%20%27System.LinkTypes.Hierarchy-Forward%27))&$orderby=Iteration/IterationPath%20desc,%20BacklogPriority%20asc,%20WorkItemId%20asc';
$pastSessionQuery = 'https://analytics.dev.azure.com/TBS-OCIO-ESP/_odata/v1.0/WorkItems?$select=Title,%20State,%20Custom_Department,%20Custom_FrenchTitle,%20WorkItemType,%20BacklogPriority&$expand=Iteration($select=IterationPath),%20Links($select=TargetWorkItem;%20$filter=(TargetWorkItem/Project/ProjectName%20eq%20%27gc-earb%27%20AND%20((TargetWorkItem/WorkItemType%20ne%20%27%27%20AND%20TargetWorkItem/State%20ne%20%27Cancelled%27%20AND%20TargetWorkItem/Title%20ne%20%27Opening%20Remarks%27%20AND%20TargetWorkItem/Title%20ne%20%27Closing%20Remarks%27)%20OR%20(TargetWorkItem/State%20eq%20%27Cancelled%27%20AND%20TargetWorkItem/Title%20eq%20%27Opening%20Remarks%27)))%20and%20(LinkTypeReferenceName%20eq%20%27System.LinkTypes.Hierarchy-Forward%27);%20$expand=TargetWorkItem($select=Title,%20State,%20Custom_Department,%20Custom_FrenchTitle,%20WorkItemType,%20BacklogPriority;%20$expand=Iteration($select=IterationPath)))&$filter=(Project/ProjectName%20eq%20%27gc-earb%27%20AND%20WorkItemType%20eq%20%27Meeting%27%20AND%20(State%20eq%20%27Done%27%20or%20State%20eq%20%27Cancelled%27))%20and%20Links/any(l:%20(l/TargetWorkItem/Project/ProjectName%20eq%20%27gc-earb%27%20AND%20((l/TargetWorkItem/WorkItemType%20ne%20%27%27%20AND%20l/TargetWorkItem/State%20ne%20%27Cancelled%27%20AND%20l/TargetWorkItem/Title%20ne%20%27Opening%20Remarks%27%20AND%20l/TargetWorkItem/Title%20ne%20%27Closing%20Remarks%27)%20OR%20(l/TargetWorkItem/State%20eq%20%27Cancelled%27%20AND%20l/TargetWorkItem/Title%20eq%20%27Opening%20Remarks%27)))%20and%20(l/LinkTypeReferenceName%20eq%20%27System.LinkTypes.Hierarchy-Forward%27))&$orderby=Iteration/IterationPath%20desc,%20BacklogPriority%20asc,%20WorkItemId%20asc';
function Get-QueryResultsTable($token, $odataQuery)
{
Expand Down

0 comments on commit de7906b

Please sign in to comment.