Thunderbird Bugzilla Helper Jetpack

The problem: When replying/commenting in bugzilla we all frequently use similar phrases or urls in comments. For comments we just type them in each time, for urls we have to go off and find them, or have a copy file set up.

A solution: Create a jetpack that creates an “Add Comment” pick list to choose pre-defined text from. Select an item in the pick list, and bingo, the text appears in the comment.

If you want to try it out, make sure you’ve got jetpack installed in Firefox, then visit:

http://hg.mozilla.org/users/bugzilla_standard8.plus.com/jetpack/raw-file/default/thunderbird-bugzilla-helper.html

Next time you go to a bug page, there will be a little drop down just above the additional comments start.

There’s a couple of issues with it, like the Add Comment box doesn’t get inserted quite where I’d like it to, and the text is always inserted at the end of the comment, but it is already helping me save time.

If people want to make suggestions for frequent text/urls they use for Thunderbird I’m happy to incorporate them.

I haven’t considered text/urls for other apps because I don’t primarily work in those spaces, but if someone comes up with a reasonable proposal that doesn’t clutter the list and is easy to use then we can look at incorporating them as well.

One thought on “Thunderbird Bugzilla Helper Jetpack”

  1. Couple of notes:

    a) I have been writing and maintaining similar script (originally Greasemonkey, now also Jetpack) for the last three years to work with the Red Hat bugzilla (see more info in the linked blog post above),
    b) I found hard way, that the scroll box is a terrible idea and that it is better (if necessary) to cover your page with buttons … you cannot automatize the location of the scroll-bar item, you need two clicks on selecting the text, and you have to think too hard over it.
    c) I have created the script for the Red Hat bugzilla, but I have intentionally separated many (if not all) bugzilla-instance dependent data to separate JSON file, so that (I hope) it shouldn’t be out of reach to modify the script so that it works with other bugzillas as well. Of course, bugzilla.mozilla.org is the one I would be mostly after.
    d) not only because of the hope of the instance independence, but also because everybody needs different texts, I think that the separation of data from the script is crucial. In Red Hat bugzilla of course, we need to use radically different texts and buttons for (let’s say) Xorg, Firefox, and SELinux bugs.

    There is a link to the git repository with my script. Let me know if I could be of any help to you, or if you would like the idea of joining the effort to make one ueber-Jetpack for both b.m.o and RH BZ.

    Mat?j

Comments are closed.