# tail -f /var/log/zabbix/zabbix_server.log | grep -i "webhook" 18943:20200831:143918.357 [ Jira Webhook ] event_tags_json = [{"tag":"JiraService","value":"Document archive (Saperion)"},{"tag":"JiraSubservice","value":"Document archive (Saperion)"},{"tag":"WindowsEvent","value":""}] 18943:20200831:143918.357 [ Jira Webhook ] TAGSJSON tags = [object Object],[object Object],[object Object] 18943:20200831:143918.357 [ Jira Webhook ] In Create issue for trigger-based events. params.event_source = 0 params.event_recovery_value = {EVENT.RECOVERY.VALUE} params.event_value = 1 update.status = 0 jira.issue_key = {EVENT.TAGS.__zbx_jira_issuekey} jira.project_key = MGRIT params.alert_subject = [PROBLEM] Saperion errors params.alert_message = Problem started at 14:39:14 on 2020.08.31\nProblem name: Saperion errors\nHost: LTS-APPS53T\nSeverity: Average\nOperational data: Testing zabbix triggers1: %2\nOriginal problem ID: 501472\n\nWindows event data:\n8001\nError\nSAPERION Core\n2020.08.31\n14:38:31 18943:20200831:143918.357 [ Jira Webhook ] Sending request: https://jiradev.maximagroup.eu/rest/api/latest/issue/createmeta?expand=projects.issuetypes.fields&projectKeys=MGRIT&issuetypeNames=Incident 18943:20200831:143918.526 [ Jira Webhook ] Sending request: https://jiradev.maximagroup.eu/rest/api/latest/issue [ Jira Webhook ]{"fields":{"project":{"key":"MGRIT"},"issuetype":{"name":"Incident"},"summary":"[PROBLEM] Saperion errors","description":"","labels":["JiraService:Document_archive_(Saperion)","JiraSubservice:Document_archive_(Saperion)","WindowsEvent"],"customfield_11708":{"value":"Medium"},"customfield_11714":{"value":"Medium"},"customfield_11719":{"value":"Monitoring systems"},"customfield_10502":{"value":"Document archive (Saperion)"},"customfield_15500":{"value":"Document archive (Saperion)"},"customfield_15100":{"value":"Franmax"}}} #### 18944:20200831:144439.778 [ Jira Webhook ] event_tags_json = [{"tag":"JiraService","value":"Document archive (Saperion)"},{"tag":"JiraSubservice","value":"Document archive (Saperion)"},{"tag":"WindowsEvent","value":""},{"tag":"__zbx_jira_issuekey","value":"MGRIT-5648"},{"tag":"__zbx_jira_issuelink","value":"https://jiradev.maximagroup.eu/browse/MGRIT-5648"}] 18944:20200831:144439.778 [ Jira Webhook ] TAGSJSON tags = [object Object],[object Object],[object Object],[object Object],[object Object] 18944:20200831:144439.778 [ Jira Webhook ] Updating jira.issue_key = MGRIT-5648jira.project_key = MGRIT 18944:20200831:144439.778 [ Jira Webhook ] Sending request: https://jiradev.maximagroup.eu/rest/api/latest/issue/createmeta?expand=projects.issuetypes.fields&projectKeys=MGRIT&issuetypeNames=Incident 18944:20200831:144439.932 [ Jira Webhook ] Sending request: https://jiradev.maximagroup.eu/rest/api/latest/issue/MGRIT-5648 [ Jira Webhook ]{"fields":{"summary":"[RESOLVED] Saperion errors","customfield_11708":{"value":"Medium"},"customfield_11714":{"value":"Medium"},"customfield_11719":{"value":"Monitoring systems"},"customfield_10502":{"value":"Document archive (Saperion)"},"customfield_15500":{"value":"Document archive (Saperion)"},"customfield_15100":{"value":"Franmax"}}}