You are here: TWiki> Plugins Web>BugzillaLinkPlugin (2009-04-10, PeterThoeny)
Tags:
bugs1Add my vote for this tag integration1Add my vote for this tag rendering1Add my vote for this tag create new tag
, view all tags

BugzillaLinkPlugin

Instead of writing [[yourBugZillaURL/path/shob_bug.cgi?id=123][Bug #123]] for every bug this plugin provides a convenient way to to this. Now, you only have to write %BUG{123}% to get the same result. This plugin does nothing else than giving your a shorthand for the above plus it places a nice bug-icon next to the bug. Have fun! wink

Since version 1.1 there is another shorthand to display buglists depending on your milestones. Just specify a milestone in the list tag like this %BUGLIST{1.8}% and you will get all bugs that have a target milestone of 1.8 or 1.8b. The beta thing is hard coded, so if you dont neet this you have to change this in the code, but as far as I know you can also ignore it.

In version 1.2 a shorthand for the 'mybugs' feature was added.

In version 1.3 there is a possibility to set a target for the bugzilla link (like targets in html href commands). So e.g. %BUG{"BUGID" target="_blank"}% or %BUG{"BUGID" target="_top"}% is possible.

Syntax Rules

  • %BUG{yourBugzillaBugNumberGoesHere}%
  • %BUGLIST{yourBugzillaMilestoneNumberGoesHere}%
  • %MYBUGS{user@some.domain}%
  • %BUG{"yourBugzillaBugNumberGoesHere" target="_blank"}%

Example

  • %BUG{12}%
  • %BUGLIST{1.8}%
  • %MYBUGS{joe@loos.er}%
  • %BUG{"12" target="_blank"}%

BugzillaLinkPlugin Settings

Plugin Installation Instructions

  • You can install manually from the command-line:
    1. Download one of the .zip or .tgz archives
    2. Unpack the archive in the root directory of your TWiki installation.
    3. Run configure and enable the module.

Files

  • lib/TWiki/Plugins/BugzillaLinkPlugin.pm
  • data/TWiki/BugzillaLinkPlugin.txt
  • pub/TWiki/BugzillaLinkPlugin/bug.gif
  • pub/TWiki/BugzillaLinkPlugin/bug_small.gif
  • pub/TWiki/BugzillaLinkPlugin/bug_small.png
  • pub/TWiki/BugzillaLinkPlugin/bug_small_white.png

Plugin Info

Plugin Author: TWiki:Main.FlorianGnaegi
Plugin Version: 1.3
Change History: 15 August 2002: Initial version
19. August Version 1.1
8. July 2003 Version 1.2
26. Aug 2008 Version 1.3
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/BugzillaLinkPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/BugzillaLinkPluginDev

History

  • 1.0: BUG function
  • 1.1: Added BUGLIST function, renamed to BugzillaLinkPlugin
  • 1.2: Added MYBUGS function (Thanks to Steve Kostecke), dealing with whitespace (Thanks to Alan Shields)
  • 1.3: Added target function and changed to latest plugin syntax (by TWiki:Main.SaschaVetter )

Contributors

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main.SaschaVetter - 26 Aug 2008

Topic attachments
I Attachment Action Size Date Who Comment
elsemd5 BugzillaLinkPlugin.md5 manage 0.2 K 2008-12-12 - 11:07 SopanShewale checksum file , Uploaded as a part of Release Process
elsegz BugzillaLinkPlugin.tar.gz manage 5.6 K 2008-08-26 - 08:17 SaschaVetter v1.3 - works with twiki 4.2 and has new functions
ziptgz BugzillaLinkPlugin.tgz manage 6.2 K 2008-12-12 - 11:07 SopanShewale See BugzillaLinkPlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
zipzip BugzillaLinkPlugin.zip manage 8.9 K 2008-12-12 - 11:07 SopanShewale See BugzillaLinkPlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
elseEXT BugzillaLinkPlugin_installer manage 3.6 K 2008-12-12 - 11:07 SopanShewale Installer Script, Uploaded as a part of Release Process
gifgif bug.gif manage 0.2 K 2002-08-15 - 12:47 FlorianGnaegi  
gifgif bug_small.gif manage 0.9 K 2002-08-19 - 09:44 FlorianGnaegi Bug image, small version
Topic revision: r19 - 2009-04-10 - 21:18:01 - PeterThoeny
Plugins.BugzillaLinkPlugin moved from Plugins.BugzillaPlugin on 2002-08-16 - 04:26 by PeterThoeny - put it back
 
TWIKI.NET
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.