|
|
|
Hi Phong, yes, of cause you can use Groovy script to do the job.
For example, to list all Dashboard: DashboardManager.instance.getAll() to get a specific Dashboard with id = 123: var dashboard = DashboardManager.instance.get(123) to save: DashboardManager.instance.save(dashboard) You may refer to the QuickBuild source code for more. Thank you for promptly response and the information, Steve!
Can I interact with dashboards in Groovy instead of REST APIs? You may consider to use RESTful API to import/export the dashboards:
https://wiki.pmease.com/display/QB15/Interact+with+Dashboards For user permission, you may also consider to use RESTful API: https://wiki.pmease.com/display/QB15/Interact+with+Configuration+Authorizations#access-authorizations-of-a-particular-group |
ptrinh