I'm trying to add "IsAdminCondition", but my web-item is not visible for "admin" users.
<web-item name="Button" i18n-name-key="button.name" key="Button" section="system.top.navigation.bar" weight="1000">
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.
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