[ZBX-20258] Tags not being added in Zammad ticket integration Created: 2021 Nov 23  Updated: 2024 Apr 10  Resolved: 2022 Jan 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: 5.0.19, 5.4.7, 5.4.9, 6.0.0beta1
Fix Version/s: 5.0.20rc1, 5.4.10rc1, 6.0.0beta2, 6.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Sandro Tolaini Assignee: Andrew Biba
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File zammad-fix.js    
Team: Team INT
Sprint: Sprint 83 (Dec 2021), Sprint 84 (Jan 2022)
Story Points: 1

 Description   

Steps to reproduce:

  1. Setup Zammad integration as per docs
  2. Add a Zabbix tag to a trigger
  3. Examine the resultant Zammad ticket

Result:
No tag is associated to the ticket
Expected:
The trigger tag should be associated to the ticket



 Comments   
Comment by Sandro Tolaini [ 2021 Nov 23 ]

Problem is due to a change on the Zammad API that removed GET method for /api/v1/tags/add due to security reasons, and replaced with POST.

 

To fix, simply change setTicketTags function on the media definition (see attachment).

Comment by Andrew Biba [ 2022 Jan 10 ]

Fixed in:

Generated at Fri Jul 04 10:38:19 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.