Template:Bugpresent: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "<bugzilla display="list"> { "assigned_to": "{{{1}}}", "status": ["UNCONFIRMED", "NEW", "ASSIGNED"], "chfieldfrom": "{{{2}}}", "chfieldto": ...")
 
(.)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<bugzilla display="list">
<bugzilla display="list">
    {
{
        "assigned_to": "{{{1}}}",
  "assigned_to": "{{{1}}}",
        "status": ["UNCONFIRMED", "NEW", "ASSIGNED"],
  "status": ["UNCONFIRMED", "NEW", "ASSIGNED"],
        "chfieldfrom": "{{{2}}}",
  "changed_after": "{{#time:Y-m-d|@{{#expr:{{#time:U|{{SUBPAGENAME}}}}-604800}}}}",
        "chfieldto": "{{{3}}}"
  "changed_before": "{{#time:Y-m-d|@{{#expr:{{#time:U|{{SUBPAGENAME}}}}+86400}}}}",
    }
  "changed_field": "comment",
</bugzilla>
  "include_fields": "id, summary"
}
</bugzilla><noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 12:56, 9 December 2014

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

{{bugpresent}} shows a list of bugs assigned to a certain user. The list includes open bugs that have been changed 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

  • {{bugpresent|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
  • {{bugpresent|assignee e-mail address}}

See also