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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-03-17 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.