Closed Bug 2069143 Opened 13 days ago Closed 8 days ago

When retrieving comments for a bug(s) via REST API, remove comments that would be collapsed in the web UI unless explicitly asking for them

Categories

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

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

Currently when requesting bug data via the REST API and you ask for comments, you will get all comments, even ones marked as spam, abusive, etc. When viewing a bug through the UI, these same comments would be collapsed and you would have to manually expand them to see. We should do the same for REST API comments and add a new include_fields parameter that allows for viewing if desired.

Authored by https://github.com/dklawren
https://github.com/mozilla/bmo/commit/ac2cda8340ec4a6ee0fbc6c69a8444e621ab3244
[master] Bug 2069143 - When retrieving comments for a bug(s) via REST API, remove comments that would be collapsed in the web UI unless explicitly asking for them

Status: ASSIGNED → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: