birdus
birdus

Reputation: 7514

Can I filter backlog in Azure DevOps by Negating a Tag?

Is there a way to filter a backlog in Azure DevOps by negating a Tag? For example filter by "NOT MyTag"?

Upvotes: 5

Views: 4016

Answers (2)

Mengdi Liang
Mengdi Liang

Reputation: 19036

If I'm not misunderstand the feature you expected, what you want is applying the exclude tags in the filter blank in the Backlogs page, is that right?

enter image description here

If this, afraid to say that sorry, no, it hasn't been supported until now.

The exists feature is the positive satisfaction which means we will filter by the any character you enter and could not recognize any negative words at this current sprint(M160).

There has a similar feature suggestion request raised on our official forum: The filter dialog should be able exclude tags. You can go vote and comment there to push its priority and awareness. Our product group would review these suggestions and consider to take them into develop roadmap.


Until now, the best work around is the way that @Steven mentioned, use Does Not Contain operators in Queries to achieve work items filtered based on excluding tags.

But, if you want to have a same result with the Filter in Backlog page, another condition needed, especially the work item link (tree) specified:

enter image description here

Upvotes: 4

Zam
Zam

Reputation: 1388

Try the Does Not Contain Operator found in Queries. This can be combined with Contains Operator so you can search for certain tags while excluding others.

enter image description here

Upvotes: 5

Related Questions