When a custom report is published, users can create schedules on the report. If the custom report is updated later on, a new instance of the custom report shows in the library. Is there a way to move report schedules from the old version of the custom report to the new version of the custom report? Or should we recreate report schedules manually?
This is user impacting as they see multiple versions of the custom report in their library; both original and revised versions.
Perhaps we are deploying the reports incorrectly.
Move the report schedules across different reports is not currently possible.
However, looking at the way you actually deploy the reports, here is what would be a good process, provided you are using and deploying Jaspersoft Studio Reports:
1. Create and test the report in Jaspersoft Studio2. Save the output as jrxml file on your local machine3. Now connect to Jaspersoft Console as superuser account4. Navigate to the Reports, find the report you want to replace, right-click - Edit5. In section Set Up, Upload a Local File - Browse and upload the new jrxml file6. Click Submit
This will replace the report with the new version, and should keep the report name and schedules as they were before. This will also help you with not having too many instances of the same report on the server, which can confuse the users.
Please note though that we recommend you do testing on lower environments first before promoting the report query to Production.
Also we recommend you keep all the jrxml files backup on a shared server so in case you need a replacement or a rollback, this is easily possible and they're accessible by the team.
P.S. Please note that the OOTB reports should not be replaced as any changes will be overwritten during upgrades or patches installation. If you need to modify an OOTB report, you have to use a copy of it, the steps are described here:https://docops.ca.com/ca-ppm/14-3/reporting/jaspersoft-studio-report-development/create-and-publish-jaspersoft-studio-reportsSection Create a Report with Sub ReportsIt shows how to copy a report with sub reports and post to another environment, same steps can be used for copy of OOTB reports too.
Hope this helps -Nika
Hi laura.w.banks - Did Nika_Hadzhikidi's response help answer your question? If so please mark as Correct Answer. Thanks!
I found this helpful as I am trying to learn to upload reports, but I need to include sub-reports. The additional link you provided does not work for me. Is there an updated link you can provide?
We have updated the link and the new link is Create and Publish Jaspersoft Studio Reports - CA PPM - 15.2 - CA Technologies Documentation and all our documentation would be under https://docops.ca.com
in case you have access to the Jaspersoft-Schema, you could change the REPORT_UNIT_URI in JIREPORTJOB for all entries of the old report to the URI of the new report.
Attention: This only works if the parameters of the report are still the same!
This allows to deploy the new report version as a new resource which gives you the security of a simple rollback and regression tests.