In V1, if the task is assigned to you or you changed it then you get the notification. We cannot customize project alerts in currentl release. To work around this, everyone can add your email ID in addition to his/her email ID in Project alerts. Or a group email ID can be given in Project alerts.
For example, in your team if you have 5 people, everyone must give abc@corp.com;simon@corp.com in project alers window. Another option is giving team@corp.com where team is the groupmail for all of you.
Yes, I think your expression will look something like this:
"PortfolioProject" = 'cx' AND "CoreFields/StringFields/Field[ReferenceName='System.State']/OldValue" <> 'Closed' AND "CoreFields/StringFields/Field[ReferenceName='System.State']/NewValue" = 'Closed'
One of my past colleagues created a tool to generate such expressions from an UI, and I hope to post that soon in my box to help creating such expressions easy.
You can create custom subscriptions using BisSubscribe.exe tool and give a custom filter to do it. If you search for bissubscribe in net you can get lots of info on it.
To get the schema for WorkItemChangedEvent and to build filter, check
Notification - Closed task
iSerg
In V1, if the task is assigned to you or you changed it then you get the notification. We cannot customize project alerts in currentl release. To work around this, everyone can add your email ID in addition to his/her email ID in Project alerts. Or a group email ID can be given in Project alerts.
For example, in your team if you have 5 people, everyone must give abc@corp.com;simon@corp.com in project alers window. Another option is giving team@corp.com where team is the groupmail for all of you.
Thanks
Sagar
bryanedds
Ok, I thought if i leave the expression empty, the service is always executed by the event_type WorkitemChangedEvent
regards
Simon
Kzin
Yes, I think your expression will look something like this:
"PortfolioProject" = 'cx' AND "CoreFields/StringFields/Field[ReferenceName='System.State']/OldValue" <> 'Closed' AND "CoreFields/StringFields/Field[ReferenceName='System.State']/NewValue" = 'Closed'
One of my past colleagues created a tool to generate such expressions from an UI, and I hope to post that soon in my box to help creating such expressions easy.
HMote
I agree with you. Let me talk to some one else in my team. I will get back to you soon
Thanks
Sagar
martok
Yes, but there is the problem. - If I give someone a task, I assign the task to him, and if he close the task, the task is not changed by others!
So I have first always set the task to me
regards
Simon
Abongs
Hi!
I have tried now, but is the WorkItemChangedEvent Item the right event if I close the task
regards Simon
Flavia Lemes
Hello!
thanks a lot! - I will try that.
regards
Simon
Aleniko29139
Simon,
You can create custom subscriptions using BisSubscribe.exe tool and give a custom filter to do it. If you search for bissubscribe in net you can get lots of info on it.
To get the schema for WorkItemChangedEvent and to build filter, check
http://blogs.vertigosoftware.com/teamsystem/archive/2006/07/03/Subscribing_to_Team_Foundation_Server_Events.aspx
Pete's blog has much details on creating subscriptions & troubleshooting: http://blogs.msdn.com/psheill/
I hope this helps. Below is the event filter we use in UI for "mail when my items changed by others" - if you need an example:
"PortfolioProject" = '<Project>' AND ("CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/OldValue" = 'Naren Datha' OR "CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/NewValue" = 'Naren Datha') AND "CoreFields/StringFields/Field[ReferenceName='System.AuthorizedAs']/NewValue" <> 'Naren Datha'