Closed Bug 1182387 Opened 9 years ago Closed 9 years ago

add bug.votes to api responses

Categories

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

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

add bug.votes to api responses.
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   65e910a..6d535a5  master -> master
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Byron, this doesn't seem to work.

bug 1182640 has 1 vote that I added.

$.ajax('https://bugzilla.mozilla.org/rest/bug/1182640?include_fields=id,votes').done(function(data) { console.log(data.bugs[0].id, data.bugs[0].votes); });

-- output --
1182640, undefined
Flags: needinfo?(glob)
This hasn't been deployed yet.  We normally do production deployments Monday nights, North-American time.
Btw you can follow deployments at https://wiki.mozilla.org/BMO/Recent_Changes.
Ah, my bad. Byron explained this to me already. Thanks for the clarification.
Flags: needinfo?(glob)

This is undocumented and never seems to have made its way to the main Bugzilla project, which is a shame.

This is undocumented because it’s part of an extension, not the Bugzilla core. The voting functionality will be removed in the near future anyway in favour of comment reactions.

You need to log in before you can comment on or make changes to this bug.