We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Plugins Web>BugzillaLinkPlugin (26 Aug 2008, SaschaVetter)
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
elsegz BugzillaLinkPlugin.tar.gz manage 5.6 K 26 Aug 2008 - 08:17 SaschaVetter v1.3 - works with twiki 4.2 and has new functions
zipzip BugzillaLinkPlugin.zip manage 7.8 K 26 Aug 2008 - 08:16 SaschaVetter v1.3 - works with twiki 4.2 and has new functions
gifgif bug.gif manage 0.2 K 15 Aug 2002 - 12:47 FlorianGnaegi  
gifgif bug_small.gif manage 0.9 K 19 Aug 2002 - 09:44 FlorianGnaegi Bug image, small version
Topic revision: r16 - 26 Aug 2008 - 08:23:13 - SaschaVetter
Plugins.BugzillaLinkPlugin moved from Plugins.BugzillaPlugin on 16 Aug 2002 - 04:26 by PeterThoeny - put it back
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback