Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,386
Community Members
 
Community Events
184
Community Groups

[Solved] How to add web item in global header(?)

Edited

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?

1.png

Answer me.

 

Thank you.

1 answer

1 accepted

0 votes
Answer accepted
Richard White _TechTime_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Sep 23, 2020 • edited

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:

web-item.png

I tried it again and it worked. 😅😅

 

Thank you.

where do we need to provide this code

Richard White _TechTime_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Jul 09, 2021

@Pradeep AThis goes into the atlassian-plugin.xml file. You can read more about it here

@Richard White _TechTime_  Sorry I'm new to jira I dont know how to access this

atlassian-plugin.xml 

Richard White _TechTime_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Jul 12, 2021 • edited

@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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events