Documentation
¶
Overview ¶
Command bzcomment posts one comment to a Bugzilla bug through the REST API, after showing which bug and which account it is about to speak for.
It exists so that a session can contribute to an upstream bug (first use: bugzilla.mozilla.org bug 1870699) without the API key ever passing through a URL, an argument vector, the environment or a log: the key is read from a 0600 file and sent only in the X-BUGZILLA-API-KEY header.
References (read 2026-11-04):
https://bmo.readthedocs.io/en/latest/api/core/v1/comment.html POST /rest/bug/(id)/comment, GET /rest/bug/comment/(id) https://bmo.readthedocs.io/en/latest/api/core/v1/general.html API-key authentication, X-BUGZILLA-API-KEY https://bmo.readthedocs.io/en/latest/api/core/v1/user.html GET /rest/whoami https://bmo.readthedocs.io/en/latest/api/core/v1/bug.html GET /rest/bug/(id), include_fields