#21 · Auto-create a Task Exchange task when a feature bounty is opened
Last checked with GitLab: . Status comes from GitLab using a 2-minute cache. Merge events clear affected cached statuses. An already-open page does not update itself. Refresh page.
An MR completes this bounty when it is merged into main with Closes #21 and GitLab closes the issue. A mention or an updated timestamp is not completion. Awarded points appear in Activity.
cp .dev.vars.example .dev.vars && pnpm dev, after rebasing on main) and fully test your change before opening the MR.
Description
Decision needed before coding: define one external bounty/task relation and state mapping. The first slice mirrors discovery and lifecycle only; Scoreboard remains authoritative for the bounty reward. Specify retries/idempotency and closing behavior before adding escrow or a second payment. This is not permission to double-award a GitLab bounty and its mirrored task.
Earlier scope (historical; current qualification above takes precedence)
Context
Bounties are GitLab issues. Tasks are reputation-currency items. Today they're disconnected. Wiring them together means contributors who find a bounty can also see it in task.irregulars.io with the points pre-set, and Task Exchange's escrow/reputation can layer on top of GitLab's tracking.
Acceptance criteria
- [ ] When the GitLab webhook receives
Issue Hookwith actionopenand labelfeature-request, create a corresponding task on Task Exchange - [ ] Task title/body mirrors the GitLab issue;
external_urlpoints back to the issue - [ ] Task
difficultyderived frombounty:label tier (xs→micro, s→easy, m→medium, l→hard, xl→expert) - [ ] Closing the issue closes the task (idempotent)
- [ ] Webhook is opt-in — feature flag
ENABLE_BOUNTY_TASK_SYNC=1(default off)
Technical hints
- Task Exchange already accepts external task creation — check
apps/task-exchange/src/api/tasks.ts - GitLab
Issue Hookpayload reference: https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#issue-events - Use
ON CONFLICT (external_id) DO UPDATEfor idempotency on the task table
--- *Submit a merge request that says Closes #<this issue iid> in the description. On merge to main, the GitLab webhook will auto-award your bounty + the standard merge_pr (40 pts) to your scoreboard account. Email on commit must match your Authentik email.*
<!-- bounty-reconciled:2026-10 -->
Relevant files
No relevant files linked yet.
Hints
No hints yet.
Activity
No points have been awarded for this bounty yet.
Comments
Sign in to join the discussion.
No comments yet. Be the first to weigh in.