sibasankar Posted February 22, 2022 Share Posted February 22, 2022 is there any way i can fetch the list of reports with their path in my jasper server Link to comment Share on other sites More sharing options...
bigalex Posted February 22, 2022 Share Posted February 22, 2022 https://yourjasperserver.com/jasperserver/rest/resources/reports?type=reportUnit&recursive=1You may need to copy and paste it to the notepad++ to remove unwanted tags. Of course, this is not an ideal solution, but you will get list of all reports from the JasperServer. Link to comment Share on other sites More sharing options...
yama818 Posted February 24, 2022 Share Posted February 24, 2022 This is also not ideal, but I think you can get it by referring directly to the repository DB data.This is not a guarantee of perfection, so use it at your own risk.(SQL is for PostgreSQL). SELECT r.label ,concat(f.uri,'/',r.name) as path ,f.uri as parent_folder ,r.name ,r.descriptionFROM jiresource rJOIN jiresourcefolder f ON f.id = r.parent_folderWHERE r.resourceType like '%ReportUnit%';[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now