Integrating Jira Service Management (On-Premise) with Applications Manager using Webhook

Integrating Jira Service Management (On-Premise) with Applications Manager using Webhook

Using Webhook, you can now integrate Jira Service Management (On-Premise) with Applications Manager and receive real-time alerts on incidents right into your Jira instance. 

Follow the steps given below to integrate Jira service (On-premise) with Applications Manager using Webhook:
  • In Applications Manager web client, go to Actions > Webhook / REST API action.
  • Enter the display name of the action. 
  • In HTTP(s) URL textbox, enter the following webhook URL: 
    http://<Hostname>:<Port>/rest/api/2/issue/
  • Choose the Form Submission Method as POST 
  • Choose the PayLoad Type as JSON.
  • In the Custom Parameters textbox, enter the following parameters: 
  • {

       "fields":{

          "project":{

             "key":"<ProjectKeyName>"

          },

          "summary":"$MONITORNAME - $SEVERITY",

          "description":"Monitor Name - $MONITORNAME\nAttribute - $ATTRIBUTE\nMonitor Type - $MONITORTYPE\nHost Name - $HOSTNAME\nRoot Cause Message - $RCAMSG_PLAINTEXT",

          "issuetype":{

             "name":"<IssueTypeName>"

          }

       }

    }
    Replace <ProjectKeyName> with the project key in which the issues need to be created. You can get this name in the Jira Service Management Project view itself.
    Replace <IssueTypeName> with the type of issue you need to create. e.g. Problem, Incident, etc. Below are the reference links for more information about the Issue Type name:

    You can use more Replaceable tags in the summary or description fields

  • Under Request Headers, specify the Header Name as Content-Type and Header Value as application/json. Click  icon to add Request Header and enter Header Name as Authorization and Header Value as Basic <Username>:<Password in Base64 encoded format>
  • Enter the remaining fields such as User Agent, Authentication Method, etc., if required.
  • Select the email ID in Notify after action execution for both success and failure conditions to receive notifications, if required.
  • Finally, enter the Timeout value and click on Create Action.
Sample Screenshots for incident created in Jira Service Management
‚Äč