Creating dynamic enumeration that lists all streams of a project area/outside of a project area?
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
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
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.
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.