It's all about the answers!

Ask a question

How to include selective changesets from a work item for a particular build?


Pravin Patil (104117117) | asked Mar 05 '15, 12:19 a.m.
Hi,
We have a release in March and a release in June.
There are some common files across both releases. We want that only selective change sets should be picked up from a WI into March release. Where as all change sets should be picked up when performing build for June release
Please suggest on how can this be achieved?


Comments
Evan Hughes commented Mar 09 '15, 3:14 p.m.
JAZZ DEVELOPER

This looks very similar to another question you asked

One answer



permanent link
Geoffrey Clemm (30.0k23035) | answered Mar 05 '15, 12:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you use the Eclipse client, create/select a workspace on the March release, open the work items of interest, and "accept" the change sets that you want to pick up.   Similarly for the June release.
If you want to script it, then you can use a combination of the HTTP API to access the work items, and the scm command line to perform the accept operations (or if you prefer, you could use the Java API for both work items and scm).   But if you encounter merge conflicts, the scripting of the merge will be very complicated and it probably would be easier just to use the Eclipse client to do the merging.

Your answer


Register or to post your answer.