CrewLabs ← ForgeHook for Jira
ForgeHook for Jira

Documentation

User documentation & integration guide

Version
2.2.0
App type
Atlassian Forge native app (Jira Cloud)

ForgeHook for Jira is a zero-latency inbound webhook router built natively on Atlassian Forge. It streams real-time alerts from third-party monitoring services directly into Jira Cloud issues, without custom middleware or Jira Automation execution limits.

Key capabilities

Quick setup

Setting up ForgeHook takes less than two minutes.

1. Open the ForgeHook configuration screen

  1. Log in to your Jira Cloud instance as a Jira Administrator.
  2. Go to Jira Settings (⚙️) → Apps → ForgeHook Webhook Router.
  3. Alternatively, select ForgeHook Settings from any Jira project sidebar.

2. Configure routing rules

3. Copy your webhook endpoint URL

After saving, your unique Atlassian-hosted endpoint URL is displayed:

https://<unique-id>.hello.atlassian-dev.net/x1/<web-trigger-token>

Paste this endpoint into your monitoring tools, CI/CD pipelines, or third-party webhooks.

Integration guides

Custom HTTP POST (JSON)

ForgeHook automatically parses any incoming JSON body and extracts the best issue title candidate.

curl -X POST "https://<your-forgehook-endpoint-url>" \
  -H "Content-Type: application/json" \
  -H "x-forgehook-token: YOUR_CONFIGURED_SHARED_SECRET" \
  -d '{
    "title": "High CPU Usage Warning on prod-worker-01",
    "message": "CPU utilization exceeded 95% threshold for 5 consecutive minutes.",
    "severity": "CRITICAL"
  }'

GitHub webhooks

  1. Go to your GitHub repository → Settings → Webhooks → Add webhook.
  2. Payload URL: your ForgeHook endpoint URL.
  3. Content type: application/json.
  4. Secret: your configured shared secret.
  5. Select the events to trigger the webhook (e.g. workflow runs, push events, issue comments).

Datadog alert webhooks

  1. In Datadog, go to Integrations → Webhooks → New Webhook.
  2. Name: Jira-ForgeHook
  3. URL: your ForgeHook endpoint URL.
  4. Custom headers: {"x-forgehook-token": "YOUR_CONFIGURED_SHARED_SECRET"}
  5. Save, then reference @webhook-Jira-ForgeHook in your monitor notifications.

PagerDuty webhooks

  1. In PagerDuty, go to Integrations → Generic Webhook (v3).
  2. Endpoint URL: your ForgeHook endpoint URL.
  3. Add custom header: x-forgehook-token: YOUR_CONFIGURED_SHARED_SECRET

Grafana / Prometheus Alertmanager

  1. In Grafana, go to Alerting → Contact points → Add contact point.
  2. Select type Webhook.
  3. URL: https://<your-forgehook-endpoint-url>?token=YOUR_CONFIGURED_SHARED_SECRET
  4. Attach the contact point to your notification policies.

Authentication methods

ForgeHook enforces strict authorization on all inbound webhook requests. Pass your configured shared secret using any of the following channels:

MethodHeader / parameterExample
Custom header (recommended)x-forgehook-tokenx-forgehook-token: secret123
Bearer tokenAuthorizationAuthorization: Bearer secret123
GitHub secret headerx-hub-signature-256 / x-github-eventAutomatic signature validation
URL query parameter?token= or ?secret=https://...?token=secret123

Troubleshooting & response codes

ForgeHook returns standard HTTP status codes and sanitized JSON error payloads with correlation IDs for debugging.

StatusMeaningAction
200 OKSuccessIssue successfully created in Jira.
401 UnauthorizedInvalid secretVerify x-forgehook-token or ?token= matches the shared secret saved in Jira settings.
402 Payment RequiredLicense requiredYour Atlassian Marketplace subscription or trial has expired. Renew it in Jira Admin.
400 Bad RequestInvalid payloadRequest body must be valid JSON with Content-Type: application/json.
502 Upstream ErrorJira permission issueCheck the target project key exists and the Forge app actor can create issues there. Note the returned correlationId when inspecting logs.

Privacy & data handling

See the full Privacy Policy for details.

Support & feedback

Need help or want to request a feature?