Hi, We are using Bitbucket server v8.5.1 and our requirement is to have jira task name as part of pull request title. Hence, is there any way to prepend or append the feature branch name(e.g. feature/abcd-1234) as part of PR title. Thanks in advance.
It doesn't perfectly answer your question, but one thing you can do is add checks on the branch names and commit message such that they always include the related JIRA issue key. For example, you can use branch permissions to disallow creating feature branches that don't follow a pattern like `ABCD-*`).
There is also the Commit checker released in 7.16 for enforcing issue keys.
If you do that, the default PR titles will have Jira keys in the name by default.
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.