Tags:
create new tag
, view all tags

Question

I'm trying to write a collection of Twiki pages similar to your ChangeRequest example.

Ideally, in the ChangeRequestTemplate I'd like to be able to extract the ChangeRequest id from the topic, and use it with the Bugzilla plugin.

Is there any way to extract the id from the topic?

Sorry if this is a basic question, I have looked & looked, but can't locate an answer to this.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- TWikiGuest - 16 Mar 2004

Answer

Use a SpreadSheetPlugin formula to extract the number from the topic name. Example: %CALC{$VALUE(%TOPIC%)}%

See example in action at Sandbox.ChangeRequest1026

-- PeterThoeny - 17 Mar 2004

Topic revision: r2 - 2004-03-17 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.