Bulk operations on changesets
Bulk operations allow a single action to be performed across many changesets in a batch change.
Selecting changesets for a bulk operation
Click the checkbox next to a changeset in the list view. You can select all changesets you have permission to view.
If you like, select all changesets in the list by using the checkbox in the list header.
If you want to select all changesets that meet the filters and search currently set, click the (Select XX changesets) link in the header toolbar.
In the top right, select the action to perform on all the changesets.
Supported types of bulk operations
- Commenting: Post a comment on all selected changesets. This can be particularly useful for pinging people, reminding them to take a look at the changeset, or posting your favorite emoji 🦡.
- Detach: Only available in the archived tab. Detach a selection of changesets from the batch change to remove them from the archived tab.
- Re-enqueue: Only available if filtering by state
failed. Re-enqueues the pending changes for all selected changesets that failed.
- Experimental Merge: Only available if filtering by state
open. Tries to merge the selected changesets on the code hosts. Due to the nature of changesets, there are many states in which a changeset is not mergeable. This won’t break the entire bulk operation, but single changesets may not be merged after the run for this reason. The bulk operations tab lists those where merging failed below the bulk operation in that case. In the confirmation modal, you can select to merge using the squash merge strategy. This is supported on both GitHub and GitLab, but not on Bitbucket Server / Bitbucket Data Center. In this case, regular merges are always used for merging the changesets.
- Close: Only available if filtering by state
draft. Tries to close the selected changesets on the code hosts.
- Publish: Publishes the selected changesets, provided they don’t have a
publishedfield in the batch spec. You can choose between draft and normal changesets in the confirmation modal.
Monitoring bulk operations
On the Bulk operations tab, you can view all bulk operations that have been run over the batch change. Since bulk operations can involve quite some operations to perform, you can track the progress, and see what operations have been performed in the past.