Template:BugBotRule: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (SuhaibMujahid moved page Template:BugBugRule to Template:BugBotRule)
(Rename the template to BugBotRule)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "AutonagRule" template.
This is the "BugBotRule" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{AutonagRule
{{BugBotRule
   | Rule name = Bug assigned but marked as <code>UNCONFIRMED</code>
   | 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>)
   | Purpose  = Mitigate an issue in Bugzilla (bugs reported by new users are not tagged as <code>NEW</code>)
Line 37: Line 37:
   <tr style="vertical-align: top;">
   <tr style="vertical-align: top;">
     <th style="border: 1px solid lavender; padding: 0 0.5em;">Code</th>
     <th style="border: 1px solid lavender; padding: 0 0.5em;">Code</th>
     <td style="border: 1px solid lavender; padding: 0 0.5em;"><code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
     <td style="border: 1px solid lavender; padding: 0 0.5em;"><code>[https://github.com/mozilla/bugbot/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
   </tr>
   </tr>
{{#if:{{{Note|}}}|
{{#if:{{{Note|}}}|

Revision as of 19:59, 25 April 2023

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

{{BugBotRule
  | 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 
  | Note      = optional parameter, adds an explanation line 
}}

Edit the page to see the template text.