Hello,

I have a dynamic field called ZabbixEventID. When I create the ticket using
the API, I'd like to set this field to something. As the API documentation
doesn't say anything about this, I'm trying to achieve it like this:

my $ticketID = $ticketObject->TicketCreate(
    Title                      => $subject,
    Queue                      => 'Raw',
    Lock                       => 'unlock',
    Priority                   => '3 normal',
    State                      => 'new',
    Type                       => 'Incident',
    OwnerID                    => 1,
    UserID                     => 1,
    DynamicField               => {
        ZabbixEventID          => 'thing',
    }
);

My other try was

my $ticketID = $ticketObject->TicketCreate(
    Title                      => $subject,
    Queue                      => 'Raw',
    Lock                       => 'unlock',
    Priority                   => '3 normal',
    State                      => 'new',
    Type                       => 'Incident',
    OwnerID                    => 1,
    UserID                     => 1,
    DynamicField_ZabbixEventID => 'thing',
);

but neither worked. Can someone tell me The Right Way(TM)?

Thank you in advance!

Best,
Gergey
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to