Skip to content

fix(server): send Opsgenie alert tags and actions as arrays - #6047

Open
Aminark wants to merge 1 commit into
codecentric:masterfrom
Aminark:fix/opsgenie-alert-list-fields
Open

Aminark wants to merge 1 commit into
codecentric:masterfrom
Aminark:fix/opsgenie-alert-list-fields

Conversation

@Aminark

@Aminark Aminark commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

The Opsgenie notifier accepts comma-separated tags and actions in configuration. It was sending each whole property as a single JSON string in the create-alert request. The v2 Alert API expects arrays for both fields.

Split the two properties when building the request. This keeps existing configuration valid, including a space after a comma. The notifier test now checks the lists received by the HTTP client on a DOWN transition and the existing close request on recovery.

@Aminark
Aminark requested a review from a team as a code owner November 30, 2026 15:46

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant