1. Bitbucket
  2. Public Issue Tracker
  3. master

Issues

Issue #9229 resolved

Pull request title does not auto fill

adrianUken
created an issue

I've noticed in some situation that the pull request title gets automatically filled in, but the vast majority of the time it is left blank. Is there a pattern to when this occurs or is it a bug? (I use Chrome Version 33.0.1750.146 if it matters)

In general I'd like to have it auto fill in something ("Branch A -> Branch B" would be a good start).

Comments (4)

  1. Erik van Zijst staff

    Yes, we pre-fill the title only for pull requests that contain just one commit. In that case we use the first line of the commit message.

    However, when there are multiple commits in a pull request, we don't know which message to choose and don't pre-fill anything.

    I hope that clarifies things a bit.

  2. adrianUken reporter

    Thanks for the response. Is there any chance that an auto fill option for pull requests with more than one commit will be added? Even if it's something as simple as the branch name, it would be useful in many cases.

  3. Erik van Zijst staff

    Even if it's something as simple as the branch name, it would be useful in many cases.

    I'm not really sure about that to be honest.

    Like the first line of a commit message, a pull request title is meant to give a brief summary of the code changes. Branch information is contextual. If we'd default to pre-filling the summary for code changes with contextual/meta data, we might be sending the wrong message to novice users.

  4. Log in to comment