Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I leverage the Locate Change Sets feature in RTC 4.0.3 to bulk promote change sets associated to a work item?

Hello,

I am working with RTC 4.0.3 and I am trying to move groups of change sets between streams.  The scenario is that I have a maintenance project that works on the basis of a CR.  Each CR work item has an x amount of change sets associated to it that are work on multiple components and are submitted by multiple users.  My goal is to be able to promote all change sets associated to a single work item from one stream to another (in this case DEV -> SIT environments).

Using the Locate Change Sets option I can quickly see which change sets of a work item are not present in a target stream.  Under the Search Targets section I can select a target (SIT) and click on "Show Result Details" to load the results in the Search window.  Here is a screenshot of the status:


What I would like to do now is simply select the work item and in some way accept them into the SIT environment.  How can I accomplish this?

Regards,

Andrew

0 votes


Accepted answer

Permanent link
I would recommend creating a repository workspace based on the SIT stream and accept the changes into there. There is no accept action from Locate Change Sets but you can open the change sets in Change Explorer. From there, you can accept the change sets into your repository workspace and deliver to the SIT stream. I think this is your best option. There isn't a way to accept those change sets directly into your stream. Using a repository workspace is best in case there are conflicts to resolve.
Andrew Trobec selected this answer as the correct answer

1 vote

Comments

@tmok

Hello Tim,

Thanks for the reply.  I am already aware of this approach to promote between streams and workspaces, but my problem is different.  What I want to do is be able to work on the basis of work items rather than individual change sets, and this is because one work item can have many change sets and I don't want to have to browse every component in order to identify what to promote.

Instead of accepting a set of change sets I would like to right click on a work item and accept it and automatically accept all the change sets associated to it.

How can I do this?

Regards,

Andrew

You can open the work item and accept the change sets from the Links tab. However, it will still only accept into a repository workspace.

@tmok

Hello Tim,

Thanks for pointing out this feature to me!  It definitely helps, but doesn't quite resolve my problem entirely.

Suppose I have 20 work items that I need to promote.  With this approach I have to open each one, accept the changes into my workspace, then deliver those changes to the stream.  Is this the way to go, or is there a quicker way?

Regards,

Andrew

Pending Changes can display changes grouped by work items. If you use your SIT repository workspace and flow with the DEV stream, you can switch Pending Changes to the work items grouping and see the change sets grouped by work item. You still have to expand the work item node and select the change sets to accept but it might be easier than opening work items.

Using this method, you could also show the SIT stream in Pending Changes to do the same thing. This bypasses the need for the repository workspace as long as you set the SIT stream flow target to the DEV stream and you only care about changes from the DEV stream. However, you won't be able to resolve any conflicts this way.

 @tmok

Hello Tim,

How do I display changes grouped by work items?  I can't find the option in my Pending Changes.

Regards,

Andrew

Pending Changes work items grouping
That's what it looks like with the button to press to switch the view mode highlighted in green.

 @tmok

Hello Tim,
This is excellent!  Thank you!
It would be nice to be able to use nested work items here as well in the same way you can drill down from a parent work item to its children to look for change sets in the Locate Change Sets functionality.
Regards,
Andrew

showing 5 of 7 show 2 more comments

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202

Question asked: Apr 28 '14, 7:27 a.m.

Question was seen: 4,701 times

Last updated: Aug 02 '16, 12:07 a.m.

Confirmation Cancel Confirm