index > Team Foundation Server - Work Item Tracking > Event subscription filter - limited to System fields only?

Event subscription filter - limited to System fields only?


I'm trying to subscribe to a WorkItemChanged event with a filter expression that uses custom fields -- without success.

I've been using Naren's handy tool from: http://blogs.msdn.com/narend/archive/2006/07/26/679440.aspx rather than bissubscribe.exe directly.

"System" fields (title, area...) work fine, but no email arrives when I use other fields, including both "Microsoft.VSTS" fields and my own custom fields.

Do only System fields work?

Must I write a web-service extension to check other fields?

Thanks,

Liel Biran

Liel
Only certain fields (core fields) are always sent with workitem event xml whether they are changed or not. So you could create filters on such fields. Other fields are sent only if they get changed, so if you add filter on custom fields you'll get event emails only if those fields got changed. See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=251727&SiteID=1 on Sam's response. This is done for performance reasons. If you really need custom field filtering, you can associate a webservice with events and implement your logic there, and you can find pointers on examples in my blog.


http://blogs.msdn.com/narend
Naren Datha - MSFT

OK, good to know that. However, from this I gather that if I use a filter on a field like Microsoft.VSTS.Common.Priority, I should receive emails when that field changes (likewise for my own custom fields). I'm not seeing that. The only fields that make emails fly for me are System.* fields. What am I missing here?

Liel

Liel

I looked into the eventing code and here are the fields that are always passed in event xml:

Id

Naren Datha - MSFT
reply 4

You can use google to search for other answers

 

More Articles

How to create dependency among work items???
Import change history into TFS
What is an area?
Setting "CreatedBy" field programatically
Renaming column names in Query
How to get the email body from an email using pop3 adapter
Work Item to Work Item associations
Notification - Closed task
Related items
Anybody Actually Using Project with Team System?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Work Item Attachment
Limit query-fields to selected project
TF80071 when trying to connect MPP to TFS
How to get the list of valid users in a …
How to get the next allowed state from t…
integration between project 2003 an…
Reuse Dialog Boxes
TF54000: Cannot update data because the …
Searching work items
Unassociate Project Server project from …
Problem mapping OutlineNumber
make Task Link tab as a required field
Problem with displaying "Work Items…
Set default value for Sytem.AreaPath
Nested conditions in WIT definition

Hot Articles

How does everyone else do it ?
Work Items created in VS 2005 do not ape…
Localized web server instance not launch…
Migrating From Other Bug Tracking System…
"Assigned To" field
How to delete previously imported items …
link work-items with other work-items , …
Set default value for Sytem.AreaPath
Work Item Queries limitations
Is there a web interface to VSTS defect …
Actions and fields of work items
Start a task and assign worked time
Area not refreshed in Work Items - TFS RTM
MS Project synchronization
Adding new project alerts?

Recommend Articles

Hierarchical work items
Throw exceptions by new WorkItemStore(se…
Customize Query Variables
Assignment and delegation: Is teher any …
VSTS and Excel integration
Adding / Modifying Work Item Fields
Publishing to TFS improperly changes Sav…
Setting "CreatedBy" field prog…
"Assigned To" field
Project Name in queries?
Contents of Dropdowns not read only?
Removing a work item
Synchronizing workitems with 3rd-party d…
TF80071 connecting MPP to Team project
Localized web server instance not launch…