Bugzilla Tips

February 1, 2010

Pronoun Substitution

Filed under: Uncategorized — gervmarkham @ 3:18 pm

It’s fairly easy to create a URL which does a search for “bugs reported by gerv@mozilla.org“. Whoever clicks it, you get the same thing – all bugs reported by that particular user. But you can also create a URL which does a search for something like “bugs reported by the user running this search”. This means you can share it with others, and have them find the bugs which apply to them.

This is done with “pronouns”. These only work with boolean charts (bug). The left hand side of the chart can be any field which expects an email address. The operator must be “is equal to” or “is not equal to”. The right hand side then can be of the following values: “%reporter%”, “%assignee%”, “%qacontact%”, or “%user%”. These do exactly what you might expect.

Examples:

Advertisements

4 Comments

  1. Is it possible to do “bugs which are neither reported by nor assigned to me, but that I am cc-ed on”? Sometimes people cc: me on bugs because they want me to take some specific action and respond, but then I lose them because they’re not in my “assigned to me” or “reported by me” saved searches.

    Comment by Zack — February 1, 2010 @ 6:03 pm

  2. Zack: it’s not possible generically, but it is for you personally. Here’s the link for me. I used the boolean charts to do the first two criteria, and the normal email fields to do “I’m CCed on it”. (Doing that part in boolean charts killed the performance.)

    Gerv

    Comment by gervmarkham — February 1, 2010 @ 6:43 pm

  3. It would have been nice if you’d warned us about the (approximate) number of results that those examples return.

    Comment by Neil Rashbrook — February 2, 2010 @ 10:10 am

  4. Well, at least for the first two, it depends who you are. That’s the point! :-)

    Comment by gervmarkham — February 2, 2010 @ 10:27 am


RSS feed for comments on this post.

Create a free website or blog at WordPress.com.

%d bloggers like this: