Cloud Elements currently supports events via polling or webhooks depending on the endpoint.
n
minutes and captures the changed information.If you would like to see more information on our Events framework, please see the Event Management Guide.
JIRA requires an extra configurations to the endpoint in order to enable webhooks.
Login to your Jira Development Account
Click Settings
Click "System"
Scroll Down and find WebHooks on the left hand side navigation panel
Click “WebHooks”
Click ” + Create a WebHook”
Name the WebHook
Make sure “Enabled” is selected
Input this URL: https://api.cloud-elements.com/elements/api-v2/events/jira
From this point, your webhook will receive all possible event notifications from every project.
Customization options are available. View the next screen shot for those options.
If you wish to have your WebHook receive all possible event notifications, then scroll down and click “Create”.
Optional Customization Features
Here you have the option to customize the type of events you wish your app to listen for. For example, setting a specific project to receive event notifications, as well as, setting specific events.
Option to set specific projects to receive event notifications
Option to set event specific notifications
Click “Create”.
To provision your JIRA Element with webhooks enabled, use the following JSON when calling the /instances API.
{
"element": {
"key": "jira"
},
"configuration": {
"jira.username": "<INSERT_JIRA_USERNAME>",
"jira.password": "<INSERT_JIRA_PASSWORD>",
"jira.api.url": "<INSERT_JIRA_SUBDOMAIN_URL>",
"event.notification.enabled": "true",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>"
},
"tags": [
"<INSERT_TAGS>"
],
"name": "<INSERT_INSTANCE_NAME>"
}