Contributions
Get metrics data via JSON API
Hello, I’m trying to pull down review data through automation without using the built in review reports. For example, I want to get every review that was completed in the last week using an automated script. I’ve looked into the JSON API and there doesn’t seem to be a way to get concise data (e.g. search by completion date). Is there a way for me to do this, and if so how? Note that I’m not an admin and don’t have access to our server. I’m a regular user trying to get metrics data.882Views4likes0CommentsfindReviews method referenced in JSON API
I’m trying to use Code Collaborator’s JSON API (collab-common 11.5.11503 API)to find reviews by searching for a particular field, however I’m having trouble understanding how to use the findReviews method in the API. The goal is to search a certain field for a particular string in order to find reviews. For example: {"command":"ReviewService.findReviews", "args":{"searchText":"Updater", "customFieldName":"title"}} My understanding is that this command should search for reviews containing “Updater” in their title. However, when running this command, the reviews returned contain “Updater” in fields not just limited to the title. I can’t find examples or support on how to use this function properly. Also, once I can get findReviews to return reviews that fit more limited search criteria, I wanted to know if I could use fields that are not returned in the results as search criteria. For example, “Completed On” is an available field in a review, but it isn’t a field returned in the find request.Solved1.9KViews0likes1Comment