Hi, I'm developing bamboo plugin.
So, I add web item in global header. So that I wrote the code like this in atlassian-plugins.xml
<web-item key="user-access-log-view" section="header.global.primary">
<label key="Access log" />
But, it doesn't not work. (header.global.primary/build.menu/build.main work!!)
Can't the Bamboo make a new button in global header?
A few things which might help:
- generally get better answers to development queries over in https://community.developer.atlassian.com/c/bamboo-development
- If you didn't already know, you can use the Web Fragment FInder plugin in development environments to find all web item locations.
To answer your actual question:
"header.global.primary" works for me.
The following code (generated by web fragment finder)
<web-item key="web-item-example" name="My Web Item" section="header.global.primary" weight="200"><description key="my-web-item-desc">General description</description><label key="my-web-item-label" /><link linkId="my-web-item-link">/my-web-item</link></web-item>
Shows the following web item:
I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events