I expect the getTriggeredCondition().getDescription() method to return the description of the event definition, but instead it returns the title, just as getTitle() does.
Current Behavior
getTriggeredCondition().getDescription() returns the exact same thing as getTitle(), i.e. the title.
Possible Solution
(very unfamiliar with Java, haven't been able to dig into the code that far)
Steps to Reproduce (for bugs)
There are surely other ways to reproduce this issue, but this is what I do: (my way obviously requires an opsgenie subscription etc)
Trigger an event. This results in a description in opsgenie as follows:
Event title: Andreas testing OpsGenie
Event description: Andreas testing OpsGenie
However it should be:
Event title: Andreas testing OpsGenie
Event description: This is a description
as that is what is configured in the event definition in graylog.
Context
I'm ultimately trying to get the description of the event to be sent to OpsGenie, so I can provide context information regarding the defined event to the user that is tasked with solving the particular problem.
Your Environment
Graylog Version: 3.3.2 (also tested in 3.1.2, same behaviour)
Expected Behavior
I expect the getTriggeredCondition().getDescription() method to return the description of the event definition, but instead it returns the title, just as getTitle() does.
Current Behavior
getTriggeredCondition().getDescription() returns the exact same thing as getTitle(), i.e. the title.
Possible Solution
(very unfamiliar with Java, haven't been able to dig into the code that far)
Steps to Reproduce (for bugs)
There are surely other ways to reproduce this issue, but this is what I do: (my way obviously requires an opsgenie subscription etc)
as that is what is configured in the event definition in graylog.
Context
I'm ultimately trying to get the description of the event to be sent to OpsGenie, so I can provide context information regarding the defined event to the user that is tasked with solving the particular problem.
Your Environment