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

How to show all work item subscribers with the RTC email template?

Hi all,

We've been using RTC 5.0.x at my company since the beginning of the year.  I'm stumped on this question and haven't found it in the forum or in the help files.

Is it possible to modify the work item change email template to show all users who are subscribed to the work item?

A manager has asked me for this. His reasoning is: he'll see an interesting work item go by that he thinks one of his engineers should see.  Since the email does not use CC: to all subscribers (like Clearquest did before), the only way he can know for sure is to click the work item link, log in, and check the subscriber list for his intended people.

My thought was to modify the email body text to add the list of subscribers, but I'm not seeing it in the list of email template variable types.  Am I just missing it, or does it not exist? Is there a way to achieve this?

Thanks,
Rich




0 votes

Comments

Slight progress today. Saw in help that I could read custom attributes via get() with the workItem variable, so I tried ${workItem.get("internalSubscriptions")} to read the pre-defined work item attribute for subscribers. It returned something, but it was a list of stuff and no readable user names to be seen. So I'm still stuck.

The list looked like this: com.ibm.team.repository.common.model.impl.ContributorHandleImpl@21e321e3 (stateId: <unset>, itemId: [UUID xLOdsCx8EeSgrqty8Us1gg], origin: <unset>, immutable: <unset>), com.ibm.team.repository.common.model.impl.ContributorHandleImpl@221e221e (stateId: <unset>, itemId: [UUID _nV4hoHPfEeOEgucB2S-SQ], origin: <unset>, immutable: <unset>), com.ibm.team.repository.common.model.impl.ContributorHandleImpl@22502250 (stateId: <unset>, itemId: [UUID nXSP0HPfEeOEgucB2S-SQ], origin: <unset>, immutable: <unset>), com.ibm.team.repository.common.model.impl.ContributorHandleImpl@22b422b4 (stateId: <unset>, itemId: [UUID B4urAHPcEeOEgucB2S-SQ], origin: <unset>, immutable: <unset>)] 


 


Be the first one to answer this question!

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
× 12,022

Question asked: Jun 10 '15, 4:30 p.m.

Question was seen: 3,774 times

Last updated: Jun 11 '15, 4:36 p.m.

Confirmation Cancel Confirm