github-for-jira
github-for-jira copied to clipboard
WIP ARC-1090: delete builds and deployments on repository delete
When a user deletes a GitHub repo, the GitHub app currently deletes the commits, branches, and pullrequests from Jira, but not the builds and deployments.
This PR adds deletion of builds and deployments as well.
I chose not to feature flag this change as I tested it successfully in staging and deleting a repository is not a function that is used too often.
Issue view before deleting the repo in GitHub:

Issue view after deleting the repo in GitHub:

No builds and deployments anymore :)