Pull request title auto-formatting Jiras? Not sure if this is intended or if I should contact GitHub

When creating a new pull request, the title is taken sometimes from the branch name, sometimes from the commit message. I think it’s based on if a PR is made from a branch with multiple commits (so it takes the branch name), but when the title is taken from the branch name, the JIRA numbers gets auto-formatted in a way that’s not consistent.

For our commits and branches, we format them like this:

Commits: JIRA-1234 Do something

Branches: JIRA-1234_do_something

The title taken from the commit message looks the same, but from the branch name:

Jira 1234 do something

Removing the underscores is fine, but I don’t like how the project name is titlecased and the dash is removed. Is there a way to prevent or control the auto-formatting from the branch name when there are multiple commits in the branch?

Thanks!

2 Likes

Hi @stevenmchoi,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the How to use Git and GitHub board. No action is needed on your part; you can continue the conversation as normal here.