for changesets with multiple workitems, how to know the stream for each workitem
When a changeset is associated with multiple workitems for multiple streams, how can you tell which stream each workitem is for using the plain java API? Let me give an example...
workitem 1 is fixed with a changeset
then that changeset is delivered to another stream with workitem 2
then another stream with workitem 3
Later, I do a IWorkspaceConnection.compareTo() between a snapshot and the current stream. This would give me the list of changesets that have occurred between the snapshot (say when it was shipped) and now (which would be all the fixes since it shipped).
I then do the getChangeSetLinkSummary() call to get the associated links. I loop through looking for changeset links and get the workitems. I will find 3 in the sample above. How can I tell which one is associated with the stream I am connected to?
workitem 1 is fixed with a changeset
then that changeset is delivered to another stream with workitem 2
then another stream with workitem 3
Later, I do a IWorkspaceConnection.compareTo() between a snapshot and the current stream. This would give me the list of changesets that have occurred between the snapshot (say when it was shipped) and now (which would be all the fixes since it shipped).
I then do the getChangeSetLinkSummary() call to get the associated links. I loop through looking for changeset links and get the workitems. I will find 3 in the sample above. How can I tell which one is associated with the stream I am connected to?
3 answers
Jay,
Each work item should have a planned for which would tell you you what release or iteration the work item applied to. You would need to access that information in order to determine what release the work item was associated with. From an SCM standpoint, there is 1 change set that has been delivered to 3 streams.
Each work item should have a planned for which would tell you you what release or iteration the work item applied to. You would need to access that information in order to determine what release the work item was associated with. From an SCM standpoint, there is 1 change set that has been delivered to 3 streams.
Comments
Jay,
as far as I can tell, work items are not connected to any stream. So you can't make a connection to any stream, unless you have information in the work item providing this information. A reference presentation could potentially be used to select a stream https://rsjazz.wordpress.com/2013/12/17/using-reference-presentations-to-create-links-and-show-linked-work-items-in-rtc/ to provide this kind of information. I have not tried that yet, so I don't know if there is a reference presentation for streams.
as far as I can tell, work items are not connected to any stream. So you can't make a connection to any stream, unless you have information in the work item providing this information. A reference presentation could potentially be used to select a stream https://rsjazz.wordpress.com/2013/12/17/using-reference-presentations-to-create-links-and-show-linked-work-items-in-rtc/ to provide this kind of information. I have not tried that yet, so I don't know if there is a reference presentation for streams.