Merge button on the branch view page is greyed out and shows "You do not have permission to merge this branch to XXX" message

XMLWordPrintable

    • 19
    • Severity 3 - Minor
    • 43,979
    • Warranty

      Issue Summary

      While trying to merge branches from the branch view page(Branches -> select the source branch -> click (...) -> Merge, the Merge button on the branch view page is greyed out and shows "You do not have permission to merge this branch to XXX" message

      Steps to Reproduce

      1. Create a new branch "feature" in a repo and make some changes
      2. Navigate to Branches page -> Click on the feature branch we just created
      3. Click (...) -> Merge

      Expected Results

      • The diff is loaded correctly
      • If there are no conflicts and branch restrictions blocking merge access, you should be able to merge the feature branch into destination

      Actual Results

      • The diff is loaded correctly
      • Even if there are no conflicts, sometimes it shows that there are conflicts
      • Even though there are no branch restrictions blocking merge access to the user, the merge button is greyed out and shows You do not have permission to merge this branch to XXX message.

      Another issue is that if we change the destination branch, the diff is not updated until page refresh.

      Workaround

      • After loading the diff, change the "destination" branch to a different branch and then change it back to the "destination" previously listed or refresh the page

            Assignee:
            Edmund Munday
            Reporter:
            Swetha Boyapati
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: