Alert when a person other than AssignedTo alters a Work Item

Jan 27, 2015 at 7:46 AM
Hello!

I try to create an alert, when a bug item ist changed by a person different from AssignedTo.
The filter expression I wrote:
filterExpression="($"CoreFields/StringFields/Field[ReferenceName='System.WorkItemType']/NewValue" = 'Bug')
                  AND NOT ($"ChangedFields/StringFields/Field[ReferenceName='System.ChangedBy']/NewValue" = $"CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/NewValue")">
I read this thread first: http://teamalert.codeplex.com/discussions/355057#post893398
and tried to implement the conclusion of it in my filterExpression. I tried several alternatives from using OldValue instead of NewValue to using CoreFields instead of ChangedFields. But it still won't work.

I get an eMail every time the bug is changed regardless of if it was changed by myself or someone else.

Has anyone got an idea about this?

Thank you very much.
TMattes


P.S.: We are still using TFS2010 with VS2010.