Jira commit message to include branch name
Description
Currently with Jira integration commit message does not include branch name. Would be beneficial to include branch name so it can be easily figured out what branch it's applied too (now user need to click on it and view it manually). We hitting this issue when fixing one issue in our software on multiple branches, somebody then double checking Jira loog and need to make sure that commit that is included as message is applied to correct software release.
Proposal
Commit message to look like: User mentioned this issue in a commit of / for branch :
Not sure is that should be global setting but maybe tick box in Jira integration configuration? Enable / Disable branch name.
Links / references
I think file that actually posting this comment to Jia: https://github.com/gitlabhq/gitlabhq/blob/403cb125f5e2aced8088f24966624519f6e11e29/app/models/project_services/jira_service.rb