How is it possible to relate a work item to a stream.
Work Items can only be related to an iteration and change sets can only be related to a work item.
It would be useful to be able to target a work item to a stream to ensure the stream has had the correct work items applied.
Is there any way of ensuring the correctness of a Work Item being applied to multiple streams.
Accepted answer
Hi Geoff,
This would be a manual process (at least to start, but I'm sure you could write some surrounding code with the API to help automate), but you could try adding approvals (maybe of type verifcation?) for each stream you want the change in, and then approve them only once it's confirmed the change set(s) on the work item have been delivered to each of those streams.
2 other answers
Geoffrey,
I think there is some misconception on your end, or some misunderstanding on my.
A Stream is a volatile object, it can be created and deleted, however the change sets will stay, and the work items as well. The change set can be in many streams as well.
There is no means in the RTC Work Item component to represent a stream as an attribute. A stream, of course, has a URL and you could link that to a work item, however this would not be easy to use for anyone.
So I am not sure what you want to achieve in the question above.
It is possible to use the Locate change Sets functionality in the Eclipse client Search>Jazz Source Control>Locate change Sets to find out if a change set is in a particular stream or not, you can use work items to select the change sets associated to it for this as well.
I think there is some misconception on your end, or some misunderstanding on my.
A Stream is a volatile object, it can be created and deleted, however the change sets will stay, and the work items as well. The change set can be in many streams as well.
There is no means in the RTC Work Item component to represent a stream as an attribute. A stream, of course, has a URL and you could link that to a work item, however this would not be easy to use for anyone.
So I am not sure what you want to achieve in the question above.
It is possible to use the Locate change Sets functionality in the Eclipse client Search>Jazz Source Control>Locate change Sets to find out if a change set is in a particular stream or not, you can use work items to select the change sets associated to it for this as well.
Comments
The assignment to each work item of where it should be delivered is commonly used in branch-based systems, where the relationships between branches are largely fixed, and each change is local to a single branch until it is "merged" to another branch. In RTC, where you are free to modify the relationship between streams at will, and where changes are shared between many streams, this technique is not very effective, because every time you modify your stream system, you'd have to go and update all the work item assignments. Instead, best practice is to define flow relationships between your streams, so that a given change is first delivered to a single stream, and then stream-to-stream flows take that change automatically to the other streams it should be applied to. Then the locate-change-set functionality that Ralph mentions can be used to verify changes have flowed as intended. This in particular is best practice for flowing changes from one release to all the subsequent releases.
There are some special cases where one would use other techniques (and you may have one of those special cases). If you could describe why the stream-to-stream flow wouldn't work for your case, we could suggest some other alternatives.
There are some special cases where one would use other techniques (and you may have one of those special cases). If you could describe why the stream-to-stream flow wouldn't work for your case, we could suggest some other alternatives.