User:Cpeterson: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(or equals to)
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
Chris Peterson
= <bugzilla> wiki query syntax =
cpeterson@mozilla.com


== JS Backlog ==
* [https://mana.mozilla.org/wiki/pages/viewpage.action?spaceKey=PM&title=Mind+the+Project+-+August+7%2C+2018#MindtheProjectAugust7,2018-IntroductiontoMozilla%E2%80%99sBugzillaMediaWikiextension Introduction to Mozilla’s Bugzilla MediaWiki extension] (Mind the Project blog post - August 7, 2018)
* Example bug wikis for triaging bugs:
** [https://wiki.mozilla.org/Mobile/GeckoView/Bugs GeckoView bug triage]
** [https://wiki.mozilla.org/Project_Fission/Bugs Fission bug triage]
** [https://wiki.mozilla.org/Mobile/Fennec/Bugs Fennec bug triage and QA workflow]
* [https://github.com/mozilla/mediawiki-bugzilla MediaWiki extension for Bugzilla]
* [[Bugzilla:BzAPI:Search|BzAPI search parameters]]
* [[Bugzilla:REST_API:Objects|BzAPI object]]


=== sec-crit bugs ===
Field names:
* FIXME: bug table can't see sec bugs!
<bugzilla>
{
"keywords": "sec-critical,sec-high,sec-incident",
"keywords_type": "anywords",
"f1": "component",
"o1": "substring",
"v1": "JavaScript",
"include_fields": "id, summary, keywords, whiteboard, status",
"status":["UNCONFIRMED", "NEW", "ASSIGNED", "REOPENED"]
}
</bugzilla>


{| class="wikitable"
! Bug field
! Query field
! Table column
("include_fields")
|-
! Assignee
| assigned_to
| assigned_to
|-
! Comments
| longdesc
| N/A?
|-
! Bug number
| bug_id
| id
|-
! Summary/title
| short_desc
| summary
|-
! Bugzilla component
| component
| component
|-
! Status (UNCONFIRMED, NEW, ASSIGNED, RESOLVED, VERIFIED, REOPENED)
| bug_status
| status
|-
! Resolution (FIXED, INVALID, WONTFIX, DUPLICATE, WORKSFORME, INCOMPLETE)
| resolution
| resolution
|-
! Creation time (ISO 8601 datetime string like "2019-01-01" or relative time like "7d")
| creation_ts
| creation_time
|-
! Whiteboard string
| status_whiteboard
| whiteboard
|-
! Keywords
| keywords
| keywords
|-
! List of dependent blocking bugs
| dependson
| depends_on
|-
! List of bugs blocked
| blocked
| blocks
|-
! Last change time (ISO 8601 datetime string like "2019-01-01" or relative time like "7d")
| delta_ts
| last_change_time
|-
! Platform
| rep_platform
| platform
|-
! Priority
| priority
| priority
|-
! Severity
| bug_severity
| severity
|-
! Ever confirmed? (i.e. status ever NEW or ASSIGNED?)
| everconfirmed
| ever_confirmed
|-
! status-firefox99 tracking flags
| cf_status_firefox99
"---,?,unaffected,affected,fix-optional,fixed,wontfix,verified,disabled,verified-disabled"
| cf_status_firefox99
|-
! needinfo?
| "flagtypes.name" substring "needinfo"
| N/A?
|}


=== Release Tracking Bugs ===
Operators for testing field values:
{{BETA_VERSION}}
<bugzilla>
{
"keywords" : "feature",
"f1" : "cf_status_firefox{{BETA_VERSION}}",
"keywords_type" : "allwords",
"o1" : "notsubstring",
"o2" : "casesubstring",
"f2" : "target_milestone",
"v1" : "disabled",
"v2" : "{{BETA_VERSION}}",
"v3" : "Boot",
"o3" : "nowordssubstr",
"f3" : "product"
}
</bugzilla>


 
{| class="wikitable"
 
! Operator description
 
! Operator name
=== P1 ===
|-
<bugzilla>
! Equals
{
| equals
"f1" : "component",
|-
"o1" : "substring",
! Not equals
"v1" : "JavaScript",
| notequals
"f2" : "status_whiteboard",
|-
"o2" : "substring",
! Less than
"v2" : "[js:p1",
| lessthan
"include_fields": "id, summary, keywords, whiteboard, status",
|-
"status":["UNCONFIRMED", "NEW", "ASSIGNED", "REOPENED"]
! Less than or equals to
}
| lessthaneq
</bugzilla>
|-
 
! Greater than
=== P2 ===
| greaterthan
<bugzilla>
|-
{
! Greater than or equals to
"f1" : "component",
| greaterthaneq
"o1" : "substring",
|-
"v1" : "JavaScript",
! Matching regular expression
"f2" : "status_whiteboard",
| regexp
"o2" : "substring",
|-
"v2" : "[js:p2",
! Not matching regular expression
"include_fields": "id, summary, keywords, whiteboard, status",
| notregexp
"status":["UNCONFIRMED", "NEW", "ASSIGNED", "REOPENED"]
|-
}
! is_any (?)
</bugzilla>
| anyexact
 
|-
== Roadmap ==
! Contains substring
 
(case-sensitive!)
* See [https://wiki.mozilla.org/Mobile/Roadmap Mobile Roadmap]
| casesubstring
 
|-
===Nightly {{CENTRAL_VERSION}}===
|-
* {{jdone|619558}} jdone
! Contains substring (case-insensitive)
* {{jok|619558}} jok
| substring
* {{jrisk|619558}} jrisk
|-
* {{jmiss|619558}} jmiss
! Does not contain substring (case-insensitive)
* {{jprop|619558}} jprop
| notsubstring
 
|-
===Aurora {{AURORA_VERSION}}===
! Contains all substrings (list of comma-separated strings)
* {{jdone|619558}} jdone
| allwordssubstr
* {{jok|619558}} jok
|-
* {{jrisk|619558}} jrisk
! Contains any substrings (list of comma-separated strings)
* {{jmiss|619558}} jmiss
| anywordssubstr
* {{jprop|619558}} jprop
|-
 
! Does not contain any substrings (list of comma-separated strings)
===Beta {{BETA_VERSION}}===
| nowordssubstr
;Fx26 (Ships 12/10)
|-
* {{jdone|619558}} jdone
! Contains all exact words (list of comma-separated strings)
* {{jok|619558}} jok
| allwords
* {{jrisk|619558}} jrisk
|-
* {{jmiss|619558}} jmiss
! Contains any exact words (list of comma-separated strings)
* {{jprop|619558}} jprop
| anywords
|-
! Does not contain any exact words (list of comma-separated strings)
| nowords
|-
! Changed from
| changedfrom
|-
! Changed to
| changedto
|-
! Changed by (email address?)
| changedby
|-
! Changed before relative time (e.g. 365d, 52w, 1m, or 1y)
| changedbefore
|-
! Changed after relative time (e.g. 365d, 52w, 1m, or 1y)
| changedafter
|}

Latest revision as of 22:17, 7 September 2023

<bugzilla> wiki query syntax

Field names:

Bug field Query field Table column

("include_fields")

Assignee assigned_to assigned_to
Comments longdesc N/A?
Bug number bug_id id
Summary/title short_desc summary
Bugzilla component component component
Status (UNCONFIRMED, NEW, ASSIGNED, RESOLVED, VERIFIED, REOPENED) bug_status status
Resolution (FIXED, INVALID, WONTFIX, DUPLICATE, WORKSFORME, INCOMPLETE) resolution resolution
Creation time (ISO 8601 datetime string like "2019-01-01" or relative time like "7d") creation_ts creation_time
Whiteboard string status_whiteboard whiteboard
Keywords keywords keywords
List of dependent blocking bugs dependson depends_on
List of bugs blocked blocked blocks
Last change time (ISO 8601 datetime string like "2019-01-01" or relative time like "7d") delta_ts last_change_time
Platform rep_platform platform
Priority priority priority
Severity bug_severity severity
Ever confirmed? (i.e. status ever NEW or ASSIGNED?) everconfirmed ever_confirmed
status-firefox99 tracking flags cf_status_firefox99

"---,?,unaffected,affected,fix-optional,fixed,wontfix,verified,disabled,verified-disabled"

cf_status_firefox99
needinfo? "flagtypes.name" substring "needinfo" N/A?

Operators for testing field values:

Operator description Operator name
Equals equals
Not equals notequals
Less than lessthan
Less than or equals to lessthaneq
Greater than greaterthan
Greater than or equals to greaterthaneq
Matching regular expression regexp
Not matching regular expression notregexp
is_any (?) anyexact
Contains substring

(case-sensitive!)

casesubstring
Contains substring (case-insensitive) substring
Does not contain substring (case-insensitive) notsubstring
Contains all substrings (list of comma-separated strings) allwordssubstr
Contains any substrings (list of comma-separated strings) anywordssubstr
Does not contain any substrings (list of comma-separated strings) nowordssubstr
Contains all exact words (list of comma-separated strings) allwords
Contains any exact words (list of comma-separated strings) anywords
Does not contain any exact words (list of comma-separated strings) nowords
Changed from changedfrom
Changed to changedto
Changed by (email address?) changedby
Changed before relative time (e.g. 365d, 52w, 1m, or 1y) changedbefore
Changed after relative time (e.g. 365d, 52w, 1m, or 1y) changedafter