Skip to content

Can't query bugzilla bugs with see_also #113

@mb

Description

@mb

This is the query I'd like to have:

<bugzilla>
{
  "see_also": "https://bugzilla.mozilla.org/show_bug.cgi?id=1101005",
  "status": ["NEW", "ASSIGNED", "REOPENED", "UNCONFIRMED"],
  "keywords": "meta",
  "include_fields": ["id", "summary", "alias", "cc_count"]
}
</bugzilla>

Result: Query options must be valid JSON.1

This seems to be caused by removing // and everything behind it as a comment. Due to this:

<bugzilla>
{
  "see_also": "https:/bugzilla.mozilla.org/show_bug.cgi?id=1101005",
  "status": ["NEW", "ASSIGNED", "REOPENED", "UNCONFIRMED"],
  "keywords": "meta",
  "include_fields": ["id", "summary", "alias", "cc_count"]
}
</bugzilla>

not raising an error.

It would be also great if I could just put the bug number into the see_also field, but that is not how the bugzilla api works. And it might be great to also query for other URLs:

<bugzilla>
{
  "see_also": "1101005",
  "status": ["NEW", "ASSIGNED", "REOPENED", "UNCONFIRMED"],
  "keywords": "meta",
  "include_fields": ["id", "summary", "alias"]
}
</bugzilla>

(for page https://wiki.mozilla.org/Privacy/Docs/How_To_Triage_ETP-Strict_Website_Breakage)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions