Copying Source Data from one RTC server to another
I have been exporting some Source Control components from a v6.0.2 Jazz Team Server, “jts_old”, to a newer v6.0.6 Jazz Team Server, “jts_new”.
I did that by creating a Repository workspace that flowed from the stream on “jts_old” and selecting the Use another repository (“jts_new”) option.
Having successfully created the repository workspace I then added a Flow Target to a brand new stream on “jts_new” and was then able to Deliver using the option to “Deliver component additions/removals as well as outgoing change sets and baselines”. At no stage in this process did I have to provide any Work Item Associations. That all happened a couple of weeks ago and “jts_new” now has a few components. However, since then some changes have been made on “jts_old” that I would like to have on “jts_new”. I thought this would be relatively easy this time as it was only a few changesets and files and I could just do the same sort of thing as before.
I repeated the process of creating a Repository workspace that flowed from the stream on “jts_old” and selecting the “Use another repository (jts_new)” option.
The “Pending Changes” view identified the handful of recent changesets as “Outgoing”.
But when I tried to Deliver I got error messages about “Missing work item” and “Assigned work items don’t meet requirements”, “The change set must be associated with a work item”.
Question : Why am I getting error messages about associated work items when I didn’t get anything like that when I did the initial copying a couple of weeks ago?
Thanks Peter |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Feb 13 '19, 6:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 13 '19, 6:26 a.m. Peter,
what are the error messages then? Such a great description and the key information is missing.
Anyway, my best guess is as follows:
Old Server, old Project area. Old Stream is owned by this. Operation behavior is set up to require work items on change sets.
New Server, new Project are. New Stream is owned by this. Operation behavior to require change sets is not enforced.
Check the operational behavior in the two owning project areas for differences.
When using distributed SCM when replicating change sets, a work item proxy is replicated with the change set. I think it is just a pointer back. I am not sure it qualifies as work item in another repository (it might only qualify as related change request). Also some of the operational behavior are within one repository only.
You can use a special role and override the operational behavior for that role to avoid this, or you might have to add a work item linked from the target server.
Ralph Schoon selected this answer as the correct answer
Comments
Peter Turvey
commented Feb 13 '19, 6:58 a.m.
Hello Ralph, sorry I do tend to waffle on a bit with my descriptions!
Anyway, I am happy for now. No doubt I'll be back soon with some other daft question.
As I guessed you where missing the required preconditions specified in the project area owning the target stream. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.