TFS 2010 Email Alerts - Filter by Multiple Status Codes?

I set up my email alerts in TFS 2010 using the alert explorer from TFS Power Tools.

I want to receive an email when the build fails or partially fails. The filter seems too basic to achieve this.

I created a filter as follows

"TeamProject" = 'My project' AND "StatusCode" = 'Failed' OR "StatusCode" = 'PartiallySucceeded'

but obviously this sends me an email when some part of the project is partially completed. The filter that I really want is

"TeamProject" = "My project" AND ("StatusCode" = "Failed" OR "StatusCode" = "PartiallySucceeded")

Is there any way to achieve this? Can I enter a value so that it reads IN ('this' or 'that')?

I really don't want to create separate email rules for each status that interests me, if I can help him.

+5
source share
2 answers

Ok, I finally found a solution.

On the alert definitions tab, select two or more rows, and the buttons above the table light up. One of them is “Group selected offers” and will create a subitem with the results that I got after.

alt text

+4
source

( VS 2008 TFS 2008 Power Toys)

" " , , " " , AND OR, .

0

All Articles