Providers
A provider is one configured tracker, such as work or home. Each provider turns a Redline query into requests to its tracker, and turns the replies into Redline’s model. Paging, caching, and pacing are shared, so every provider gets them the same way.
Redmine
Redmine is the tracker Redline supports today.
[providers.work]
kind = "redmine"
url = "https://redmine.example.com"Credential. Your personal API key, from My account > API access key in Redmine. Redline sends it in the X-Redmine-API-Key header. Your Redmine administrator must turn on the REST web service.
Gateways. Some gateways in front of Redmine want more headers, such as X-Redmine-Username. Add them under [providers.<name>.headers].
Rate limits. Redmine has no rate limit of its own. Reverse proxies and hosts such as Planio often add one, and answer with 429 or 503 when you go over it. Redline backs off on both.
How Redmine maps to Redline
| Redline | Redmine |
|---|---|
| Provider | One Redmine site |
| Project | Project. Projects can nest |
| Item | Issue |
| Kind | Tracker, mapped by name |
| Theme or epic | An issue with a tracker such as Epic, used as a parent |
| Milestone | Version |
| Status | Issue status |
| Comment | Journal entry with notes |
Two parts of the mapping need a closer look.
Kinds are mapped by name. Each Redmine admin names their own trackers. Redline maps names to its five kinds (theme, epic, story, task, and bug) with defaults that you can change in the kinds table.
Statuses get a category. Redmine only says whether a status is closed. Redline needs one of backlog, todo, active, done, or canceled, so it guesses the category from the status name. Add a statuses table to change a guess.
Planned
The model fits these trackers too. None of them is supported yet.
| Redline | Jira | Linear | GitHub | GitLab |
|---|---|---|---|---|
| Project | Project | Team | Repository | Project |
| Item kind | Issue type | Label or template | Label or issue type | Label or type |
| Milestone | Fix version or sprint | Cycle or project milestone | Milestone | Milestone or iteration |
| Status | Status with a category | Workflow state with a type | open or closed | opened or closed |
Follow the work, or ask for a tracker, on GitHub.