Skip to main content

JIRA Webhooks

Automatic Registration

JIRA webhooks can be automatically registered when you enable them in your connection options. Leen will:
  1. Register a webhook with JIRA during connection initialization
  2. Subscribe to issue events (create/update/delete)
  3. Apply JQL filters based on your project filter settings
  4. Events subscribed: jira:issue_created, jira:issue_updated, jira:issue_deleted

Enabling Automatic Webhooks

When creating or updating a JIRA connection, include enable_webhooks: true in your options:
{
  "vendor": "JIRA",
  "options": {
    "enable_webhooks": true,
  }
}
{
  "vendor": "JIRA",
  "options": {
    "enable_webhooks": true,
    "project_keys_filter": ["PROJ1", "ENG", "SEC"],
    "priority_mapping": [
      {"Highest": "CRITICAL"},
      {"High": "HIGH"},
      {"Medium": "MEDIUM"},
      {"Low": "LOW"},
      {"Lowest": "INFORMATIONAL"}
    ],
    "status_mapping": [
      {"To Do": "TODO"},
      {"In Progress": "IN_PROGRESS"},
      {"Done": "CLOSED"}
    ]
  }
}

Use Project Filters

The optional filters for projects applied when creating connections, would also apply to the webhooks.