Describe the bug
When we fix an issue with a PR on a branch other than the main branch develop, the linked issue will not be closed automatically.
We have to close it manually, see the attached screenshot below:

Expected behavior
When the PR is merged, the linked issue should be closed with the label Fixed, and if the issue contains any other label (like NeedsSpecs, Ready, WIP, Blocked) the label should be removed.

Steps to reproduce
- Try to create a PR with a base branch
8.0.x (for example)
- Linked it to an issue
- The label PR available will be add auto to the issue
- Merge the PR
- See error > the issue is not closed