using.xml 20.5 KB
Newer Older
1
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
2 3

<chapter id="using">
4
  <title>Using Bugzilla</title>
5 6 7

  <section id="how">
    <title>How do I use Bugzilla?</title>
8

9 10 11 12 13
    <para>This section contains information for end-users of Bugzilla. 
    There is a Bugzilla test installation, called 
    <ulink url="http://landfill.bugzilla.org/">Landfill</ulink>, 
    which you are welcome to play with (if it's up.) 
    However, it does not necessarily
14 15 16 17
    have all Bugzilla features enabled, and often runs cutting-edge versions
    of Bugzilla for testing, so some things may work slightly differently
    than mentioned here.</para>

18 19
    <section id="myaccount">
      <title>Create a Bugzilla Account</title>
20 21 22 23 24

      <para>If you want to use Bugzilla, first you need to create an account.
      Consult with the administrator responsible for your installation of
      Bugzilla for the URL you should use to access it. If you're
      test-driving Bugzilla, use this URL: 
25 26
      <ulink url="http://landfill.bugzilla.org/bugzilla-tip/">
      http://landfill.bugzilla.org/bugzilla-tip/</ulink>
27
      </para>
28

29
      <orderedlist>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
        <listitem>
          <para>Click the 
          <quote>Open a new Bugzilla account</quote>

          link, enter your email address and, optionally, your name in the
          spaces provided, then click 
          <quote>Create Account</quote>

          .</para>
        </listitem>

        <listitem>
          <para>Within moments, you should receive an email to the address
          you provided above, which contains your login name (generally the
          same as the email address), and a password you can use to access
          your account. This password is randomly generated, and can be
          changed to something more memorable.</para>
        </listitem>

        <listitem>
          <para>Click the 
          <quote>Log In</quote>
          link in the yellow area at the bottom of the page in your browser,
          enter your email address and password into the spaces provided, and
          click 
55 56 57
          <quote>Login</quote>.
          </para>
          
58
        </listitem>
59
      </orderedlist>
60

61 62
      <para>You are now logged in. Bugzilla uses cookies for authentication
      so, unless your IP address changes, you should not have to log in
63
      again.</para>
64
    </section>
65

66 67
    <section id="bug_page">
      <title>Anatomy of a Bug</title>
68 69 70 71

      <para>The core of Bugzilla is the screen which displays a particular
      bug. It's a good place to explain some Bugzilla concepts. 
      <ulink
72
      url="http://landfill.bugzilla.org/bugzilla-tip/show_bug.cgi?id=1">
73 74
      Bug 1 on Landfill</ulink>

75
      is a good example. Note that the labels for most fields are hyperlinks;
76
      clicking them will take you to context-sensitive help on that
77 78
      particular field. Fields marked * may not be present on every
      installation of Bugzilla.</para>
79 80 81 82

      <orderedlist>
        <listitem>
          <para>
83 84
          <emphasis>Product and Component</emphasis>: 
          Bugs are divided up by Product and Component, with a Product
85 86 87 88 89 90 91 92 93 94
          having one or more Components in it. For example,
          bugzilla.mozilla.org's "Bugzilla" Product is composed of several
          Components: 
          <simplelist>
          <member>
          <emphasis>Administration:</emphasis>
          Administration of a Bugzilla installation.</member>

          <member>
          <emphasis>Bugzilla-General:</emphasis>
95
          Anything that doesn't fit in the other components, or spans
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
          multiple components.</member>

          <member>
          <emphasis>Creating/Changing Bugs:</emphasis>
          Creating, changing, and viewing bugs.</member>

          <member>
          <emphasis>Documentation:</emphasis>
          The Bugzilla documentation, including The Bugzilla Guide.</member>

          <member>
          <emphasis>Email:</emphasis>
          Anything to do with email sent by Bugzilla.</member>

          <member>
          <emphasis>Installation:</emphasis>
          The installation process of Bugzilla.</member>

          <member>
          <emphasis>Query/Buglist:</emphasis>
          Anything to do with searching for bugs and viewing the
          buglists.</member>

          <member>
          <emphasis>Reporting/Charting:</emphasis>
          Getting reports from Bugzilla.</member>

          <member>
          <emphasis>User Accounts:</emphasis>
125
          Anything about managing a user account from the user's perspective.
126 127 128 129 130
          Saved queries, creating accounts, changing passwords, logging in,
          etc.</member>

          <member>
          <emphasis>User Interface:</emphasis>
131
          General issues having to do with the user interface cosmetics (not
132 133 134 135 136 137 138 139 140 141
          functionality) including cosmetic issues, HTML templates,
          etc.</member>
          </simplelist>
          </para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Status and Resolution:</emphasis>

142 143 144 145
          These define exactly what state the bug is in - from not even
          being confirmed as a bug, through to being fixed and the fix
          confirmed by Quality Assurance. The different possible values for
          Status and Resolution on your installation should be documented in the
146 147 148 149 150 151 152 153 154 155 156
          context-sensitive help for those items.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Assigned To:</emphasis>
          The person responsible for fixing the bug.</para>
        </listitem>

        <listitem>
          <para>
157
          <emphasis>*URL:</emphasis>
158 159 160 161 162 163 164 165 166 167 168
          A URL associated with the bug, if any.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Summary:</emphasis>
          A one-sentence summary of the problem.</para>
        </listitem>

        <listitem>
          <para>
169
          <emphasis>*Status Whiteboard:</emphasis>
170 171 172 173 174 175
          (a.k.a. Whiteboard) A free-form text area for adding short notes
          and tags to a bug.</para>
        </listitem>

        <listitem>
          <para>
176
          <emphasis>*Keywords:</emphasis>
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
          The administrator can define keywords which you can use to tag and
          categorise bugs - e.g. The Mozilla Project has keywords like crash
          and regression.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Platform and OS:</emphasis>
          These indicate the computing environment where the bug was
          found.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Version:</emphasis>
          The "Version" field is usually used for versions of a product which
          have been released, and is set to indicate which versions of a
          Component have the particular problem the bug report is
          about.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Priority:</emphasis>
          The bug assignee uses this field to prioritise his or her bugs.
          It's a good idea not to change this on other people's bugs.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Severity:</emphasis>
          This indicates how severe the problem is - from blocker
          ("application unusable") to trivial ("minor cosmetic issue"). You
          can also use this field to indicate whether a bug is an enhancement
          request.</para>
        </listitem>

        <listitem>
          <para>
216
          <emphasis>*Target:</emphasis>
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
          (a.k.a. Target Milestone) A future version by which the bug is to
          be fixed. e.g. The Bugzilla Project's milestones for future
          Bugzilla versions are 2.18, 2.20, 3.0, etc. Milestones are not
          restricted to numbers, thought - you can use any text strings, such
          as dates.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Reporter:</emphasis>
          The person who filed the bug.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>CC list:</emphasis>
          A list of people who get mail when the bug changes.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Attachments:</emphasis>
          You can attach files (e.g. testcases or patches) to bugs. If there
          are any attachments, they are listed in this section.</para>
        </listitem>

        <listitem>
          <para>
245
          <emphasis>*Dependencies:</emphasis>
246 247 248 249 250 251 252
          If this bug cannot be fixed unless other bugs are fixed (depends
          on), or this bug stops other bugs being fixed (blocks), their
          numbers are recorded here.</para>
        </listitem>

        <listitem>
          <para>
253
          <emphasis>*Votes:</emphasis>
254 255 256 257 258 259 260 261 262 263
          Whether this bug has any votes.</para>
        </listitem>

        <listitem>
          <para>
          <emphasis>Additional Comments:</emphasis>
          You can add your two cents to the bug discussion here, if you have
          something worthwhile to say.</para>
        </listitem>
      </orderedlist>
264
    </section>
265

266 267
    <section id="query">
      <title>Searching for Bugs</title>
268 269 270 271

      <para>The Bugzilla Search page is is the interface where you can find
      any bug report, comment, or patch currently in the Bugzilla system. You
      can play with it here: 
272 273
      <ulink url="http://landfill.bugzilla.org/bugzilla-tip/query.cgi">
      landfill.bugzilla.org/bugzilla-tip/query.cgi</ulink>
274 275 276 277 278 279 280 281 282 283 284

      .</para>

      <para>The Search page has controls for selecting different possible
      values for all of the fields in a bug, as described above. Once you've
      defined a search, you can either run it, or save it as a Remembered
      Query, which can optionally appear in the footer of your pages.</para>

      <para>Highly advanced querying is done using Boolean Charts, which have
      their own 
      <ulink
285
      url="http://landfill.bugzilla.org/bugzilla-tip/booleanchart.html">
286 287 288
      context-sensitive help</ulink>

      .</para>
289
    </section>
290

291 292
    <section id="list">
      <title>Bug Lists</title>
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332

      <para>If you run a search, a list of matching bugs will be returned.
      The default search is to return all open bugs on the system - don't try
      running this search on a Bugzilla installation with a lot of
      bugs!</para>

      <para>The format of the list is configurable. For example, it can be
      sorted by clicking the column headings. Other useful features can be
      accessed using the links at the bottom of the list: 
      <simplelist>
        <member>
        <emphasis>Long Format:</emphasis>

        this gives you a large page with a non-editable summary of the fields
        of each bug.</member>

        <member>
        <emphasis>Change Columns:</emphasis>

        change the bug attributes which appear in the list.</member>

        <member>
        <emphasis>Change several bugs at once:</emphasis>

        If your account is sufficiently empowered, you can make the same
        change to all the bugs in the list - for example, changing their
        owner.</member>

        <member>
        <emphasis>Send mail to bug owners:</emphasis>

        Sends mail to the owners of all bugs on the list.</member>

        <member>
        <emphasis>Edit this query:</emphasis>

        If you didn't get exactly the results you were looking for, you can
        return to the Query page through this link and make small revisions
        to the query you just made so you get more accurate results.</member>
      </simplelist>
333 334
      </para>
    </section>
335

336
    <section id="bugreports">
337
      <title>Filing Bugs</title>
338

339 340 341
      <para>Years of bug writing experience has been distilled for your
      reading pleasure into the 
      <ulink
342 343 344
      url="http://landfill.bugzilla.org/bugzilla-tip/bugwritinghelp.html">
      Bug Writing Guidelines</ulink>. 
      While some of the advice is Mozilla-specific, the basic principles of
345 346 347 348 349 350 351 352 353 354 355
      reporting Reproducible, Specific bugs, isolating the Product you are
      using, the Version of the Product, the Component which failed, the
      Hardware Platform, and Operating System you were using at the time of
      the failure go a long way toward ensuring accurate, responsible fixes
      for the bug that bit you.</para>

      <para>The procedure for filing a test bug is as follows:</para>

      <orderedlist>
        <listitem>
          <para>Go to 
356
          <ulink url="http://landfill.bugzilla.org/bugzilla-tip/">
357 358 359
          Landfill</ulink>
          in your browser and click 
          <ulink
360 361 362
          url="http://landfill.bugzilla.org/bugzilla-tip/enter_bug.cgi">
          Enter a new bug report</ulink>.
          </para>
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
        </listitem>

        <listitem>
          <para>Select a product - any one will do.</para>
        </listitem>

        <listitem>
          <para>Fill in the fields. Bugzilla should have made reasonable
          guesses, based upon your browser, for the "Platform" and "OS"
          drop-down boxes. If they are wrong, change them.</para>
        </listitem>

        <listitem>
          <para>Select "Commit" and send in your bug report.</para>
        </listitem>
      </orderedlist>
    </section>
380 381
  </section>

382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
  <section id="hintsandtips">
    <title>Hints and Tips</title>
    
    <para>This section distills some Bugzilla tips and best practices
    that have been developed.</para>

    <section>
      <title>Autolinkification</title>
      <para>Bugzilla comments are plain text - so posting HTML will result
      in literal HTML tags rather than being interpreted by a browser.
      However, Bugzilla will automatically make hyperlinks out of certain
      sorts of text in comments. For example, the text 
      http://www.bugzilla.org will be turned into
      <ulink url="http://www.bugzilla.org">http://www.bugzilla.org</ulink>.
      Other strings which get linkified in the obvious manner are:
      <simplelist>
        <member>bug 12345</member>
        <member>bug 23456, comment 53</member>
        <member>attachment 4321</member>
        <member>mailto:george@example.com</member>
        <member>george@example.com</member>
        <member>ftp://ftp.mozilla.org</member>
        <member>Most other sorts of URL</member>
      </simplelist>
      </para>
      
      <para>A corollary here is that if you type a bug number in a comment,
      you should put the word "bug" before it, so it gets autolinkified
      for the convenience of others.
      </para>
    </section>
413

414 415
    <section id="quicksearch">
      <title>Quicksearch</title>
416

417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501
      <para>Quicksearch is a single-text-box query tool which uses
      metacharacters to indicate what is to be searched. For example, typing
      "<filename>foo|bar</filename>" 
      into Quicksearch would search for "foo" or "bar" in the 
      summary and status whiteboard of a bug; adding 
      "<filename>:BazProduct</filename>" would
      search only in that product.
      </para>

      <para>You'll find the Quicksearch box on Bugzilla's
      front page, along with a 
      <ulink url="../../quicksearch.html">Help</ulink> 
      link which details how to use it.</para>
    </section>
    
    <section id="commenting">
      <title>Comments</title>

      <para>If you are changing the fields on a bug, only comment if
      either you have something pertinent to say, or Bugzilla requires it.
      Otherwise, you may spam people unnecessarily with bug mail.
      To take an example: a user can set up their account to filter out messages
      where someone just adds themselves to the CC field of a bug
      (which happens a lot.) If you come along, add yourself to the CC field,
      and add a comment saying "Adding self to CC", then that person
      gets a pointless piece of mail they would otherwise have avoided.
      </para>
      
      <para>
      Don't use sigs in comments. Signing your name ("Bill") is acceptable,
      particularly if you do it out of habit, but full mail/news-style
      four line ASCII art creations are not.
      </para>      
    </section>
    
    <section id="attachments">
      <title>Attachments</title>
      
      <para>
      Use attachments, rather than comments, for large chunks of ASCII data,
      such as trace, debugging output files, or log files. That way, it doesn't
      bloat the bug for everyone who wants to read it, and cause people to
      receive fat, useless mails.
      </para>      

      <para>Trim screenshots. There's no need to show the whole screen if
      you are pointing out a single-pixel problem.
      </para>
      
      <para>Don't attach simple test cases (e.g. one HTML file, one 
      CSS file and an image) as a ZIP file. Instead, upload them in 
      reverse order and edit the referring file so that they point to the
      attached files. This way, the test case works immediately 
      out of the bug.
      </para>     
    </section>
    
    <section>
      <title>Filing Bugs</title>
      
      <para>Try to make sure that everything said in the summary is also 
      said in the first comment. Summaries are often updated and this will
      ensure your original information is easily accessible.
      </para>
      
      <para>
      You do not need to put "any" or similar strings in the URL field.
      If there is no specific URL associated with the bug, leave this 
      field blank.
      </para> 

      <para>If you feel a bug you filed was incorrectly marked as a
      DUPLICATE of another, please question it in your bug, not      
      the bug it was duped to. Feel free to CC the person who duped it 
      if they are not already CCed.
      </para>
    </section>
  </section>
  
  <section id="userpreferences">
    <title>User Preferences</title>

    <para>Once you have logged in, you can customise various aspects of 
    Bugzilla via the "Edit prefs" link in the page footer.
    The preferences are split into four tabs:</para>
502

503
    <section id="accountsettings" xreflabel="Account Settings">
504
      <title>Account Settings</title>
505

506
      <para>On this tab, you can change your basic account information,
507 508 509 510 511
      including your password, email address and real name. For security
      reasons, in order to change anything on this page you must type your 
      <emphasis>current</emphasis>
      password into the 
      <quote>Password</quote>
512 513
      field at the top of the page. 
      If you attempt to change your email address, a confirmation
514 515
      email is sent to both the old and new addresses, with a link to use to
      confirm the change. This helps to prevent account hijacking.</para>
516
    </section>
517 518

    <section id="emailsettings">
519
      <title>Email Settings</title>
520 521 522 523 524 525 526 527 528 529 530

      <para>On this tab you can reduce or increase the amount of email sent
      you from Bugzilla, opting in our out depending on your relationship to
      the bug and the change that was made to it. (Note that you can also do
      client-side filtering using the X-Bugzilla-Reason header which Bugzilla
      adds to all bugmail.)</para>

      <para>By entering user email names, delineated by commas, into the
      "Users to watch" text entry box you can receive a copy of all the
      bugmail of other users (security settings permitting.) This powerful
      functionality enables seamless transitions as developers change
531
      projects or users go on holiday.</para>
532 533

      <note>
534 535 536
        <para>The ability to watch other users may not be available in all
        Bugzilla installations. If you can't see it, ask your 
        administrator.</para>
537
      </note>
538
    </section>
539

540 541
    <section id="footersettings">
      <title>Page Footer</title>
542 543 544 545
      
      <para>On the Search page, you can store queries in Bugzilla, so if you
      regularly run a particular query it is just a drop-down menu away. 
      Once you have a stored query, you can come
546
      here to request that it also be displayed in your page footer.</para>
547
    </section>
548

549 550
    <section id="permissionsettings">
      <title>Permissions</title>
551
      
552 553 554 555 556
      <para>This is a purely informative page which outlines your current
      permissions on this installation of Bugzilla - what product groups you
      are in, and whether you can edit bugs or perform various administration
      functions.</para>
    </section>
557 558 559 560 561 562 563
  </section>
</chapter>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-always-quote-attributes:t
564 565
sgml-auto-insert-required-elements:t
sgml-balanced-tag-edit:t
566
sgml-exposed-tags:nil
567 568 569
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
570 571
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
572 573 574 575 576 577
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
578 579
End:
-->
580