It's all about the answers!

Ask a question

Creating dynamic enumeration that lists all streams of a project area/outside of a project area?


kuo hao tah (1142830) | asked Oct 09 '12, 10:28 p.m.
Hi There,

I'd like to create a dynamic enumeration that lists all streams of a project area/outside of a project area? Ie this list is populated with the actual streams that are set up in a project area, and is linked to the actual stream.

Our intention is to use this work item to record 'Target Stream' and 'Source Stream' then programmatically create a workspace that automatically flows with the Target Stream defined in the work item, as well as accepts changesets from the 'Source Stream'

Has anyone done something similar before?

Thanks,

KH

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Oct 10 '12, 2:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi, I have never tried that but here are the options, I think, you have.

1.You can follow https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentationsV2 and create a new Attribute presentation for the Eclipse and the Web UI.
2. You can try to use the HTTP Based Value set described in https://jazz.net/help-dev/clm/topic/com.ibm.team.workitem.doc/topics/t_configuring_http_filtered_value_set.html and maybe follow http://jorgediazblog.wordpress.com/2012/06/27/work-item-customization-httpconector-and-oauth-in-rtc-4-0-for-oslc/  and use OSLC to retrieve the stream names. Another option would be a small web application that provides the stream names as xml, possibly using the client library API to retrieve the stream names.

Your answer


Register or to post your answer.