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)
                .webItem("menu_links_section_root/my_own")
                .url(linkUrl)
                .build();
...

Best regards
Adam

What if you do

.addParam("target", "_blank")

Unfortunately adding this param doesn’t work