Ad Widget

Collapse

Zabbix 5.0 + Jira Service Desk Integration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mjoseph
    Junior Member
    • Jun 2020
    • 1

    #1

    Zabbix 5.0 + Jira Service Desk Integration

    Hi all,

    I'm relatively new to Zabbix and just setup my second zabbix instance. I am currently running version 5.0 and know that it now supports integration with Jira Service Desk. I would like to setup this integration but am having some issues. I've already read through the documentation for the integration steps and while it's helpful, it's also not. Zabbix wants you to add some data to the fields in the Jira Service Desk Media Type, and I'm not sure where to gather all the required bits. Per documentation it states it wants the following fields to be populated:

    1. jira_url - Easy enough I have the URL to my jira service desk site
    2. jira_user - I have that info
    3. jira_password - I have that as well, and I'm actually using a generated API token
    4. jira_servicedesk_id - This I'm not sure where to find it in Jira Service Desk
    5. jira_request_type_id - Not sure where to find this either
    6. event_source - It wants either 0 or 1


    Has anyone successfully been able to integrate Zabbix with Jira Service Desk? If so would you mind sharing some details on this? I've been searching the web for info, but there's not a whole lot out there. Any advice would be greatly appreciated.
  • noah.chou
    Junior Member
    • Jun 2020
    • 1

    #2
    Have the same needs, but can't find information yet…

    Comment

    • ryan_frank
      Junior Member
      • Sep 2020
      • 9

      #3
      So I am working through this process myself... here is how I found what I needed:

      1. Login to the service desk you need to get the ID from
      2. in another tab, open:
      https://<your SD url>/rest/servicedeskapi/servicedesk

      Search for the project you want, and find the "id" field for it: e.g.
      {"id":"11","projectId":"10223","projectName":"Zabb ix","projectKey":"ZABBX","_links":{"self":"https ://<url>/rest/servicedeskapi/servicedesk/11"}}

      In this case my servicedesk ID is 11
      3. To get request type, take the _links URL:
      https://<url>/rest/servicedeskapi/servicedesk/11/requesttype

      Search for the type of request you want to open: e.g.
      {"id":"40","_links":{"self":"https://<url>/rest/servicedeskapi/servicedesk/11/requesttype/40"}, "name":"Zabbix Alert"...

      You could also ask the Jira admin to provide it, but this worked for me to find the ID's... now, getting it to work... thats a whole different experience still working on that...

      Comment

      • yugansh_goyal
        Junior Member
        • Nov 2020
        • 2

        #4
        I used the details using the steps found above. But now facing 404 error. Upon research i found that it has something to do with the jira_url.
        The Rest call that Zabbix makes while testing is:
        <cloud_url>/rest/servicedeskapi/latest/servicedesk/<service desk ID>/requesttype/<request type ID/field
        whereas as per the Jira Service desk documentation, the correct endpoint is:
        ​​​​​​​<cloud_url>/rest/servicedeskapi/servicedesk/<service desk ID>/requesttype/<request type ID/field

        (difference in the endpoints in bold)

        Not sure why zabbix is using the wrong endpoint. Is this working for anybody?

        Comment

        • gareth.brown
          Junior Member
          • May 2015
          • 3

          #5
          you can change this yourself.
          click into the Jira service desk media type, then on the script box. Search in page for `latest/` and delete it. Save and good to go.

          Comment

          Working...