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

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.



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

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



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


./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"