[ZBXNEXT-5030] Add quote escaping for Macros in Alert Messages Created: 2019 Feb 12 Updated: 2019 Feb 12 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Minor |
Reporter: | Stefan | Assignee: | Andris Zeila |
Resolution: | Unresolved | Votes: | 0 |
Labels: | actions, macros, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
All |
Description |
For custom alert scripts that are integrated with other pieces (in our case a ticket tracker) it would be nice if macro values could be correctly escaped. For example we have a operation message like this which should be valid JSON: {"desc": "{TRIGGER.DESCRIPTION}",
However if there should be any quotes in TRIGGER.DESCRIPTION it will not be valid JSON - so it would be nice to have a possibility to have a kind of escaped macro expansion here. |