How to integrate Redmine with other systems through its REST API
Your CI pipeline, reporting tool, ticketing front end or HR system needs to read or write Redmine issues and time entries, and the first thing to know is that the REST API is off until an administrator enables it in Redmine's administration settings. Once it is on, every integration depends on three things: a credential tied to a specific user, the role permissions that user holds in each project, and the stability of each API resource you call. Issues, projects, users and time entries are marked stable in the REST API documentation, which makes them the safer foundation, but stability describes the shape of the resource, not what your integration is allowed to do. Confirm the API setting, decide which account the integration will run as, and document it before writing any code.
The harder part is that permissions decide what the integration can see. A dedicated integration user with a narrow role will silently omit issues, private notes, time entries or fields it cannot access, so a sync can appear to succeed while returning incomplete data. Test with the exact account and role the integration will use, against a project where the tracker, workflow and custom field settings match production. Sync conflicts and duplicate records follow from a second gap: Redmine does not give you a stable external identifier unless you store one. Plan a custom field or a mapping table that holds the source system's ID on each Redmine issue, and decide up front which system wins when both sides change the same record.
API behavior can also change between branches, so pin your integration to the branch you run. The supported lines and their security coverage are listed on the download page, and a Redmine upgrade can alter responses, validation rules and plugin behavior that your code depends on. Before each upgrade, run your integration tests against a staging copy on the target version, and check the release notes for the resources you use. Confirm with your Redmine team which API version and fields your integration expects, and keep that list in the same change log as your upgrade plan.
Which Redmine API resources are stable enough to build on
The Redmine REST API covers a range of resources, but stability is not uniform across them. Core resources such as issues, projects, users and time entries are marked stable, while other resources and anything that depends on plugins need closer review before an integration relies on them.
Core issue, project, user and time entry resources
Issues, projects, users and time entries are marked stable in the Redmine REST API documentation, so they are the usual foundation for sync jobs and reporting feeds. Build around these first. Before you write code, check the stability marking for each specific endpoint and each field you read or write against the API documentation for your target version, because stability status and field lists can change between releases.
REST API docsResources not marked stable
Some API resources are not marked stable, and their request and response shapes may change between releases. An integration that depends on one of them can break during an upgrade with no change on your side. Treat each unmarked resource as a risk to be assessed, document the version you tested against, and plan a regression check before each Redmine upgrade.
Plugin-provided endpoints
Plugins can add their own API endpoints and fields. These depend on the plugin author and on compatibility with your Redmine version, so their stability is set by the plugin, not by core Redmine. Confirm the plugin's maintenance status, its supported Redmine versions, and whether it is still updated before you build an integration on top of it.
JSON and XML response formats
Redmine serves responses in JSON and XML. Choose one format per integration and set it explicitly in every request, so parsing does not change if a client library changes its defaults. Check how custom fields, dates and empty values appear in your chosen format, since these details are where integrations most often break.
Basic authentication and API keys
Requests can authenticate with HTTP basic authentication or with a per-user API key sent as a parameter or in the X-Redmine-API-Key header. API keys are tied to a user account and inherit its permissions, so use a dedicated service account with the narrowest role that works. Confirm the administrator has enabled the REST API before testing, and avoid putting keys in URLs where logs may capture them.
Test writes on your target branch
Write operations such as creating issues or logging time entries are where integrations cause the most damage. Test every write path on the same Redmine branch you will run in production, including workflow rules, required custom fields and role permissions that can reject a request. Confirm the branch's support status first, since 6.0.x receives only important security updates and 5.1.x and older are unsupported.
- Fully supported line
- 7.0.x
How to enable and build a Redmine REST API integration
This sequence takes an integration from an API that is switched off to a tested sync running in staging, with each step ending in a check that proves the previous one worked. It keeps the integration account narrow, the data mapping explicit and the sync out of production until counts and permissions have been verified.
Enable the REST API in administration
An administrator opens the Redmine administration area, goes to the settings for authentication, and turns on the REST web service option, which is off by default. The administrator then saves the change and records who made it and when, since this exposes an API surface that did not exist before. Done means an unauthenticated request to a resource such as the issues endpoint returns an authentication error instead of an empty or permissive response, which confirms the service is listening and enforcing login. Confirm the exact menu labels in the Redmine version you run, because they can change between releases.
Create a dedicated integration user
Create a separate Redmine user account for the integration instead of reusing a person's login, so actions in the audit trail are attributed to the system and the account can be disabled without affecting staff. Assign it to only the projects it must read or write, and give it a role that permits only the actions the sync needs, such as viewing and editing issues and logging time, with no project administration or user management. Done means the account appears in the members list of each in-scope project and in no others. Ask whether your security team requires a named service account convention and a documented owner for it.
Generate and store the API key
Sign in as the integration user, open the account page, and generate the API key there, or have an administrator reset it if your process requires that. Store the key in your secrets manager and pass it to the integration in the X-Redmine-API-Key header, not as a query parameter, because query strings are more likely to appear in proxy and web server logs. Restrict who can read the stored secret and record a rotation owner. Done means the key is held only in the secrets store and the integration configuration references it by name, with no copy in source control or chat. Confirm your Redmine version's guidance on key handling before you rely on a particular storage approach.
Confirm reads and writes with test requests
Run an authenticated GET against the issues and projects resources, then create a test issue in a non-production project and update it, and log a time entry against it, all using the integration user. Next, repeat one action the role should forbid, such as deleting an issue or editing a project, and confirm Redmine rejects it. Done means the allowed reads and writes succeed, the forbidden action returns a refusal, and the test issue is cleaned up. The permissions check is the important part: a successful write proves little if the same account could also delete records.
Map trackers, statuses and custom fields
Export the trackers, issue statuses, workflows and custom fields the integration will touch, using the API where it exposes them, and write a mapping table that links each source value to its Redmine counterpart. Include the field types and allowed values, because a select field with a different option list will fail silently or reject the write. Agree the mapping with the people who own each system, and record which fields are one-way and which are kept in sync. Done means every field in the sync scope has one agreed target, and any value without a match has a stated rule, such as a default or a rejected record that goes to a review queue.
Build and run the sync in staging
Build the sync logic against a staging Redmine that mirrors production's version, plugins, trackers and custom fields, using the mapping from the previous step and the integration user's key. Run an initial load, then compare record counts per project and per tracker between the source and Redmine, and spot-check a sample of issues for field values, attachments and time totals. Run the sync a second time to confirm it updates existing records rather than duplicating them. Done means the counts match or each difference is explained, and a repeat run produces no duplicates. Only after that should a production cutover be scheduled, with the staging results kept as the acceptance record.
Which authentication, sync direction and identifier choices fit your integration
This table compares the main choices you face when connecting Redmine to another system: how the integration authenticates, which direction data moves, how it is triggered and how it matches records. Read each row against your own systems of record, because the cheapest option to build is often the most expensive to run once staff change. The main takeaway is that identifier and account decisions made at the start are hard to undo later.
| Decision | When it fits | Operational cost |
|---|---|---|
| Basic authentication | Quick scripts or tests where the integration runs under a known user and credentials stay in a secure store | Password rotation breaks the integration, and the credential is tied to a person's account rather than to the integration itself |
| Per-user API key | Any production integration, sent in the X-Redmine-API-Key header so it stays out of URLs and logs | Keys must be issued, stored and revoked by an administrator, and a key tied to a departed employee needs reissuing |
| Shared integration account | One sync service that writes many issues, so audit trails show a single named service identity | The account needs project membership and role permissions set carefully, and its permissions grow over time if no one reviews them |
| One account per integration | Several integrations with different scopes, so each can be limited and revoked separately | More accounts to license-count, review and rotate, and more role configuration to maintain |
| One-way pull | Reporting or dashboards that only read Redmine, or a source system that is authoritative for issues | Lower risk of conflicting edits, but changes made in Redmine are not reflected back without another process |
| Two-way sync | Teams that edit the same issue in both systems and need changes to flow both ways | Conflict rules, loop prevention and field mapping must be designed and tested, which adds ongoing maintenance |
| Polling on a schedule | Simple integrations where a delay of minutes is acceptable and no plugin is wanted | Repeated API calls on a schedule, with time-window logic to avoid missed updates after a failed run |
| Event-driven through plugins | Near-real-time needs, where a maintained plugin or webhook mechanism already exists for your Redmine version | Plugin compatibility must be rechecked at each Redmine upgrade, so confirm support for your target line first |
| External ID in a custom field | Any sync that must survive renamed subjects, moved projects or duplicate titles | Requires an administrator to create the field and decide who can edit it, and the value must be filled for existing records |
| Matching on subject or title | Quick one-off imports where titles are unique and will not change | Renames and similar titles create duplicates or wrong updates, and fixing them later means manual review |
How an integration request reaches Redmine and returns data
The external system sends a request over HTTPS through the reverse proxy or network edge, carrying an API key in the X-Redmine-API-Key header or HTTP basic credentials. Redmine checks the key against the user, then the user's role and project permissions decide what the request may read or write before the database is touched. The sync job keeps its own mapping table of external identifiers to Redmine issue IDs, and application and proxy logs record each call. Check that the API is enabled, that the key belongs to a least-privilege account, and that the credential never crosses the boundary in plain HTTP.
Request path from an external sync job through the proxy and permission checks to the database.
Redmine REST API key handling for integrations
Every integration needs a credential, and in Redmine the usual choice is a per-user API key sent either as a key request parameter or in the X-Redmine-API-Key header. Redmine also accepts HTTP basic authentication, so an integration can authenticate with a username and password instead. The choice matters more than it first appears. A key passed as a query parameter is written into web server access logs, reverse proxy logs and sometimes monitoring tools, so it can leak far from the integration itself. The header keeps the key out of URLs, which is why it is the safer default, but you still need to confirm that every proxy and log pipeline in your path does not record request headers. Before going live, enable the REST API as an administrator, then test the chosen method against your own proxy configuration and read what actually lands in the logs.
Treat the key as a secret from the first commit. Keys should never appear in source control, in CI job definitions, in cron files, or in Redmine's own custom scripts pasted into a wiki page. Store them in your organization's secrets manager and inject them into the job or service at run time, with access limited to the process that needs them. Pair this with a dedicated integration user rather than a personal account, and give that user the smallest role that still lets the sync work. Check the role's permissions in each project the integration touches, since project-level membership decides what the key can read and change, and remove access to projects the integration no longer needs. Use a separate account per integration so that one compromised key can be revoked without breaking the others.
Plan rotation and offboarding before the first key is issued. Record who owns each integration account, which system holds its key, and the date the key was last replaced. When an employee or a system owner leaves, the key and the account should be disabled as part of the same process that removes their other access. Ask your Redmine provider or administrator to confirm which key management features your installed version provides, such as how keys are regenerated, whether they can be time limited, and whether administrators can see or revoke them centrally. Do not assume key expiry exists or behaves a particular way until you have tested it on your own version. Until then, rotation should be a documented, manual procedure with a tested cutover in which the new key is deployed before the old one is revoked.
How integration setup changes by deployment model
On a single application server, the API endpoint is usually reachable only at one host name, so the integration sends requests straight to that address or through one reverse proxy. Setup is short, but the sync job still depends on the web server passing the API key through unchanged.
- Endpoint reachability: Confirm which network segment the sync job runs in and whether it can reach the Redmine host name over HTTPS.
- Header handling: Check that the reverse proxy forwards the
X-Redmine-API-Keyheader and does not strip it or log it in plain text. - Sync job path: Run the job from a scheduler or service account that holds its own API key, not from a personal user session.
- Background work: If the sync runs alongside production use, confirm whether Sidekiq is installed for background jobs, as the installation guide lists it as an optional component.
- Platform checks: Ask the platform team to confirm the API is enabled by an administrator and that the sync user has only the project permissions it needs.
Before go-live, ask the platform team to confirm the exact host name, proxy configuration and the account that owns the API key.
With several application servers behind a load balancer, the sync job talks to a single shared address, and each request may land on a different application server. Any state the integration relies on, such as session cookies or uploaded attachments, must be available on every node.
- Endpoint reachability: Point the sync job at the load balancer address, not at an individual application server, and confirm health checks do not require the API key.
- Header handling: Confirm the load balancer forwards the API key header to every backend and that no sticky session rule interferes with stateless API calls.
- Sync job path: Run the sync from one scheduled worker so two nodes do not write the same issue at the same time.
- Shared services: Confirm that background jobs and attachment storage are reachable from every application node, since an integration that writes attachments depends on them.
- Platform checks: Ask the platform team which node serves which request during failover and whether the API key is valid across all nodes.
Before go-live, test the sync against a load balancer address during a planned node restart, and confirm the platform team owns the load balancer rules that affect API traffic.
In an air-gapped or restricted network, the sync job often cannot reach external services, package mirrors or identity providers, and the Redmine API may be reachable only from an approved internal zone. Outbound dependencies must be planned before the integration is built, not after.
- Endpoint reachability: Confirm which internal zones may call the Redmine API and whether a transfer gateway or jump host sits between the sync system and Redmine.
- Header handling: Check whether security inspection devices in the path modify or block custom headers, since a blocked
X-Redmine-API-Keyheader fails silently in some setups. - Sync job path: Decide whether the sync runs inside the restricted zone, which avoids cross-boundary credentials, or from a separate system that must be approved for access.
- Dependencies: Confirm that every library, plugin and optional component the integration needs is available from an internal mirror and has been approved through change control.
- Platform checks: Ask the security team to confirm how API keys are stored, rotated and revoked, and how API calls are logged for review.
Before build, get written approval for the network path, the key storage method and the rotation schedule from the teams that own the boundary.
What drives Redmine REST API integration effort and how to keep it down
This table lists the factors that most change how much work a Redmine REST API integration takes, why each one adds effort, and what to do to keep it contained. Read each row as a decision point: the reduction column names the design choice that lowers the load before build work starts.
| Driver | Why it raises effort | How to reduce it |
|---|---|---|
| Number of systems integrated | Each connected system adds its own authentication, field mapping, error handling and monitoring, and the systems can interact with each other in ways that are hard to test one at a time. | Confirm the list of systems in writing at scoping, integrate the highest-value ones first, and avoid chains where one external system feeds another through Redmine. |
| Trackers, statuses and custom fields to map | Every tracker, workflow status and custom field on the Redmine side needs a matching value on the other side, and differences in naming and allowed values multiply the mapping rules. | Reduce the number of trackers and custom fields that the integration touches, and agree a single mapping table signed off by the process owners before coding. |
| Data volume for initial backfill | Large historical sets of issues, journals and attachments take longer to load, need batching and retries, and expose data quality problems that small test sets hide. | Limit the backfill to a defined date range or open items, run a trial load on a copy of the database, and measure load time before setting a cutover plan. |
| Two-way versus one-way sync | Two-way sync requires change detection in both systems, loop prevention so updates do not echo back, and reconciliation when both sides change the same record. | Choose one-way sync where it meets the need, and reserve two-way sync for fields with a clear owner. |
| Conflict rules | Without written rules for which system wins, teams find overwritten data after go-live, and each new conflict case becomes a support ticket. | Document the owner of each field, the precedence rule for conflicts, and how rejected updates are logged and reviewed. |
| Plugin-provided fields and behavior | Fields and workflow rules added by plugins may not appear in the core API responses in the same form, and plugin updates can change their behavior. | Inventory every plugin that affects the synced objects, confirm each field is exposed through the API in your version, and pin integration tests to those fields. |
| Multiple Redmine environments | Development, test and production instances often differ in trackers, custom fields and API key owners, so a mapping that passes in one environment can fail in another. | Keep configuration in version control where possible, use the same tracker and field definitions in each environment, and run the integration tests against each environment before release. |
| Retesting after each upgrade to the supported line | Upgrades can change API responses, plugin compatibility and Ruby or Rails behavior, so the integration must be retested each time Redmine moves to a new supported release. | Keep an automated regression suite for the integration, schedule retests as part of each upgrade plan, and confirm the target release on the Redmine download page before planning. |
How to verify a Redmine REST API integration before go-live
Test the integration against the failure modes you will actually meet before any sync touches production data. Start with authenticated read and write requests using the dedicated integration account's API key, sent as the X-Redmine-API-Key header, and confirm that the created issues and time entries have the projects, trackers, custom fields and assignees your mapping specifies. Then run a denied request with an account that lacks the right role on the target project, and confirm Redmine returns an authorization error rather than a partial write. Record the exact status codes and response bodies for each case so the team has a baseline to compare against after future changes.
The most important test is the idempotent re-run. Execute the same sync batch twice and confirm that no issues or time entries are duplicated. This requires your integration to store the Redmine identifier of every record it creates, or an external key it writes to a custom field you have agreed on in advance. Then test records changed in both systems: edit the same issue in Redmine and in the source tool, run the sync, and check which value wins. Document that rule before go-live, because the API does not decide it for you. Finally, simulate Redmine being unreachable and returning server errors partway through a batch. The sync should stop safely, log the failed record with enough detail to retry it, and never guess at a result it did not receive.
Repeat the full set on a staging instance after every Redmine upgrade, plugin install or plugin update, since a change to a custom field, workflow or plugin can alter API responses without touching your integration code. Confirm the API is still enabled by an administrator on that instance, and check the Redmine REST API documentation for resources you depend on before relying on them. Your team should confirm which Redmine version and plugin set the test results describe, so a passing run is never mistaken for proof about a different configuration.
What to monitor, log and document after the integration goes live
An integration that syncs issues and time entries is only as reliable as the checks around it. The cards below cover what to watch, what to keep out of logs, what must be backed up, how upgrades affect the integration, how credentials and roles are reviewed, and what documentation keeps the setup understandable after the original builders move on.
Monitor sync job results and API errors
Track how many sync runs succeed and fail, and record the HTTP status codes Redmine returns to the integration. A rising count of 401 or 403 responses usually points to an expired key, a changed role, or a disabled REST API setting, while 422 responses often mean a field value no longer passes validation. Alert on failures rather than reviewing dashboards by hand, and check that a failed run is retried or flagged for a person to handle.
Redmine REST API docsLog requests without recording API keys
Keep a log of each request's time, target resource, outcome and the Redmine record IDs it touched, so a bad update can be traced to a run. Do not write the API key, either as a query parameter or in the X-Redmine-API-Key header, into application logs, web server access logs or error reports. Confirm that your reverse proxy and job runner do not capture full request URLs or headers by default, since the key-as-parameter method would expose it there.
Back up data and integration mappings
Back up the Redmine database and the uploaded files together, because attachments and database rows refer to each other. The upgrade guide lists these as the core items to copy. Also include the integration's field mapping files, scheduled job definitions and any middleware configuration, so a restore brings back the rules that connect Redmine to the other system. Test a restore on a separate host before relying on the plan.
Redmine upgrade guideRetest the integration on every upgrade
Redmine 7.0.x is the fully supported line, while 6.1.x receives only bug fixes and security updates and 6.0.x receives only important security updates. Plan upgrades to stay on a supported branch, and rerun the integration test suite after each upgrade, since plugin changes and Rails or Ruby updates can alter API responses. Check the REST API wiki for changes to resources your integration uses before you upgrade, and keep a staging copy for the rehearsal.
Rotate credentials and review roles
Each integration usually runs as a dedicated Redmine user, and its API key belongs to that user. Rotate the key on a schedule your security policy sets, and revoke it when the integration is retired or its owner leaves. Review that the integration account holds only the project roles and tracker permissions it needs, because a role change in Redmine can silently break writes or widen access. Record each rotation in the change log.
Document mappings, owners and the runbook
Write down each field mapping between Redmine and the other system, including custom field IDs, status and tracker translations, and how time entry activities are chosen. Name an owner for the integration, its Redmine service account, and each connected project. The runbook should cover how to pause a sync, rerun a failed batch, rotate a key and roll back a bad import, so an on-call engineer who did not build it can act on an alert.
What buyers ask before building a Redmine REST API integration
Can our own team build a Redmine REST API integration without outside help?
Yes, if you have an engineer who can call a JSON or XML API, handle pagination and errors, and run the integration in production. The Redmine REST API is documented in the project wiki and core resources such as issues, projects, users and time entries are marked stable, so they are safe to build on. The harder part is usually not the first request but the edge cases: custom fields that must match on both sides, status and tracker mappings, users who have no matching account, and retries when the other system is down. Ask whether your team has done this kind of sync before and who will own it after go-live. A partner is most useful when the team lacks Redmine administration experience or needs the work scoped and tested in writing before it reaches production.
What drives the cost of a Redmine API integration?
Redmine itself has no license fee under GPL v2, so the cost is the work and the infrastructure around it. The main drivers are the number of systems on the other side, how many objects move (issues only, or also attachments, comments, time entries and users), how many custom fields and workflow states need mapping, whether the sync runs one way or both ways, and how much error handling and monitoring you need. One-time costs include design, build, testing and cutover. Recurring costs include hosting the integration, monitoring, and updates when Redmine or the other system changes. When you request a quote, ask for the written scope, the list of objects and fields in each direction, the test plan, and what support is included after go-live.
How long does a Redmine REST API integration take to build?
The duration depends on scope, and no single figure applies. A one-way push of new issues into Redmine from a single source is a very different job from a two-way sync of issues, time entries and users that must resolve conflicts. The timeline grows with the number of mapped fields, the number of environments that must be tested (development, staging, production), the availability of the people who own each system, and how much history must be backfilled. Ask any provider for a phased plan that separates discovery, mapping, build, test and cutover, and confirm which items the client must supply, such as sandbox access and sample data, because those often set the pace.
What does the integration need from our team?
Three roles should be named before work starts. A Redmine administrator must enable the REST API in the administration settings, decide which projects and trackers the integration may touch, and approve any new custom fields or workflow states. An identity owner must confirm how the integration account maps to a real Redmine user, which permissions that user holds, and who is accountable when it changes. A system owner for each side must confirm field meanings, data quality rules, and the acceptable behavior when records conflict or fail. Without these roles, the build tends to stall at the point where a decision about ownership or field meaning is needed. Ask for a RACI-style list during scoping.
Can we lock down API keys and roles for an integration?
Yes, but only when the integration runs under a dedicated account with the smallest role that works. Redmine lets an administrator enable the REST API and lets each user obtain a personal API key, which can be sent as a request parameter or in the X-Redmine-API-Key header. Because a key carries the permissions of the user it belongs to, a shared administrator key is the most common mistake. Create a dedicated service user, assign a role limited to the projects and actions the sync needs, store the key in a secrets manager rather than in code or scripts, and rotate it on a schedule you define. Avoid sending keys as URL parameters where logs can capture them. Confirm the exact role settings in your Redmine version, because permission options can differ between releases.
How do we keep the integration working after Redmine upgrades?
Plan for it at design time. The Redmine upgrade procedure requires backing up the database and uploaded files, copying configuration and third-party plugins to the new installation, and running the migration tasks for both Redmine and plugins before clearing the cache and restarting. Your integration should have its own automated tests that run against a staging copy after each upgrade, covering the stable API resources it uses and any plugin fields it reads. Keep the integration's version history and the supported Redmine line in view: Redmine 7.0.x receives new features and security updates, 6.1.x receives only bug fixes and security updates, and 6.0.x receives only important security updates. Ask any provider whether upgrade testing and post-upgrade fixes are covered by a retainer or billed separately.
How DeployOpen works on this
DeployOpen scopes Redmine REST API integrations in writing before work starts, then builds them inside your own infrastructure against the endpoints that Redmine marks as stable. Each integration is tested, documented and handed over so your team can run and change it after the engagement.
How we scope
- Confirm the Redmine version and whether the REST API is enabled by an administrator, with the systems that will exchange issues and time entries.
- Agree which resources the integration reads and writes, such as issues, projects, users and time entries, and which fields are in scope.
- Record the authentication method, owner of each API key and the sync direction in the written scope before any build begins.
How we build
- Build the sync against stable core resources and document any custom fields or trackers the integration depends on.
- Store API keys in a secrets manager and use dedicated service accounts with only the project permissions the integration needs.
- Test create, update and error-handling paths on a staging copy of your Redmine before anything touches production data.
How we hand over
- Deliver the integration code, configuration notes and a runbook covering scheduling, logging, retries and key rotation.
- Provide a test record showing which issue and time entry cases were verified, and what remains open.
- Walk your administrators through the setup so they can change field mappings and rotate credentials without us.
How we support
- Ongoing support is available as a retainer, covering monitoring of sync jobs and fixes after Redmine upgrades change the API.
- Confirm with us whether retainer coverage includes checks against each new Redmine release line before you plan an upgrade.
- Ask for the support boundary in writing, including who responds to a failed sync and within which working hours.

