Closed Bug 916952 Opened 11 years ago Closed 11 years ago

Ember.create API doesn't return group information in the response

Categories

(bugzilla.mozilla.org :: API, defect)

Development
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: erik.bryn, Unassigned)

Details

For example, for an authenticated call to: https://bugzilla-dev.allizom.org/rest/ember/create/Core

I would expect to see a list of groups inside the `groups` field's `values` array, but it is empty.

I'm interested in this information so I can create private bugs via the Bug.create API.
this is due to the database refresh on bugzilla-dev, which wiped out all the groups.  core had no groups assigned, so the result was empty.

for testing purposes i've added two groups to core on bugzilla-dev, and they are correctly returned:

      {
         "description" : "Groups",
         "is_custom" : false,
         "is_mandatory" : false,
         "name" : "groups",
         "values" : [
            {
               "description" : "Security-Sensitive Core Bug",
               "name" : "core-security",
               "security_default" : true
            },
            {
               "description" : "Confidential Mozilla Corporation Bug",
               "name" : "mozilla-corporation-confidential"
            }
         ]
      },
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.