When releasing a project with maven and when the repository is protected with a commit hook that requires an issue number, it would be interesting to get the projects key as a parameter in your bitbucket pipeline.
If it would be available, it would be possible to set a default scmCommitPrefix using this parameter.