Closed
Bug 915197
Opened 12 years ago
Closed 12 years ago
ember extension returns attachment flags for .create()
Categories
(bugzilla.mozilla.org :: API, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: glob, Unassigned)
References
Details
> I'm seeing more flags in the create API response than I see on the existing
> bug entry form. For example, for the bugzilla.mozilla.org product
> (https://bugzilla-dev.allizom.org/enter_bug.
> cgi?format=__default__&product=bugzilla.mozilla.org&short_desc=testing) , I
> see `needinfo`, `sec-review`, and `sec-bounty`. The create API response
> contains those three but also `review` and `feedback`.
Comment 1•12 years ago
|
||
If you look at the flags list, each one contains a key/value of either "type":"bug" or "type":"attachment". Since we allow for creating an attachment and setting attachment flags at bug creation time, I figured it would be useful to include these as well in the data returned. Just use the "type" attribute to filter out which flags should appear where.
dkl
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•