Skip to main content

Configuring a webhook integration with JiraCloud Issue Management allows you to create issues automatically in JiraCloud.

Important

Third-party documentation is subject to change. Updates might not be reflected in BeyondTrust documentation. For the most up-to-date information, visit Jira Cloud documentation.

Requirements

  • Access to a BeyondTrust site with an EPM app

  • An EPM account with webhook read/write privileges

  • Administrative rights in Jira Cloud to generate an API token

Create a Jira Cloud API Token

The first step in configuring the integration between EPM and Jira Cloud is to create an API token.

  1. While authenticated to your Jira Cloud instance, access the API Tokens screen.

  2. Create a new API token and copy the value.

Create a webhook integration for JiraCloud - Issue Management

  1. Go to EPM > Settings
    The EPM page displays the available system settings.

  2. Click Webhook Settings.
    The Webhook Settings page displays.

  3. Click Create Webhook.
    The Create Webhook page displays.

  4. To create the webhook, use the following:

    • Webhook Name: Enter a name

    • Webhook URL: Enter URL. (ie https://{Jira Cloud instance}/rest/api/3/issue)

    • Event: JIT Application Access Ticket Created

    • Content Type: application/json

    • Authentication Type: BASIC

    • Authentication Username: Provide the username.

    • Authentication Password: Provide the api token.

    • Template: Use the following test webhook JSON template to test the connection and send a webhook to JiraCloud. After a successful test with the static test data, the template can be configured. Create or change the fields and add variables as per your requirements.

{
"fields":{
"summary":"JIT Application Access Ticket Created",
"issuetype":{
"id":"10001"
},
"project":{
"key":"IN"
},
"description":{
"type":"doc",
"version":1,
"content"::{
"type":"paragraph",
"content"::{
"text": "A request to execute %%FilePathObjectId%% by %%User%% has been received. You can view the application at https://example.pm.beyondtrustcloud.com/jit-access-management/jit-access/details/%%EpmId%%",
"type":"text"
}]
}]
}
}
}

 

Note

For more information, see Jira Cloud documentation.

Reply