Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-2068

Backport command should use default branch of repo as default

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • bots
    • None

      When the /backport command is used without specifying a branch, it's currently using "master" as the default. This happens to be the default branch in most of our repositories, but not all. A better default would be the configured default branch for the target repository. This value happens to be available in the repository JSON as "default_branch" in both GitHub and GitLab, so should be fairly easy to implement (and cheap as no additional rest calls are needed).

            zsong Zhao Song
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: