[rt-users] Append Data to CustomFields

Joachim Thuau JThuau at spacex.com
Tue May 29 11:49:41 EDT 2012


Oops -- this was intended for Rabin, as a reply to his active directory
integration questionŠ

Jok
-- 
| Joachim Thuau | IT Systems Engineer - Linux / SpaceX |



On 5/29/12 8:47 AM, "Joachim Thuau" <JThuau at spacex.com> wrote:

>I would also strongly recommend you look at the
>"rt-extension-ldapimport", which will allow you to sync groups and users
>from AD using ldap.
>
>Thanks,
>Jok
>--
>| Joachim Thuau | IT Systems Engineer - Linux / SpaceX |
>| Cell: 310-890-7937 | Office: 310-363-6153 |
>
>From: Kenneth Crocker
><kenn.crocker at gmail.com<mailto:kenn.crocker at gmail.com>>
>Date: Monday, May 28, 2012 6:20 PM
>To: RT User List 
><rt-users at lists.bestpractical.com<mailto:rt-users at lists.bestpractical.com>
>>
>Subject: Re: [rt-users] Append Data to CustomFields
>
>HoboKing,
>
>You could create a CF with SeeCF rights only to Users and then write a
>scrip so that when the TimeWorked field is updated, the scrip subtracts
>the old value from the new value and then adds that result to the CF.
>You could also add a condition to check the date and if it is month-end
>or something you could move the final "TomeWorked" value to a Month-end
>Time CF and then zero out the contiguos one.
>That way, you won't run into problems of some user entering a non-inter
>type value into the field. You might want to grant "ModifyCF" to the
>SuperUSer or some management group of users so they can override the
>value when necessary.
>It all depends on what you want to accomplish.
>TimeWorked is already designed to receive integers. So all you really
>need is a CF to act as a monthly or yearly, etc. accumulator, along with
>a routine to zero out at the end of that cycle.
>The best way is to write a cronjob to run through all tickets on whatever
>cycle you want to accumulate and have that routine do the
>accumulate/move/zero work. That way you get ALL tickets updated
>consistently, not just the ones that were updated in a given cycle.
>
>Hope this helps.
>
>Kenn
>
>On Mon, May 28, 2012 at 11:44 AM, TheHoboKing
><demon_eyes_kyoms at hotmail.com<mailto:demon_eyes_kyoms at hotmail.com>> wrote:
>
>Hi,
>
>I'm still quite new at RT and was wondering if there's a way to have
>appendable/updatable CustomFields like the TimeWorked field?
>
>Whenever I update a ticket, the TimeWorked field is blank, any value
>(digits) I add will automatically be added to the old value, it'll make a
>simple addition.
>
>How can I do the same with CustomFields? Either via the webUI, scrip or
>back-end (Update.html ? ModifyAll.html?)
>
>I'm running RT 4.0.5
>
>Thank you!
>--
>View this message in context:
>http://old.nabble.com/Append-Data-to-CustomFields-tp33920988p33920988.html
>Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>




More information about the rt-users mailing list