[ZBXNEXT-8121] Input field for frontend scripts Created: 2022 Nov 28 Updated: 2024 Aug 21 Resolved: 2024 Jan 11 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 7.0.0alpha9, 7.0 (plan) |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Mateusz Dampc | Assignee: | Eliza Sekace |
Resolution: | Fixed | Votes: | 6 |
Labels: | None | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Environment: |
Zabbix Frontend |
Attachments: | Screenshot 2023-09-27 at 19.00.46.png Screenshot 2023-09-27 at 19.03.43.png Screenshot 2023-09-27 at 19.06.51.png Screenshot 2023-12-21 at 11.21.44.png broken_confirm_popup.gif image-2023-11-07-15-16-22-170.png image-2023-12-13-13-47-10-820.png screenshot-1.png screenshot-2.png screenshot-3.png screenshot-4.png screenshot-5.png screenshot-6.png screenshot-7.png screenshot-8.png screenshot-9.png script_execution.gif trigger_context_menu.gif zbxnext-8121.yaml | ||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||||||
Epic Link: | Zabbix 7.0 | ||||||||||||||||||||||||||||
Team: | Team D | ||||||||||||||||||||||||||||
Sprint: | Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023), S2401 | ||||||||||||||||||||||||||||
Story Points: | 3 |
Description |
I think it would be nice to add new feature to frontend scripts, which will be fimiliar to macros {ALERT.MESSAGE} and {ALERT.SUBJECT}. Because sometimes some frontend scripts requires a few conditions, which cannot be provided by built-in macros. So to do it's required to create few the same frontend scripts, what provides a mess. I would provide variables (which can be provided in script by new built-in macro e.g {SCRIPT.INPUT}) in "Confirmation message". Example situtation: Creating frontend script with type webhook to add new period maintenance in Zabbix. On host menu would be visible action "Create maintenance to this host for X days". After clicking that would be visible popup with text area with custom message eg. : "How long your host should be in maintenance". When intiger value would be provided then this value will be contained in special new built-in macro.
|
Comments |
Comment by Eliza Sekace [ 2023 Sep 25 ] |
Implemented in development branch feature/ZBXNEXT-8593-6.5 |
Comment by Juris Lambda [ 2023 Dec 18 ] |
Available in
|
Comment by Martins Valkovskis [ 2023 Dec 22 ] |
Updated documentation:
<esekace> Updated API documentation: |