Plugin access URL project.key vs projectKey

Hi

We have started recently developing plugin for Jira cloud and run in to the following issue, we have done a sample agile report

when we access the report …it will be via the following URL
https://xx.atlassian.net/plugins/servlet/ac/com.xx.myapp/report-example?project.key=HRP&project.id=10200
But the left menu will change to a general menu rather than the project menu

But if I change the url parameter to “projectKey” it shows the proper project menu on the left.
https://xx.atlassian.net/plugins/servlet/ac/com.xx.myapp/report-example?projectKey=HRP

How can I instruct to keep the project menu or change the parameter from project.key to projectKey ?