Combining change sets

You can combine multiple change sets into a new, single change set.

About this task

The Combine Change Sets option is active only when the Outgoing folder of a component contains two or more change sets.

Procedure

  1. In the Pending Changes view, navigate to the Outgoing folder of the component that contains the change sets to combine.
  2. Right-click the Outgoing folder and click Combine Change Sets.
    Note: To combine specific change sets in the Outgoing folder, select the change sets you want to combine, right-click and then click Combine Change Sets.
  3. In the Combine Change Sets wizard, view the list of change sets to combine and select one of the following options:
    • To discard the old change sets, click Discard and click Next.
    • To suspend the old change sets, click Suspend and click Next.
  4. On the second page of the Combine Change Sets wizard, in the Enter a comment for the new change set field, enter a comment.
    You can also select a previously used comment from the Select a previously entered comment list.
  5. Select one of the following options:
    • If you do not want to associate a work item with the change set, select Do not select a work item to associate with the new change set.
    1. Optional: To remove old combined change sets from the work item, select the Remove old combined change sets from the selected work item check box.
    2. Click Finish.
    • If you want to associate a work item with the change set, select Select a work item to associate with the new change set.
    1. Optional: To remove old combined change sets from the work item, select the Remove old combined change sets from the selected work item check box.
    2. Click Next.
    3. Use any of the following option to find the work item that you want to link:
    Options Description
    Search by Keyword or Work Item Number This option allows you to search for a work item by entering the keywords or work item number in the search field.

    This option is selected by default.

    Open Assigned to Me This option displays the open work items that are assigned to you.
    Search by Query This option displays queries available in the project area. You can search for a query by entering the keywords in the Search field or expand the respective folder to select the appropriate query. After you have selected a query, all work items that satisfies the query are displayed.
    If you change the project area, the work items and queries of the selected project area are displayed.

    You can also use the Create work item option to create a new work item and link it to the current change set.

    Note: You can set any of the above options as a default preference from the Preferences window for future operations. See Setting work item filtering preferences.