Ticket_Overlay/Attachment_Overlay->Import for 4.x?

Has anyone tried to port the ‘Import’ methods in the old 3.x
Ticket_Overlay.pm, and Attachment_Overlay.pm to RT 4.x? (4.2.x here).

I understand the new way to do overlays are to use Ticket_Local.pm or
Attachment_Local.pm file names.

I’m going to try copying over the methods and dependent methods. I’m
just curious if anyone has tried to do this before. I’m trying to use an
export/import script that uses those methods. There’s also Create
methods in the _Overlay.pm that is a bit concerning as it appears to
overlay the ones in Ticket.pm/Attachment.pm. I’m currently in a
development environment and will likely only use it temporarily when
doing the import so it doesn’t need to work with a running web RT.

Thanks for your time,

Curtis

I noticed the 4.0.x code base has ->Import included in Ticket.pm and
Attachment.pm. I’m going to try starting from there but I’m wondering if
there’s any known technical reasons why these methods may not work in rt
4.2.x

Thanks again,

CurtisOn 2/9/2016 5:10 PM, Curtis Bruneau wrote:

Has anyone tried to port the ‘Import’ methods in the old 3.x
Ticket_Overlay.pm, and Attachment_Overlay.pm to RT 4.x? (4.2.x here).

I understand the new way to do overlays are to use Ticket_Local.pm or
Attachment_Local.pm file names.

I’m going to try copying over the methods and dependent methods. I’m
just curious if anyone has tried to do this before. I’m trying to use
an export/import script that uses those methods. There’s also Create
methods in the _Overlay.pm that is a bit concerning as it appears to
overlay the ones in Ticket.pm/Attachment.pm. I’m currently in a
development environment and will likely only use it temporarily when
doing the import so it doesn’t need to work with a running web RT.

Thanks for your time,

Curtis


RT 4.4 and RTIR Training Sessions
(http://bestpractical.com/services/training.html)

  • Hamburg Germany March 14 & 15, 2016