Query bug's comments
Closed this issue · 3 comments
fiennyangeln commented
@helfi92 @eliperelman Can we add a way to get bug's first comment? In the bugzilla REST API, bug's comment is located on a different endpoint from the bug, for bug it is /rest/bug/(bug_id)
, for comment /rest/bug/(bug_id)/comment
.
And how are we going to do it? Will it be a separate query / a field in the bug/bugs query?
helfi92 commented
Yes, this would require adding a query for comments in the gateway. I'll try and send a PR for this on Monday so that you can use it. We can make it a separate query so that we don't end up doing an extra 50 calls in the backend everytime we load a project.
eliperelman commented
This is done now, right?
helfi92 commented
Indeed.