feat: Dolibarr webhook events — sync issue lifecycle to CRM #54

Open
opened 2026-05-08 04:47:36 +00:00 by jmiller · 0 comments
Owner

Push Gitea events to Dolibarr via webhooks.

Events to Sync

Gitea Event Dolibarr Action
Issue created Create task in linked project
Issue closed Mark task as completed
Issue labeled 'billable' Create intervention line
PR merged Update project progress
Release published Create supplier invoice line
Time tracked Add time spent to Dolibarr task

Implementation

  • New webhook event type: dolibarr_sync
  • Configurable mapping rules per repo
  • Dolibarr API client built into Gitea
  • Two-way sync option (Dolibarr changes reflect back)

Configuration

[dolibarr]
ENABLED = true
API_URL = https://crm.mokoconsulting.tech/api/index.php
API_KEY = your-dolibarr-api-key
DEFAULT_PROJECT = 0
SYNC_TIME_TRACKING = true
Push Gitea events to Dolibarr via webhooks. ## Events to Sync | Gitea Event | Dolibarr Action | |---|---| | Issue created | Create task in linked project | | Issue closed | Mark task as completed | | Issue labeled 'billable' | Create intervention line | | PR merged | Update project progress | | Release published | Create supplier invoice line | | Time tracked | Add time spent to Dolibarr task | ## Implementation - New webhook event type: `dolibarr_sync` - Configurable mapping rules per repo - Dolibarr API client built into Gitea - Two-way sync option (Dolibarr changes reflect back) ## Configuration ```ini [dolibarr] ENABLED = true API_URL = https://crm.mokoconsulting.tech/api/index.php API_KEY = your-dolibarr-api-key DEFAULT_PROJECT = 0 SYNC_TIME_TRACKING = true ```
jmiller added the type: feature label 2026-05-11 17:08:55 +00:00
Sign in to join this conversation.
No labels type: feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#54