Skip to content

Can I filter Area Path before start loading ? #33

Locked Answered by nbrown02
helenoalves asked this question in Q&A
Discussion options

You must be logged in to vote

I just did a quick test using my dummy project:

  • Test to see if queries by area path work (where TestArea would be a parameter users would enter)
  https://analytics.dev.azure.com/n123btesting/FlowViz/_odata/v3.0-preview/WorkItems? 
$filter=StateCategory ne 'Completed'
            and startswith(Area/AreaPath,'TestArea')

This works, so we know we can filter by AreaPath in our queries

  • Test to see if users did not enter an Area Path what would happen
  https://analytics.dev.azure.com/n123btesting/FlowViz/_odata/v3.0-preview/WorkItems? 
$filter=StateCategory ne 'Completed'
            and startswith(Area/AreaPath,'')

This also works - so this looks like it can be done!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nbrown02
Comment options

Answer selected by nbrown02
@nbrown02
Comment options

@nbrown02
Comment options

@helenoalves
Comment options

@nbrown02
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants