Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Notify a service to update a work item, based on event.

I have a parent work item and its children work items. Is it possible to have a way of notifying a service to update the parent based on a change in a (custom) attribute or the state of one of its children?

I have been looking at IChangeEventService, IFeedService, IWorkItemListener

and

https://jazz.net/wiki/bin/view/Main/FoundationNotifierTutorial#Example but I am not sure what direction to go in yet. Any advice would be great.

0 votes



One answer

Permanent link
Okay let me rephrase my question ...


1. When a work item gets created, can I call/notify a service?


2. When a work item changes state, can I call/notify a service?


It seems one way to implement this would be to create a task that extends AbstractAutoScheduledTask and queries for certain change events when it is periodically run by the server. I think of this as polling.

3. Is there another way where the work item is observed by the service and does a callback when it changes state?


4. If not, can someone point me in the right direction for setting up and running a simple auto-task? I read the QueryDevGuide and saw the ReminderTask but I haven't figured out how to run it.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,074

Question asked: Mar 18 '09, 6:25 p.m.

Question was seen: 8,167 times

Last updated: Mar 18 '09, 6:25 p.m.

Confirmation Cancel Confirm