Ad Widget

Collapse

Adding ticket URL to a problem.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marianogedisman
    Member
    • Oct 2021
    • 78

    #1

    Adding ticket URL to a problem.

    Hello! I would like to know if it's possible to add a ticket URL to a problem, in order to keep track of it.

    I know it can be added as a message, but I'm not sure if I can add hyperlinks to the message though.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    yes... if your integration with your ticketing system returns something usable... you have "Menu entry name" and "Menu entry URL" in media definition. you can construct required URL there..

    here is example of jira webhook, where they parse issue ID from response and add it as tag to event.. you can utilize that tag for creating an URL in menu...
    Code:
    resp = JSON.parse(resp);
    result.tags.issue_id = resp.id;
    and in menu you can, for example, do something like
    Code:
    https://jira.your.company.com/{EVENT.TAGS.issue_id}
    after that, you can see that URL in problem dropdown menu

    Comment

    Working...