Include a custom query parameter in reports, IDM

Hi All, 

I am creating a report using jaspersoft studio.  I have made changes in the dataset and include everything in reports. I wanted to include a custom query parameter in the report so that I can use that to display necessary data. I am do it fine in the jaspersoft studio by creating a parameter and then editing the source code of the TemplateReport.jrxml file. But it is not visible in the report module. I would like to know how to include custom parameter in the report module.