Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Plugin web-item in new tab or new window

Hi there, I am newbie in atlassian development...

First of all, I tried to search and i found some topics in the comunity but the responses did not work for me.

I am developing a plugin for Jira Software Server with a top menú navigation with web-section(s) and web-item(s) and I would like to open the external links in new tabs or new windows.

I readed in the documentacion and some posts but the links always open in the same tab that jira is running.

This is part of my code...

<web-resource key="ExternalLinks-resources" name="ExternalLinks Web Resources">
<resource type="download" name="ExternalLinks.css" location="/css/ExternalLinks.css"/>
<resource type="download" name="ExternalLinks.js" location="/js/ExternalLinks.js"/>
<resource type="download" name="images/" location="/images"/>
<!-- Acces to ...-->
<web-item name="item-acceso-a" i18n-name-key="" key="item-acceso-a" section="" class="arquia-menu" weight="1000">
<description key="item-acceso-a.description">Acces to...</description>
<label key="item-acceso-a.label"/>
<link linkId="item-acceso-a-link" />

<!-- Public ...-->
<web-section name="sectionPublic" i18n-name-key="" key="section-public" location="item-acceso-a-link" weight="1000">
<description key="section-public.description">Public section</description>
<label key="section-public.label"/>
<!-- Google -->
<web-item name="Google" i18n-name-key="" key="google" section="item-acceso-a-link/section-public" weight="1000">
<description key="google.description">Google</description>
<icon width="24" height="24">
<link linkId="google-icon">/icons/google.png</link>
<label key="google.label"/>
<link linkId="google-link"></link>
<param name="target" value="_blank" />

Thanks in advance!

1 comment

Me too looking for a solution for the same problem. Note. we use Jira licensed version. 



Log in or Sign up to comment

Atlassian Community Events