Disable project tab panel for certain projects when developing plugin

Rei Song September 13, 2016

I can write a custom project tab panel rather comfortably, but I'm having a hard time figuring out how to enable the panel only for certain projects. Can this be done in either the .vm template or the actual .java class? 

1 answer

0 votes
Jobin Kuruvilla [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.
September 13, 2016

How are you doing it? If you are doing it the old way, by extending AbstractProjectTabPanel class, you can override the showPanel method to show/hide the panel.

If you are doing it the new way, by defining web-items, you can use the condition classes to define what is shown. See https://developer.atlassian.com/jiradev/jira-platform/guides/projects/design-guide-jira-project-centric-view/development-guide-jira-project-centric-view for more!

Suggest an answer

Log in or Sign up to answer