I have defined web section plugin module in my atlassian-plugin.xml
<web-section key="pluginkey" name="pluginname" location="admin_plugins_menu" weight="100" state="disabled">
<label key="plugin space"/>
<condition class="com.atlassian.jira.plugin.webfragment.conditions.UserIsAdminCondition" />
and by default its state is disabled. I am also using atlassian licensing api.
I want to display this web section to user only after perfrming validation on jira-license.
how do I make web section enable again after perfroming license check?
I think it is as straight forward as writing a new validation class and define that class name in your web-item definition in the atlassian-plugin.xml
And in the validation class, use the license api and check for the license status.
I think that you have missed , web-item or in location replace "admin_plugins_menu" with
look to this example, it can help you.
The role of IT professionals has become increasingly difficult over the last decade. Our organizations work in an increasingly software-powered world and IT professionals are expected to not...
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