include longdescs.count in result for /rest/bug

RESOLVED FIXED

Status

()

bugzilla.mozilla.org
API
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: emceeaich, Assigned: dkl)

Tracking

Production

Details

Attachments

(1 attachment, 1 obsolete attachment)

You can search on longdescs.count, but don't get the number of comments back in the bug.
(Assignee)

Comment 1

2 years ago
Created attachment 8800299 [details] [diff] [review]
1309487_1.patch
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Attachment #8800299 - Flags: review?(dylan)
Comment on attachment 8800299 [details] [diff] [review]
1309487_1.patch

r=dylan but we might want to support comments_count primarily and just fall back on longdescs.count (but not document that at all)
Attachment #8800299 - Flags: review?(dylan) → review+
(Assignee)

Comment 3

2 years ago
Created attachment 8800887 [details] [diff] [review]
1309487_2.patch

> r=dylan but we might want to support comments_count primarily and just fall 
> back on longdescs.count (but not document that at all)

Changed to comment_count and added to FIELD_MAP. Please do a quick sanity check.

dkl
Attachment #8800299 - Attachment is obsolete: true
Attachment #8800887 - Flags: review?(dylan)
Comment on attachment 8800887 [details] [diff] [review]
1309487_2.patch

Review of attachment 8800887 [details] [diff] [review]:
-----------------------------------------------------------------

r=dylan
Attachment #8800887 - Flags: review?(dylan) → review+
(Assignee)

Comment 5

2 years ago
To https://github.com/mozilla-bteam/bmo.git
   4337c8d..cc31416  master -> master
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.