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

add subscriber following work item category/team area

Hi

I want to create a follow-up action:

add a pre-defined subscriber depending on work item selected category /(associated team area)

someone can help me about server side code:

get team area/category from the w\ork item instance during his creation?

0 votes



One answer

Permanent link
Here is an example that does create an approval and also looks into categories: http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ this shows how to use the subsciptions api, however, honestly the API on the server should look very similar and fit right into the code above: http://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/

0 votes

Comments

I should have said, the code above finds the users by roles in the process area associated to the work item (which is determined by the category's association to the team area).

In addition I think that subscribing all the users of a team is a bad practice really and I would rather suggest the team to set up the team feed and have a good feed reader installed locally. That way the users will still be able to find some other mail in their in box.

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
× 10,938

Question asked: Jan 14 '13, 11:30 a.m.

Question was seen: 4,326 times

Last updated: Jan 15 '13, 2:49 a.m.

Confirmation Cancel Confirm