Deploy .jasper to jasperserver using restAPI

Hi

I have several jasper reports. They are compiled in my machine.

It's possible using rest api v2 , upload all this .jasper resports to my jasper server?

I need to do this, in java, and i'm noot finding a solution that works 

regards

M.

 

 

marta.imoliveira's picture
Joined: Apr 29 2016 - 12:42am
Last seen: 6 years 10 months ago

3 Answers:

Yes. It's possible to import a report using REST APIs. It's also necessary to import datasource, images, and other resource that a report needs before importing a report.

http://community.jaspersoft.com/documentation/tibco-jasperreports-server...

hozawa's picture
171253
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago

Hi

thanks for your awnser, but it is possible upload an compiled report unit that is not a zip file?

this import  service is to a zip file, but i have .jasper files

thanks

M.

 

marta.imoliveira's picture
Joined: Apr 29 2016 - 12:42am
Last seen: 6 years 10 months ago

I did it with jrxml file. If I remember correctly, I was using the resource service. Set the mime type to "application/jrxml". Not sure about jasper.

http://community.jaspersoft.com/documentation/tibco-jasperreports-server...

hozawa's picture
171253
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Feedback