I am the author of another open source application, and I am working to develop an integration between my application and Review Board.
In Review Board 1.7, a very helpful "Issue Summary" section is displayed to assist with Issue tracking. I am trying to retrieve the contents of that table by interacting with the Review Board Web API. Due to my constraints, I need to limit myself to the items in the REST API 2.0 which are available in Review Board 1.6.
Unfortunately, I've spent hours in the documentation and I'm still uncertain how I should proceed. I've also scrutinized the source code for Review Board to see how it retrieves the data in that table; but that exercise didn't prove helpful since I am limited to the queries I can perform through the REST API.
At the moment, it seems that I might need to:Is there a simpler way? (This process is likely to take a very long time, unless I execute a large number of REST API calls in parallel.)
- Make a series of API calls to retrieve a list of objects associated with a Review Request
- Then, make dozens of other calls to retrieve the comments that are attached to each individual object
- Finally, sift through the comments to see which ones open an issue
Also, I'm still very confused about which objects I need to retrieve in step #1 above:If anyone can help with a small amount of advice, I would appreciate it immensely. Thank you!
- It seems that I could retrieve a list of screenshots and file attachments; then I would be able to get a merged list of all comments attached to each one.
- For diff comments, it seems that I might either need to (a) retrieve a list of diffs, retrieve a list of files for each diff, then retrieve the comments associated with each file diff; or (b) retrieve a list of reviews, then retrieve the list of diff comments for each review. Is this correct? Which approach might be more efficient?
- Also, I am confused about whether I need to repeat all of these steps for Review Replies, Review Reply Diffs/Files, Review Reply File Attachments, and Review Reply Screenshots.
--
---
You received this message because you are subscribed to the Google Groups "reviewboard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-d...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.