Custom Logic For Branch Name Template
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=389277)
</details>
<!--IssueSummary end-->
<!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.-->
### Proposal
At this moment, there are only two variables available for branch name template generated for issues:
* %{id} - iid of the issue
* %{title} - hyphenated title of the issue
Our team have been long working with Semver Branches and I was asked if we could have someway of templating a next semver tag on Branch Name Template.
Supposed latest Tag on project is 2.3.4 and Branch Name Template is configured to be something like `%{nextSemverPatch}` the recommended branch generated by the issue would be 2.3.5. Same for `%{nextSemverMinor}` and `%{nextSemverMajor}`.
This will help our team a lot, not sure if other people would benefit from it.
Relates to https://gitlab.com/gitlab-org/gitlab-foss/-/issues/21143
issue