Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8606

MergeRequest veto will display HTML tags in Merge button tooltip

    XMLWordPrintable

Details

    Description

      When I use com.atlassian.bitbucket.scm.pull.MergeRequest public method:

      public void veto (String summaryMessage, String detailedMessage)

      I noticed that if I use HTML tags in the detailedMessage it will render the HTML in the modal window that appears when the Merge button is clicked, however if there is only 1 veto then the tooltip that appears when hovering over the Merge button will display the detailedMessage including HTML tags. If there are multiple vetos, it will say "This pull request can't be merged. Click for details."

      I think if there is only 1 veto, the tooltip should display the summaryMessage, followed by "Click for more details." which opens the modal window and displays the detailedMessage. This would avoid the ugly exposing of HTML, provided that there is no HTML in the summaryMessage.

      Attachments

        Issue Links

          Activity

            People

              jvanderloo@atlassian.com John van der Loo (Inactive)
              ddd7a4078c16 Adam Raitanen
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: