Disable Jira Issue Glance Programatically

Hello, i have developed a plugin using the spring atlassian development framework that adds an issue glance/web panel to issue view through the app descriptor atlassian-connect.json. How to disable/hide/remove this glance based on the status of the add on license? or from a spring controller based on a condition?

I have already tried adding the addon is licensed condition to the descriptor but the panel is still visible even for unlicensed instances.

1 Like