Clarity

 View Only
  • 1.  When a new version of a report is published in Jaspersoft, can report schedules from previous report version be moved to new report version

    Posted Jun 09, 2016 02:41 PM

    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.



  • 2.  Re: When a new version of a report is published in Jaspersoft, can report schedules from previous report version be moved to new report version
    Best Answer

    Broadcom Employee
    Posted Jun 13, 2016 04:17 PM

    Hi Laura,

     

    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 Studio
    2. Save the output as jrxml file on your local machine
    3. Now connect to Jaspersoft Console as superuser account
    4. Navigate to the Reports, find the report you want to replace, right-click - Edit
    5. In section Set Up, Upload a Local File - Browse and upload the new jrxml file
    6. 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-reports
    Section Create a Report with Sub Reports
    It 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



  • 3.  Re: When a new version of a report is published in Jaspersoft, can report schedules from previous report version be moved to new report version

     
    Posted Jun 20, 2016 07:49 PM

    Hi laura.w.banks - Did Nika_Hadzhikidi's response help answer your question? If so please mark as Correct Answer. Thanks!



  • 4.  Re: When a new version of a report is published in Jaspersoft, can report schedules from previous report version be moved to new report version

    Posted Aug 08, 2017 04:47 PM

    Nika,

     

    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?



  • 5.  Re: When a new version of a report is published in Jaspersoft, can report schedules from previous report version be moved to new report version

    Broadcom Employee
    Posted Aug 09, 2017 03:29 AM

    Hi Michael,

     

    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

     

    Regards

    Suman Pramanik



  • 6.  Re: When a new version of a report is published in Jaspersoft, can report schedules from previous report version be moved to new report version

    Posted Sep 11, 2017 09:08 AM

    Hi Laura,

     

    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.

     

    Best regards

    Georg Schmid