[rt-users] CLI and User Custom Fields

2013-09-13 Thread Triplett, Jeff
I am trying to find a way to set User Custom Fields using the CLI. I have tried: rt edit -t users UniqueID set CF-MyCFName=something rt edit -t users UniqueID set CF.{MyCFName}=something When I use these commands I get a Unknown field error. Is is possible to edit user Custom Fields from the

[rt-users] errors in upgrade to rt-4.2

2013-09-13 Thread Xin, Qiao
Hi, We failed in upgrading RT from 4.0.5 with RTIR 2.6.1 to 4.2 with the following error. Please help. mysql Ver 14.14 Distrib 5.1.69, for redhat-linux-gnu (x86_64) using readline 5.1 This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Congratulations. RT has

Re: [rt-users] errors in upgrade to rt-4.2

2013-09-13 Thread Kevin Falcone
On Fri, Sep 13, 2013 at 01:18:30PM +, Xin, Qiao wrote: We failed in upgrading RT from 4.0.5 with RTIR 2.6.1 to 4.2 with the following error. Please help. I'm confused how you're running 4.0.5 with RTIR 2.6.1, since that version isn't compatible with RT 4 (RTIR 3.0.0 is the compatible

Re: [rt-users] CLI and User Custom Fields

2013-09-13 Thread Kevin Falcone
On Fri, Sep 13, 2013 at 09:30:30AM -0400, Triplett, Jeff wrote: I am trying to find a way to set User Custom Fields using the CLI. I have tried: rt edit -t users UniqueID set CF-MyCFName=something rt edit -t users UniqueID set CF.{MyCFName}=something When I use these commands I

Re: [rt-users] CLI and User Custom Fields

2013-09-13 Thread Triplett, Jeff
What is the best way to programmatically add and edit users in RT? Thanks, Jeff On Fri, Sep 13, 2013 at 9:54 AM, Kevin Falcone falc...@bestpractical.comwrote: On Fri, Sep 13, 2013 at 09:30:30AM -0400, Triplett, Jeff wrote: I am trying to find a way to set User Custom Fields using the

Re: [rt-users] CLI and User Custom Fields

2013-09-13 Thread Kevin Falcone
On Fri, Sep 13, 2013 at 10:09:30AM -0400, Triplett, Jeff wrote: What is the best way to programmatically add and edit users in RT? The Perl API which you can read more about on http://docs.bestpractical.com If you're just importing users, rather than adding them occasionally, use something

[rt-users] Using RT::Template with MIMEObj to create a new ticket using -Create()

2013-09-13 Thread Landon Stewart
This was originally posted to the RTIR list but I'm x-posting it here because it's not specific to RTIR and I'm still having difficulties. I've been unable to figure out how to call an action module from another action module but instead I've been working on an action module that basically: -

Re: [rt-users] errors in upgrade to rt-4.2

2013-09-13 Thread Xin, Qiao
Hi, Sorry I could not figure out how to reply to existing message, if this creats a new ticket. If say I have RT 3 and RTIR 2.6 running currently. Since RTIR 2.6 works with RT3 and RTIR 3.0 only works with RT 4. How can I upgrade my current system? If I upgrade RT to RT 4 first, then the