It's all about the answers!

Ask a question

Rational team concert - I want to show subscribers list in the query output


Monika Gupta (6144) | asked Apr 04 '13, 3:02 p.m.
Rational team concert - I want to show subscribers list in the query output - I tried to change the process configuration souce and include attribute "internalSubscriptions"  it gives value UUIDs - does not give subscriber names. Please help

Comments
Monika Gupta commented Apr 05 '13, 3:22 a.m.

I wrote a calculated value script to read the value of subscribers and autopopulate a custom attribute (of type string).
The aim was to include the custom attribute in the query output.
======================================
dojo.provide("org.example.workitems.providers.CalculatedSubscribers");
dojo.require("com.ibm.team.workitem.api.common.WorkItemAttributes");
(function() {
var WorkItemAttributes= com.ibm.team.workitem.api.common.WorkItemAttributes;
dojo.declare("org.example.workitems.providers.CalculatedSubscribers", null, {
    getValue: function(attributeId, workItem, configuration) {
       return workItem.getValue(WorkItemAttributes.SUBSCRIPTIONS)
    }
});
})();
=============
This script does not work. The custom attribute comes blank
-- Is the script correct? Is it possible to "getValues" of "subscriptions" like this?
-- Am I missing upon some steps here? I already included the "subscribedby" attribute as a "dependency" in the custom attribute.

One answer



permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Apr 05 '13, 2:42 a.m.
Hello Monika,
I don't think it is possible in RTC as a query.
If you want this function, you need to create new request for enhancement: https://jazz.net/jazz/web/projects/Rational Team Concert#action=com.ibm.team.workitem.newWorkItem&type=enhancement
Alternative you can create your own BIRT report (or report using another reporting tool with which RTC integrates) to see that data.

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.