Create a link in the veto window

Hi, I’m have a mergeHook on my bitbucket plugin and I want to add a link to an html page on the veto window.

this is what I currently have :
21%20PM

is there a way I can make the http link an href so it will be presseble?

this is my current code :

            reportText = "New Errors. Visit http://localhost:8080/report?id=" + htmlId;
            context.getMergeRequest().veto("Errors ", reportText);

Thanks!

I do not believe this is possible, see [BSERV-4428] Support for markup in merge check veto details - Create and track feature requests for Atlassian products.

1 Like

@HadarEpstein no, unfortunately, that’s not possible. One option that might be worth exploring is to push a Code Insights report for the failure, which does support a link to an external location.

I’ll check it out thanks. It seems like the way to go…