Documentation for JIRA 4.3. Documentation for other versions of JIRA is available too.

This isn't really possible at the moment. You could work around this by implementing the method

boolean showReport();

and utilise the fact that JIRA stores the current project in the session. For example, you can find the currently selected project ID by calling.

(Long) ActionContext.getSession().get(SessionKeys.SELECTED_PROJECT);

You can then use this in your showReport method to return true for false depending on the project.