Template:BugBotRule: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(nits)
(alt design)
Line 20: Line 20:
<li>Defined in: <code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></li>
<li>Defined in: <code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></li>
</ul>
</ul>
=== {{{ Rule name }}} ===
<table>
  <tr>
    <th>Purpose</th>
    <td>{{{ Purpose }}}</td>
  </tr>
  <tr>
    <th>Action</th>
    <td>{{{ Action }}}</td>
  </tr>
  <tr>
    <th>Example</th>
    <td>[https://bugzilla.com/{{{Example}}} Bug {{{Example}}}]</td>
  </tr>
  <tr>
    <th>Code</th>
    <td><code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
  </tr>
</table>
</includeonly>
</includeonly>

Revision as of 14:21, 12 April 2019

This is the "AutonagRule" template. It should be called in the following format:

{{AutonagRule
  | Rule name = Bug assigned but marked as <code>UNCONFIRMED</code>
  | Purpose   = Mitigate an issue in Bugzilla (bugs reported by new users are not tagged as <code>NEW</code>)
  | Action    = Change the status from unconfirmed to assigned if there is an assignee
  | Example   = 1495908
  | Source    = assignee_but_unconfirmed.py 
}}

Edit the page to see the template text.