Werk #16098: notification rules: match_folder value now matches correctly to available folders

Component REST API
Title notification rules: match_folder value now matches correctly to available folders
Date Sep 12, 2023
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk addresses an issue when creating or updating a notification rule via the REST-API. Previously, it would not correctly match the desired folder and as a result, you had to set this option to disabled which meant all rules were created in the main folder only.

Now the match_folder value field should match a folder id, in the form of the folder path, replacing / for ~

E.g.

/folder1 -> ~folder1 /folder1/folder2 -> ~folder1~folder2

To the list of all Werks