Collectors
A collector reads work items from one tracker into a workspace and, if you turn a switch on, writes the result back.
Overview
A collector reads the work items of one tracker into a workspace. It gives each item a number, such as WI-12, and keeps the item in step with the tracker. Triage, the Done Checklist, and sends then work on the item the same way for every tracker. See Work for that path.
A collector can also write back to the tracker. Each kind of write sits behind its own switch. A collector added in the app starts with every switch off except create, text, and badge.
Trackers
| Tracker | State | Page |
|---|---|---|
| GitHub Issues | Available | Connect GitHub and Work |
| Linear | Available | Linear |
| Jira Cloud | Available | Jira |
| GitLab Issues | Available | GitLab |
| Any tool with an MCP server | Available | MCP server |
Add a collector from Work setup, under Collectors. Choose a tracker, connect your account, and select the repositories, teams, or projects to read.
What every collector does
- Connect. A collector reads through a connection of its tracker's own provider. A person with the organization Owner role, or the workspace Admin role, connects it. An API key or an agent run cannot add a collector, change one, or start a sync.
- Scope. The collector names the places it reads, such as teams, projects, or repositories. It reads nothing else.
- Read. A webhook rings the doorbell. Oxagen then reads the item from the tracker's API and maps what it read. It never maps the webhook body. A reconcile every 15 minutes reads what a webhook missed.
- Treat tracker text as data. An item's subject, description, and requester can come from people outside the workspace. Oxagen marks them tainted and shows them as text. It never follows them as an instruction.
- Remove. A person with the same roles removes a collector from its row in Work setup. It stops reading and writing back, and its webhooks are deleted at the tracker within 15 minutes. The work items it brought in stay. Adding a collector with the same name starts it again as a new collector.
- Write only a person's own text. Oxagen writes a title or a description only when it creates the issue for an item a person saved in Oxagen, and when a person edits that text in Oxagen. It never deletes an item, never assigns anyone, and never replies to a requester.
Sections of a tracker page
Each tracker page has the same sections, so you can compare trackers.
- Account to connect with. Who signs in, and whose name appears on writes.
- Scopes asked for. The permissions Oxagen requests from the tracker.
- Scope choices. What the collector can read, and what the places look like in a collector file.
- Default field mapping. How the tracker's statuses, resolutions, priorities, and types read as Oxagen values.
- What each switch writes. The write-back switches and the tracker call behind each one.
- What the tracker cannot do. Limits that come from the tracker.
- Webhook and reconcile timing. How fast Oxagen hears of a change.
Field mapping
Every tracker maps its own values to the same Oxagen statuses (Open, Blocked, Closed), resolutions (Done, Won't do, Duplicate, Canceled), and labels (a Priority label, P0 to P3, and a Type label). A mapping row has a direction. A read row says which tracker values read as an Oxagen value. A write row says which tracker value Oxagen writes for it. A workspace that has no rows for a tracker gets the defaults on its tracker page. An Owner or Admin changes a row in Work setup, under Fields, or with set_work_field_mapping. get_work_fields reads the mapping back.
Choose source fields for the work item name, summary, priority, assignee, and kind in the same Fields editor. A Field row names one source field. Clear the row to restore the collector's default. For example, title supplies the name, and description supplies the summary for Jira, Linear, and GitLab. GitHub uses body for its description. The shared fields name, summary, priority, assignee, and kind use each collector's extracted values.
Map a source kind to a workspace kind with a Kind row. For example, map Jira's Bug to your workspace's incident kind. For a tracker whose types live in labels, use a kind mapping with field: "label" through set_work_field_mapping. A Field row for kind selects the source field. A Kind row maps a source value to a workspace kind.
The editor saves workspace mappings for one tracker type. The API also accepts a tenant for mappings that apply to one source team, site, or project. Tenant mappings stay separate from the workspace rows shown in the editor. Field selectors and value mappings run as code over the fields the collector reads. No model chooses the imported values.
Write-back switches
A collector file has a [write_back] table with eight switches. A switch the file leaves out takes the default. A collector added in the app starts with every switch off except create, text, and badge.
| Switch | Writes | Default in a file |
|---|---|---|
certify_note | A note that lists the items when a person approves the Done Checklist | On |
send_note | A note when Oxagen sends a work order back to its item | On |
status | A status change when the item closes or reopens in Oxagen | Off |
close | A close as Done when a person accepts merged work | Off |
labels | The Priority label triage chose and the Type label of the item's kind, only before a person approves the Done Checklist | Off |
create | The tracker issue for a work item a person saved in Oxagen, with its files and mapped fields | On |
text | The title and description a person edits in Oxagen, written to the issue | On |
badge | A link to the work item at the top of each issue. Jira uses a text link | On |
The capability input calls the status switch status_sync. A paused collector writes nothing.
When an existing issue rejects a label or field value, Oxagen writes the fields the tracker accepts and posts the rejected values as a comment on that issue. The comment is part of the enabled field write, even when send_note is off. Retries look for the same comment before posting it again. Long values are split across comments. A comment records the requested value without claiming the tracker changed the field.
The queued write clears only after the tracker accepts the values or their comments. A failed comment stays queued. Permission failures, deleted issues, rate limits, and outages remain failures with their existing retry rules. Issue creation still requires the tracker's required fields.
How a saved work item reaches its tracker
Saving a work item in Oxagen creates its issue in the tracker of the collector that covers the item's repository, when that collector's create switch is on. The switch is on for every collector that writes back, so turn it off for a collector that should not create issues. The save never waits for the tracker. Oxagen asks the collector to make the issue as soon as the save is stored, so the link usually shows within seconds. The item shows the issue once it exists, or the reason and a Retry button. A retry finds an issue an earlier try already made, so one item never gets two issues. Oxagen leaves the issue's assignee empty.
- A GitHub collector covers the repositories its scope names.
- A GitLab collector covers the projects its scope names.
- A Linear or Jira collector covers the repositories its scope names in
repos. It creates the issue in the team or project its scope names increate_teamorcreate_project, or in its only team or project. - An MCP server collector covers the repositories its profile names in
repos, and creates the item through the tool its profile binds inwrite.create.
GitHub has no attachment API, so a GitHub issue links each file at an Oxagen address. Linear, Jira, and GitLab store each file with the issue.
A send note on a public item shows no cost, because anyone who can read the item can read the note. It lists each run and why it ended, and the work order in Oxagen shows the cost.
The work item badge
When a GitHub, GitLab, Linear, or Jira collector reads an open issue into a new work item, Oxagen adds a link to the item at the top of the issue's description. An issue Oxagen creates gets the link when it is made.
GitHub, GitLab, and Linear use a Markdown badge between two HTML comments. Jira uses an Oxagen work item text link in the first paragraph of its Atlassian Document Format description. Adding the Jira link preserves the rest of that document, including its formatting.
Oxagen removes its badge or link before storing the imported description. When you edit the description in Oxagen, the source issue keeps its link. If someone changes the contents of the marked badge or Jira link paragraph, Oxagen keeps that text as part of the description.
Turn the badge switch off to stop new links. Links already on issues stay. Issues a collector read before the badge existed have none.
Rate limits
Every request to a tracker other than GitHub counts against two limits: one for the tracker across every workspace, and one for the connection. A request over either limit waits for the next window. A reconcile moves its cursor only after it stores a page, so a read that fails partway loses nothing.
Source manifest
A work item shows the name and mark of its tracker. Source manifest explains how a workspace changes both from its steering repo.
Settings
A tracker's sign-in needs client credentials in the deployment, and a tracker that sends webhooks needs a shared secret, which Oxagen uses to check that each webhook came from the tracker unchanged. Each tracker page links the settings it uses. Which tracker a build ships depends on its collector modules, not on a setting.
Capability reference
| Capability | What it does |
|---|---|
| set_work_collector | Create, change, pause, or resume a collector |
| list_work_collectors | List collectors with their scope and health |
| sync_work_collector | Queue a reconcile now |
| remove_work_collector | Remove a collector and keep its work items |
| list_collector_scope_options | List the places a connection can read |
| get_work_fields | Read the field mapping |
| set_work_field_mapping | Change one mapping row |
| list_work_sources | List the sources items show |