Page tree
Skip to end of metadata
Go to start of metadata


Step 1 - Register in ServiceNow

  1. Goto System OAuth → Application Register
  2. Click New
  3. Fill in the details needed to update ServiceNow data. (our example uses Global scope)
  4. Enter the Redirect URL, this is the URL that is the Callback URL specified on the OAuth Authentication in iHUB.
  5. In our example, we generated a Client Secret

Step 2 - Create Authentication in iHUB

  1. In iHUB create a new OAuth 2 authentication 
  2. Use the Client ID and Client Secret from the ServiceNow registration in Step 1.
  3. Add the instance URL with the following path param.
    1.  <instance-url>/oauth_auth.do
    2.  <instance-url>/oauth_token.do


Step 3 - Authorize the apps to talk to each other

  1. Click Authorize when all data is entered. 
  2. Do the OAuth dance, where you will be redirected to a consent form, click Allow.

Step 4 - Create iHUB REST Action to call ServiceNow

  1. Create a new Action in iHUB
  2. Select POST method and enter the URL <instance-url>/api/now/v1/table/incident
  3. Content-Type: application/json
  4. Body

    {"short_description":"{{issue.summary}}", "comments":"{{issue.description}}"}

  5. Click Triggers and select the event, cron or leave blank if you plan to use Post Function.

  6. In this example, we will use Issue Create Event




Step 5 - Test our integration and view result

  1. Test the integration by creating an issue in the project that the iHUB action is triggered by

On the issue, you can view the Integration result or view it from the Action Log.


View result in iHUB Execution log

Click View to see more details, such as the INC number.


Step 6 - View result in ServiceNow

  1. Goto Incidents in ServiceNow
  2. Search for the INC number that the log displayed.

Click to view the Incident

In our example we used the default encoding which is UTF-8, other encodings are supported as well.


Further Action - Add iHUB Action to save the INC number in the JIRA issue.







  • No labels