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" />
<link>/plugins/servlet/accesslog/view</link>
</web-item>
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?
Answer me.
Thank you.
Hi,
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pradeep AThis question was about add a header item into a custom Bamboo app. If that it indeed what you are looking for, you can get started here.
In general, if the question is a development one - it will be better answered in community.developer.atlassian.com.
Otherwise, if you question is actually about Jira - it may be worth having another search or asking a separate question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.