Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add web-item to top-level bar

Albert Cameron August 20, 2021

Right now my web-item in atlassian.xml looks like this:

<web-item name="MyItem" section="operations-top-level"  i18n-name-key="afo-befuellen-button.name" key="afo-befuellen-button"  weight="1000">
.
.
</web-item>

My web-item appears in section operations-top-level.

Would be ok . But it appears in a drop down menu  namely "More actions".

So the user first has to click on "More actions" and then again on the web-item.

But I want my web-item not to appear in the drop down menu !!!

How can I do this ?

I found this link Issue view UI locations (atlassian.com) .

There they also say that it is put under the "More actions" drop down box.

But is there a way to not put it there ?? Thanks for your help !

1 answer

0 votes
Albert Cameron August 20, 2021

What I already found out :

section="transitions-all"

transitions-all will put it in drop-down menu of "Workflow" .

And finally 

weight="1"

moves it out of drop-down box .

But another button now was into drop-down box . 

Maybe if both buttons have same weight , then it will work 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2021

There are only a limited number of spaces in the menu bar, and when there are more than that limit to display, the screen puts the over-the-limit ones into the drop-down.

When you weight your item above others, it moves into the menu bar, but it has to push something (with a higher weight) into the more-actions drop-down.  It doesn't matter how you weight your item, it's going to push something into the drop-down.

For what it's worth, I would recommend not weighting your item at 1, there are more useful things to have in the bar, weight it after the more useful actions.

Suggest an answer

Log in or Sign up to answer