BMO/Integration Best Practice: Difference between revisions

No edit summary
Line 22: Line 22:


* When searching among all closed or all open bugs, don't explicitly enumerate the states, as states may be added or removed. For open bugs, you can use "resolution=---" or "bug_status=__open__" (status=__open__ for BzAPI). For closed bugs, you can use "bug_status=__closed__".
* When searching among all closed or all open bugs, don't explicitly enumerate the states, as states may be added or removed. For open bugs, you can use "resolution=---" or "bug_status=__open__" (status=__open__ for BzAPI). For closed bugs, you can use "bug_status=__closed__".
* Similarly, when searching for bugs which were not fixed, don't enumerate all of the not-fixed resolutions. Instead do a boolean chart "is not string" search.
* Similarly, when searching for bugs which were not fixed, don't enumerate all of the not-fixed resolutions. Instead do a custom search using the "is not empty" operator.
Confirmed users
1,201

edits