It's all about the answers!

Ask a question

Automatically subscribe to work items that are a "Filed Against: " a particular area


Adam Clark (111) | asked Oct 08 '14, 10:21 a.m.
I'd like to be able to subscribe to any work items that are filed against a particular team when they're created. I found the following guide online but it only describes the procedure to subscribe to all work items in a particular project:
http://www-01.ibm.com/support/docview.wss?uid=swg21580771

Is what I'm after possible in RTC?

2 answers



permanent link
Donat Hutter (2153239) | answered Oct 10 '14, 10:30 a.m.
With calculated fields I refer to client side scripting (JavaScript, dojo framework). These are my starting points
Server side means Java development and is intended to extend the Jazz functionality

permanent link
Donat Hutter (2153239) | answered Oct 08 '14, 1:13 p.m.
In step 6 you see that you have also "Calculated Values" available. By scripting you might add a dedicated user or current user based on a certain category.
But I suppose, that does not provide the flexibility you are looking for.

Comments
Adam Clark commented Oct 10 '14, 9:37 a.m.

Any idea on where I can find information on the scripting API that RTC uses?



Ralph Schoon commented Oct 10 '14, 10:13 a.m. | edited Oct 10 '14, 10:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I need to correct myself, you can actually access the subscriptions in scripts. You would have to pass the UUID's for the contributors.

A Java extension see https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ is another approach you could take.

Please be aware that a calculated value would always calculate and a default value provider is pretty useless, because the filed against value is not set when it runs. Therefore a custom participant would probably be the best option. Follow https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ for an example. This is for approvals, but subscriptions are similar. There is a description of the subscription API on that blog as well.

Your answer


Register or 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.