Please share screenshot of html portlet output when you click with url bar so that we can understand and analysis your issue, as code seems to be correct
and i'm also assuming two things:
1) project_code is a input control where you have mapped that to projects internal id as you have capture internal id from CA PPM URL and then passed that to report
2) you have set jasper reports input control setting as "Always Prompt " to No so that report directly run by passing Parameters from URL for report execution.
Regards,
Prashank Singh