Attributes set in the DroolsTicketerServiceLayer get overwritten

Description

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

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Markus von Rüden June 20, 2016 at 8:10 AM

Ronny Trommer June 16, 2016 at 9:15 AM
Edited

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.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created June 16, 2016 at 8:36 AM
Updated June 21, 2016 at 1:36 PM
Resolved June 21, 2016 at 9:36 AM