On Mon, May 12, 2014 at 02:13:31PM -0700, IT Guy wrote: > I have an old database that I'd love to move over to RT Articles. I have RT > running and a queue set up to receive the old database articles in HTML > format (I'll parse them with my own code to make things easier there). > However, I have not been able to find a way to move custom fields in tickets > to custom fields in articles. Another issue is doing this with the 2600-odd > articles I'm trying to move over. To do this manually would simply be a > waste of time. Is anyone familiar with functions like this or tried to do > this in the past?
I'm not really sure I understand your plan of tickets -> articles. You can't easily "move" a custom field between object types like that. If I needed to to make a bunch of articles, I'd start with the code at the bottom of RTIR's initialdata that creates Classes and Custom Fields and then call RT::Article::Create in a loop. Getting your data into tickets won't really help you. https://github.com/bestpractical/rtir/blob/3.0-trunk/etc/initialdata Unfortunately, there is no initialdata support for bulk importing articles, and a number of promised contributed patches have never materialized. -kevin
pgptXm_6A9Kc8.pgp
Description: PGP signature
-- RT Training - Dallas May 20-21 http://bestpractical.com/training