When you import your Jaspersoft content from one server to another, can you change the Organization Name?

Document ID : KB000006067
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When trying to import Jaspersoft content from one environment to another, I get the following error when running the command "admin jaspersoft import":

Tenant Ids specified in the command argument doesn't match with the tenants available in the input content zip file.

 

 

Environment:
PPM OnPremise 14.2, 14.3, 14.4 and 15.1with Jaspersoft 5.6.1, 6.1 and 6.2.1
Cause:

The root cause if the Organization Name cannot be changed when importing.  

 

Resolution:

If you exported it out with the organization name of PPM, it needs to be imported with the organization name of PPM.  Example:

Export:

./admin jaspersoft export -orgName PPM -fromUserName superuser -fromPassword XXXX -fileName ppm.zip -fromURL http://<jaspersoftserver>:8080/reportservice

Then the import command would be:

./admin jaspersoft import -orgName PPM -toUserName superuser -toPassword XXXX -fileName /opt/ppm.zip -toURL "http://<jaspersoftserver>:8080/reportservice"