github / github/gh-gei

When `bbs2gh migrate-repo` is interrupted, cancel any in progress Bitbucket Server exports

Open
#877 0 comments 0 reactions 0 assignees View on GitHub
bbs task
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

When you start a Bitbucket Server export with `gh bbs2gh migrate-repo`, you might want to stop this export - for example if you discover that you exported the wrong repo, it is taking too long or your Bitbucket Server's resources are getting consumed too quickly.

When `migrate-repo` is interrupted during the Bitbucket Server export process, we should cancel the running export on the Bitbucket Server using the [REST API](https://developer.atlassian.com/server/bitbucket/rest/v807/api-group-system-maintenance/#api-api-latest-migration-exports-jobid-cancel-post).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.