feat: Dolibarr integration — link issues to CRM entities #53

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

Connect Gitea issues to Dolibarr CRM objects (clients, invoices, projects, tasks).

Concept

A sidebar widget on issues that links to Dolibarr entities, enabling dev-to-business traceability.

Proposed Features

Issue Sidebar

  • Link issue to Dolibarr third party (client)
  • Link issue to Dolibarr project/task
  • Link issue to Dolibarr invoice/proposal
  • Show linked entity status inline (draft/validated/paid)

API Endpoints

  • GET /repos/{owner}/{repo}/issues/{index}/dolibarr-links
  • POST /repos/{owner}/{repo}/issues/{index}/dolibarr-links body: {type: 'thirdparty|project|invoice', dolibarr_id: 123}
  • DELETE /repos/{owner}/{repo}/issues/{index}/dolibarr-links/{id}

Configuration

  • Admin: set Dolibarr API URL and token in app.ini or site settings
  • Per-org: override Dolibarr instance
  • Custom field auto-populated from Dolibarr data

Use Cases

  • Developer fixes bug, links issue to client invoice for billing
  • PM creates feature issue, links to Dolibarr project for time tracking
  • Issue closed triggers Dolibarr task status update
  • Sprint review shows issues grouped by Dolibarr client
Connect Gitea issues to Dolibarr CRM objects (clients, invoices, projects, tasks). ## Concept A sidebar widget on issues that links to Dolibarr entities, enabling dev-to-business traceability. ## Proposed Features ### Issue Sidebar - Link issue to Dolibarr third party (client) - Link issue to Dolibarr project/task - Link issue to Dolibarr invoice/proposal - Show linked entity status inline (draft/validated/paid) ### API Endpoints - `GET /repos/{owner}/{repo}/issues/{index}/dolibarr-links` - `POST /repos/{owner}/{repo}/issues/{index}/dolibarr-links` body: `{type: 'thirdparty|project|invoice', dolibarr_id: 123}` - `DELETE /repos/{owner}/{repo}/issues/{index}/dolibarr-links/{id}` ### Configuration - Admin: set Dolibarr API URL and token in app.ini or site settings - Per-org: override Dolibarr instance - Custom field auto-populated from Dolibarr data ### Use Cases - Developer fixes bug, links issue to client invoice for billing - PM creates feature issue, links to Dolibarr project for time tracking - Issue closed triggers Dolibarr task status update - Sprint review shows issues grouped by Dolibarr client
jmiller added the type: feature label 2026-05-11 17:08:55 +00:00
jmiller added the pending: design label 2026-05-22 02:01:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#53