[rt-users] Moving a database to articles
Kevin Falcone
falcone at bestpractical.com
Thu May 15 16:12:50 EDT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140515/7700d0d9/attachment.sig>
More information about the rt-users
mailing list