-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Add support for Jira Automation webhooks in the AOF daemon, allowing automated workflows triggered by Jira events like issue creation, updates, comments, and work logging.
Features
- Jira Platform Registration: Register Jira platform in daemon serve command
- Flexible Payload Parsing: Handle minimal payloads from Jira Automation (optional fields)
- Signature Verification: Support both static secrets and HMAC-SHA256 signatures
- Webhook Endpoint:
/webhook/jirafor receiving Jira events
Changes
crates/aofctl/src/commands/serve.rs- Add Jira platform configuration and registrationcrates/aof-triggers/src/platforms/jira.rs- Make payload fields optional for Automation compatibilitycrates/aof-triggers/src/lib.rs- Export JiraPlatform and JiraConfigdocs/tutorials/jira-automation.md- Updated tutorial with payload templatesdocs/reference/jira-integration.md- Updated reference docs
Configuration
apiVersion: aof.dev/v1
kind: DaemonConfig
metadata:
name: jira-automation
spec:
server:
port: 3000
platforms:
jira:
enabled: true
base_url: https://your-instance.atlassian.net
user_email_env: JIRA_USER_EMAIL
api_token_env: JIRA_API_TOKEN
webhook_secret_env: JIRA_WEBHOOK_SECRETJira Automation Setup
- Create Automation rule with trigger (e.g., "Comment created")
- Add "Send web request" action
- Configure Custom data with issue and comment fields
- Add X-Hub-Signature header with webhook secret
Related Branch
feature/jira-automation-support
Metadata
Metadata
Assignees
Labels
No labels