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.
-
While authenticated to your Jira Cloud instance, access the API Tokens screen.
-
Create a new API token and copy the value.
Create a webhook integration for JiraCloud - Issue Management
-
Go to EPM > Settings
The EPM page displays the available system settings. -
Click Webhook Settings.
The Webhook Settings page displays. -
Click Create Webhook.
The Create Webhook page displays. -
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.