Jump to content

Scheduling Job for Dashboards via REST API NOT Working


nojha

Recommended Posts

I'm a newbie using jasper reports server (version 6), and stuck while creating job schedule through Rest API. I'm trying to schedule jobs to run reports and dashboards using  "jaspersoft/rest-client" package in Laravel (PHP Framework).

Its working perfect for reports but not for dashboards. For dashboards, the input controls are not passed/saved with the newly created job. I guess this might be caused by the fact that dashboards do not have their own input controls but they take them from the reports attached to dashboard. The API do not throw any error and it creates job successfully but the input parameters values are not retained for dashboards (works for reports). I also checked server error log and it shows an unexpected error for input controls (full error message below). I have confirmed that all parameter values are passed correctly.

If dashboard jobs are created directly from Jasperserver UI, it works perfectly and all the parameters are saved with Job.

Can anybody help me to fix this issue?

ERROR: GenericExceptionMapper,http-nio-443-exec-12:47 - Unexpected error occurs
com.sun.jersey.api.NotFoundException: null for uri: URI/inputControls//values?_=1526278138825

I have spend couple of days just to find solution to this problem without any good luck so any help would be highly appreciated.

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...