I have built a jira meu plugin with multiple sections. However, after the plugin is installed there is only a separator between the first and second section. There is no separator between the second and third sections. Is there a away to make the separator show up for grouping the menu items effectively?
Also, is there a way to make links in the menu open in a new tab in stead of openning in the same tab?
You're going to need to tell us a lot more about your plugin's layout - what separators are you talking about precisely? Where are things appearing? What classes are you using in your html layout and what does your css say? And so on?
To make links open in a new tab, you can use target="_blank" in your <a href... tag, but bear in mind that isn't always a tab - it can be "new window" and most browsers allow the users to choose - you can't force tab/window
Thank you for the quick response. This was built using the example from https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Adding+your+own+Menu+Items+to+JIRA. Here is the section of my atlassian-plugin.xml:
<!--ZD Main Menu Item --> <web-item key="zd_links_link" name="Link on ZD Links Main Section" section="system.top.navigation.bar" weight="47"> <label>ZD Links</label> <link linkId="zd_links_link">http://my.jira.loc</link> </web-item> <!-- ZD Menu Sections --> <web-section key="zd_links_section" name="ZD Links Main Section" location="zd_links_link" weight="10"/> <web-section key="tb_section" name="ZD Links TB Section" location="zd_links_link" weight="20"/> <web-section key="b2b_section" name="ZD Links B2B Section" location="zd_links_link" weight="30"/> <!-- ZD link Section --> <web-item key="confluence_link" name="ZD Confluence" section="zd_links_link/zd_links_section" weight="10"> <label>ZD Confluence</label> <link linkId="confluence_link">http://my.confluence.loc</link> </web-item> <!-- TB Link Section --> <web-item key="tb_config_link" name="TB Config Web Site" section="zd_links_link/tb_section" weight="10"> <label>TB Config</label> <link linkId="tb_config_link">http://my.conf.loc/</link> </web-item> <web-item key="tb_reports_link" name="TB Reports Web Site" section="zd_links_link/tb_section" weight="20"> <label>TB Reports</label> <link linkId="tb_reports_link">http://my.reports.loc/</link> </web-item> <!-- B2B link Section --> <web-item key="yard_link" name="Yard Web Site" section="zd_links_link/b2b_section" weight="10"> <label>The Yard</label> <link linkId="yard_link" target="_blank">https://my.yard.loc</link> </web-item> <web-item key="configurator_link" name="Configurator Web Site" section="zd_links_link/b2b_section" weight="20"> <label>Configurator</label> <link linkId="configurator_link" target="_blank">http://my.configurator.loc/</link> </web-item>
What is occurring is that there is a section separator line that appears between the ZD link section and the TB link section in the drop down after the plugin has been compiled and deployed. However a separator line does not appear between the TB link section and the B2B link section.
Our management has asked for a separator line between each section. I can't figure how to force that separator line to appear. From reading the development guides, it appeared that creating sections would result in the separator lines but it did not work as I understood it.
Addtionally they asked for the links to open in a new tab/browser for the B2B section. But, adding the value target='_blank' to the link in the xml did not produce that result either.
So I was hoping that I would find someone that had already figured these two items out so I could give our management what they want.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG