Template:BugBotRule: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(css)
(test optional param)
Line 9: Line 9:
   | Example  = 1495908
   | Example  = 1495908
   | Source    = assignee_but_unconfirmed.py  
   | Source    = assignee_but_unconfirmed.py  
  | Note      = optional parameter, adds an explanation line
}}
}}
</pre>
</pre>
Line 30: Line 31:
     <td style="border: 1px solid lightskyblue;"><code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
     <td style="border: 1px solid lightskyblue;"><code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
   </tr>
   </tr>
{{
#if: {{{Note|}}}
foo
{{#if:{{{Note|}}}||NULL}}={{{sensitive_parameter}}}
}}
</table>
</table>
</includeonly>
</includeonly>

Revision as of 16:33, 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 
  | Note      = optional parameter, adds an explanation line 
}}

Edit the page to see the template text.