Webhook Recipes¶
Use webhook recipes when you want a source system to send live issue changes to SLApulse.
SLApulse recommends the general webhook for new source integrations. The setup stays the same across source systems, and each source can have its own small copy/paste payload.
The payload is intentionally small and explicit. This makes it clear which data is sent to SLApulse, which also helps when you review the integration for GDPR or internal data-sharing rules.
Jira Automation¶
Use this recipe when Jira Automation sends issue changes to SLApulse.
Start with one Jira project and one test issue. After the first event arrives, check webhook diagnostics and then open the issue in SLApulse.
When to send the webhook¶
Create Jira Automation rules for the changes that matter to SLA tracking:
| Jira change | Why it matters |
|---|---|
| Issue created | Sends the first known issue state to SLApulse. |
| Issue transitioned or status changed | Lets SLApulse apply your status mapping. |
| Priority changed | Lets SLApulse use the correct SLA target. |
| Issue type changed | Needed if your SLA filters or reports use issue type. |
Set up the Jira action¶
In Jira Automation, add a Send web request action.
- Copy the webhook URL from SLApulse.
- Paste it into Jira without editing it manually.
- Copy the webhook secret from SLApulse.
- Add a request header named
X-Webhook-Secretwith the copied secret as the value. - Set the request method to
POST. - Set the body type to custom JSON.
- Add
Content-Type: application/jsonif Jira asks for a content type header. - Paste this body:
{
"issueKey": "{{issue.key}}",
"sourceStatus": "{{issue.status.name}}",
"sourceIssueType": "{{issue.issueType.name}}",
"priority": "{{issue.priority.name}}",
"createdAt": "{{issue.created.jiraDate}}"
}
Save the rule, then update a test issue in Jira. Check webhook diagnostics in SLApulse if the event does not arrive.
Data sent to SLApulse¶
The general webhook sends only the fields needed for SLA tracking and source matching.
| Field | Jira value | Purpose |
|---|---|---|
issueKey |
Issue key | Identifies the source issue. |
sourceStatus |
Status name | Maps the Jira workflow status to SLA meaning in SLApulse. |
sourceIssueType |
Issue type name | Supports issue type filters and reporting. |
priority |
Priority name | Selects the matching SLA target. |
createdAt |
Issue created time | Preserves the original issue creation time. |
This payload does not send issue descriptions, comments, reporter, assignee, labels, attachments, or other free-text fields.
SLApulse calculates the receive time and internal routing from the webhook URL and project setup.
Check the result¶
After the first test event:
- Open webhook diagnostics in SLApulse.
- Check that the event was accepted.
- Open the issue in SLApulse.
- Check that the source status appears as expected.
- Map the status if the project is still collecting unmapped statuses.
If the webhook fails, copy the webhook URL and secret from SLApulse again. Do not build or edit the URL by hand.