It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Web item condition is not working Edited

I'm trying to add "IsAdminCondition", but my web-item is not visible for "admin" users.

<web-item name="Button" i18n-name-key="" key="Button" section="" weight="1000">
<description key="button.description">Button</description>
<condition class="com.atlassian.jira.plugin.webfragment.conditions.IsAdminCondition"/>
<label key="Button"/>
<link linkId="button-link"></link>




3 answers

1 accepted

2 votes
Answer accepted

@Tuncay Senturk _Snapbytes_ & @Andrew Thanks for your response.

It worked after importing "com.atlassian.jira.plugin.webfragment.conditions" in pom.xml and executing "atlas-clean".


<Import-Package>com.atlassian.jira.plugin.webfragment.conditions, org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *</Import-Package>

Hello @navya k 

Is there anything wrong in the application logs? As far as I see your condition is OK and I believe it should work.

Anyway, alternatively try below condition


and if that does not work either, please see the logs, there should be something which will give us clue.

Tuncay Senturk

Hi @navya k ,

Could You please try with different 


E.g. 0, 10, 100... I have case when item showing only with specific weight.


Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you