Is there a method to get all the LiveDoc Documents of a project I want to use this in Scheduler script
Luckily there is a nice function in the API which is never exposed to the Polarion UI (would really like to hear the story about this).
This is a velocity script getting all Documents (They are called "Modules" in the API) in a single project:
#foreach($doc in $trackerService.dataService.searchInstances($trackerService.dataService.getPrototype("Module"), "project.id:$page.project", "space,id"))
* $doc.id
#end
The API call searchInstances()
can find you anything: User, Workitems, Testruns, Documents ,etc.