Replacing a component with a component from another stream
I am trying to replace a component with a component from another stream. So I use the "replace with" option. However, I get the error "Deliver (failed). Missing work item. Work item missing owner. Missing work item" I'm used to seeing this when delivering a change set. But since I'm just replacing a component's contents I don't understand what this error means. Unless RTC recognizes the replacement as a change set that is delivered from the original stream to the target stream In that case, how do I associate a work item with this? Am I missing a step. I followed the directions here https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.concert.dotnet.doc%2Ftopics%2Ft_replacing_the_contents_of_a_component_or_workspace.html
Any help would be much appreciated.
Thanks!
2 answers
A "replace" is just a funny kind of deliver, so all of the deliver constraints apply to a replace. In particular, if you compare the current configuration of that component in the stream with what you are going to "replace" it with, then all of the change sets that you are effectively adding to the stream are checked against the process rules for the target stream. So in your case, all of those change sets must be associated with some work item.
Comments
Hi Tamara,
you have two options to solve this. Either you expand the component baseline and search for the change sets which is being missed from associating workitem and associate the Workitem right away and deliver OR you can uncheck the "pre-condition" of "Associating work item before delivering change set" and deliver same.
This can be unchecked from RTC Client, Right click on PA -- > Process configuration ( At the Bottom Left hand side) -->Team Configuration --> Operation Behavior --> Source Control ( under Operations ) --> Deliver --> and select the role which is set in your PA for delivering the code. Uncheck it's pre-condition