Skip to:
The DroolsTicketerServiceLayer allows administrator to control how Ticket objects are created from Alarms objects using Drools rules.
When creating the Ticket objects, it is possible to set custom attributes on the ticket, but these always get overwritten here:https://github.com/OpenNMS/opennms/blob/opennms-18.0.0-1/features/ticketing/daemon/src/main/java/org/opennms/netmgt/ticketd/DefaultTicketerServiceLayer.java#L176
PR: https://github.com/OpenNMS/opennms/pull/866
I can confirm this behavior it's exactly how it is described, I've seen this by debugging with JPDA and set a break point on the createTicketFromAlarm() in the DroolsTicketerServiceLayer.
The DroolsTicketerServiceLayer allows administrator to control how Ticket objects are created from Alarms objects using Drools rules.
When creating the Ticket objects, it is possible to set custom attributes on the ticket, but these always get overwritten here:
https://github.com/OpenNMS/opennms/blob/opennms-18.0.0-1/features/ticketing/daemon/src/main/java/org/opennms/netmgt/ticketd/DefaultTicketerServiceLayer.java#L176