WebItem - open link in new tab

Hello guys,

i try build dynamically new menu in Jira, but i can’t programmatically set links to open in new tab, any suggestions?.

I don’t want to use javascript, I’d like to do it on the server side

WebItem link = new WebFragmentBuilder( weightProject )
                .id( "menu_link_project_" + projectKey )
                .label( projectName )
                .addParam("iconUrl", avatarUrl)

Best regards

What if you do

.addParam("target", "_blank")

Unfortunately adding this param doesn’t work