I ran into an issue where two people created a branch in Bitbucket for an issue. One developer completed the task and his code was merged into the repo in Bitbucket cloud. This completed the associated issue in Jira, and the issue was automatically moved to Done.
The issue today came when the second developer deleted the branch he had created for that issue. This caused the Jira issue to be moved from Done to In Progress. The only possibility I can find is that it has to do with Smart Commits, but I can't find anything for certain on if that is the issue, and if it is, how to edit it.
The rest of the functionality we need, but this causes a serious amount of confusion because it was 10 branches that were deleted causing 10 completed issues to be moved back to In Progress.
Any thoughts on how to keep this from happening?