Portlets have been deprecated in JIRA 4.0. If you're upgrading to JIRA 4.x, consider a tandem upgrade to a Confluence version that supports gadgets, then change the jiraportlet macros to use gadgets instead. See Migrating from JIRA Issues and JIRA Portlets to Gadgets.