Jump to: navigation, search

CometD notifications

You can subscribe to the /v2/me/workitems topic to receive CometD notifications for the Workitem API. This topic provides messages related to workitems, including changes to workitem state and updates to workitem data. It supports the following message types:


Property Description
data The data element is present in all CometD notifications and is the root JSON element. You can use data.messageType to identify the message and determine what other properties should be present.
data.messageType This property identifies the message type, in this case WorkitemStateChangeMessage.
data.notificationType This property further identifies the type of notification and can have one of the following values:
  • StatusChange — The status of the workitem has changed.
  • PropertiesUpdated — The workitem data has changed.
  • Error — This is sent when an operation on the workitem resource fails.
data.workitem A workitem resource with the updated state and capabilities.
data.referenceId The reference identifier is used to link the notification to the original request that created it.


This page was last modified on March 25, 2016, at 11:23.


Comment on this article:

blog comments powered by Disqus