-
Problem report
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021)
-
0.5
Steps to reproduce:
- Navigate to Administration -> Media types -> Create media type
- Create media type with following data:
- Type: Webhook
- Script: Please put any js code.
- Parameters: Let the default parameters will stay.
- Press "Add" button to save a mediatype
- Click to edit the created media type.
- Change the type from "Webhook" to "SMS", add some text to "GSM modem" and press "Update".
- Make API request to method mediatype.get specifying the ID of created media type.
{ "jsonrpc": "2.0", "method": "mediatype.get", "params": { "output": "extend", "mediatypeids": "<your media type id>" }, "auth": "<your auth key>", "id": 1 }
Result:
After changing the type, the response of mediatype.get still contains the parameters for webhook.
Expected:
Parameters field contains empty array after media type update with changed type from "Webhook" to any other type.
- caused by
-
ZBXNEXT-5387 Support of webhooks for actions (frontend)
- Closed