Discussions  >  CollabNet TeamForge APIs  >  RE: hooks.jar env var tf_updated_FlexFields

Back to topic list

RE: hooks.jar env var tf_updated_FlexFields

Author jonico
Full name Johannes Nicolai
Date 2013-03-26 13:05:51 PDT
Message Hi Mark,

In case you still need to access flex fields in your hook scripts and have not added this functionality yourself, I did something like this now.
Attached is a modified version of hooks.jar which also turns flex field values into environmental variables.
Also attached two example files to give you a feeling how those environmental variables look like.

In case you wonder why those additional environmental variables name look as they look like take under consideration that
a) A unix environmental name must not contain any white spaces (TF flex fields can)
b) A flex field can have multiple values and the order might matter
c) Flex fields of different types may have the same name


Best, Johannes

-----Original Message-----
From: Mark 0Brien [mailto:XXXX@XXXX]
Sent: Friday, December 14, 2012 2:01 PM
To: XXXX@XXXX
Subject: RE: hooks.jar env var tf_updated_FlexFields

Thanks for the reply.

Mark

--------------------​--------------------​--------------
http://forums.open.c​ollab.net/ds/viewMes​sage.do?dsForumId=73​8&dsMessageId=47​7607

To cancel your subscription to this CollabNet TeamForge APIs discussion, please e-mail XXXX@XXXX.
Attachments

« Previous message in topic | 4 of 4 | Next message in topic »

Messages

Show all messages in topic

hooks.jar env var tf_updated_FlexFields m0brien Mark 0Brien 2012-12-13 10:34:06 PST
     RE: hooks.jar env var tf_updated_FlexFields jonico Johannes Nicolai 2012-12-13 13:15:20 PST
         RE: hooks.jar env var tf_updated_FlexFields m0brien Mark 0Brien 2012-12-14 05:00:35 PST
             RE: hooks.jar env var tf_updated_FlexFields jonico Johannes Nicolai 2013-03-26 13:05:51 PDT
Messages per page: