Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-216

Merge check to block a merge based on a condition

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.3.15
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Jan 29
    • Critical Points:
      0

      Description

      Writing a custom merge check is quite convoluted because you have to veto the merge request.

      It would be more intuitive if we provided a built-in one that blocks the merge if the condition evaluates to true. It could take a custom error message, or a self-diagnosing condition to display a custom message about why the changes could not be merged.

      It would be a similar principle to a simple scripted validator/condition in JIRA.

        Attachments

          Activity

            People

            Assignee:
            rgiddings Robert Giddings
            Reporter:
            amarkham Adam Markham
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: