Template:Bugpast: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(.)
No edit summary
 
Line 2: Line 2:
{
{
   "assigned_to": "{{{1}}}",
   "assigned_to": "{{{1}}}",
   "status": ["RESOLVED", "VERIFIED", "CLOSED"],
   "resolution": ["FIXED"],
   "changed_after": "{{#time:Y-m-d|@{{#expr:{{#time:U|{{SUBPAGENAME}}}}-604800}}}}",
   "changed_after": "{{#time:Y-m-d|@{{#expr:{{#time:U|{{SUBPAGENAME}}}}-604800}}}}",
   "changed_before": "{{#time:Y-m-d|{{SUBPAGENAME}}}}",
   "changed_before": "{{#time:Y-m-d|{{SUBPAGENAME}}}}",
   "changed_field": "status",
   "changed_field": "resolution",
   "include_fields": "id, summary"
   "include_fields": "id, summary"
}
}

Latest revision as of 17:05, 25 February 2015

Bugzilla query error

Query options must be valid JSON.1

Documentation icon Template documentation[view] [edit] [history] [purge]
Ambox info soft.png
  Note: This page reports a json error, but it's only because the parser function {{#time}} dislikes the "Template:XXX" subpagename.

Usage

{{bugpast}} shows a list of bugs assigned to a certain user. The list includes bugs that have been closed in the past week. For use on pages with SUBPAGENAME=<some-date> in the format Y-m-d.

Parameters

There is only 1 parameter, which is unnamed and required.

Syntax

The template's syntax is

  • {{bugpast|assignee e-mail address}}

Required parameter

1

Assignee e-mail address

The e-mail address of the owner ("assignee") of the bugs you wish to list.

Usage
  • {{bugpast|assignee e-mail address}}

See also