Closed
Bug 1140234
Opened 10 years ago
Closed 10 years ago
extend review/flag_activity to allow filtering by status and bug_id
Categories
(bugzilla.mozilla.org :: Extensions, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: glob, Assigned: glob)
References
Details
Attachments
(1 file)
(deleted),
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
something missing from our current api is the ability to get a list of bugs where a review flag is targeted as a particular user.
rest/bug?include_fields=id,summary,status&f1=flagtypes.name&f2=requestees.login_name&o1=substring&o2=equals&resolution=---&v1=review&v2=glob%40mozilla.com
is close, but will match bugs where i'm the requestee for a non-review flag (ie. the two fields aren't grouped to search against the same flag object).
flag-state-activity returns the required information, but always returns all flags and it isn't possible to filter flags based on their current status.
it's trivial to implement this, so we should :)
adds filtering for status_id and bug_id.
with this you can search for all my open review requests with:
/rest/review/flag_activity/requestee/glob@mozilla.com?status=%3f&type_name=review
Attachment #8573669 -
Flags: review?(dkl)
Comment 2•10 years ago
|
||
Comment on attachment 8573669 [details] [diff] [review]
1140234_1.patch
Review of attachment 8573669 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM. r=dkl
Attachment #8573669 -
Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
1049c71..77ef1ab master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: Extensions: Review → Extensions
You need to log in
before you can comment on or make changes to this bug.
Description
•