Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14806

Require issue keys in commit messages: restrict on regexp per repository

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Hello,

      currently the "Require issue keys in commit messages" adds a default check on regexp for jira issues from the link:
      (((?P<linker_value>([\w-]+))-\d+))
      This regex is not changeable. Adding new link with other regex is ignored.

      It would be great if the regex check on valid Jira issues is configurable for each repository. e.g.:
      repository 1 -> valid allowed issue key: ABC-\d+
      repository 2 -> valid allowed issue key: XYZ-\d+

      All other jira issue matching default regex should not be allowed.

      rgds

      Attachments

        Issue Links

          Activity

            People

              rstocker Robin Stocker (Inactive)
              c28c9b839a7b Stefan Tausendpfund
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: