How OpenProject GitHub integration links code activity to work packages
The GitHub integration lets a delivery team see code activity directly on the OpenProject work package it belongs to, so a reviewer, project manager or auditor can follow a change from planning to merge without switching tools. The planned method combines OP# references in commit messages, branch names or pull request titles with webhooks that send GitHub events to OpenProject. Each reference ties a piece of code work to a work package ID, and the webhook carries the status change back so the work package reflects what happened in the repository.
The exact supported mechanism, its configuration and any plan requirement must be confirmed against the official OpenProject documentation before the build starts. Confirm which GitHub events are supported, whether pull request status and Actions results are both covered, how the OP# pattern is matched, and whether the reference must sit in a specific field. Also confirm where the webhook secret is set and how the receiving endpoint verifies GitHub's signature, since that determines who can post into your instance. The Community edition is free and includes work packages, and this topic is available in that edition according to the topic brief, so the plan check is about the integration itself rather than the base product.
Before the build, decide which GitHub organization, repositories and branch naming rules feed each OpenProject project, and who may create or merge pull requests that reference work packages. Test the flow on a non-production instance with one repository, then review the linked activity against the work package permissions held by each role, so that code activity does not expose work packages to people who cannot see them in OpenProject.
What the integration needs before setup starts
The GitHub integration depends on decisions made on both sides before any webhook is created. Each card below is a prerequisite to confirm against the vendor documentation for the versions you run, so the setup does not stall halfway through.
A supported self-hosted OpenProject release
Start with the OpenProject version you plan to run and check it against the GitHub integration documentation, which should name the releases it targets. Current releases include 17.9.0 and 17.9.2, but confirm the exact version the integration docs target before you plan the upgrade path. Note whether the integration works in your edition, since the Community edition is free and includes work packages, but feature availability should be verified for each plan.
Release notesThe GitHub edition in use
Confirm whether your organization uses GitHub.com or GitHub Enterprise Server, because the webhook settings, API base URL and administrative controls differ between them. Record the hostname that OpenProject will call and the organization or repositories in scope. A self-hosted GitHub Enterprise Server also needs its certificate chain trusted by the OpenProject host.
An administrator account on each side
Setup needs an OpenProject administrator who can enable the integration and a GitHub owner or administrator who can register webhooks and grant app or token permissions on the repositories. Ask who holds these roles today and whether they can approve the access scope. Separate accounts for setup and day-to-day use make later access reviews easier to explain.
A reachable HTTPS endpoint for webhooks
GitHub must deliver events to a public or internally reachable HTTPS address on your OpenProject instance, so confirm the hostname, TLS certificate and any reverse proxy or firewall rules in front of it. Internal-only networks need a path that GitHub can reach, such as a self-hosted runner or a relay you control. Test delivery from GitHub before relying on it for status updates.
An authentication method for API calls
Decide how the integration authenticates to GitHub and to OpenProject before you configure either side. Choose between a GitHub App or a token with scoped repository access, and between a personal API token and an OAuth application in OpenProject. Each choice changes who appears as the actor on linked events, so record the decision and the owner who rotates the credential.
Project structure and work package identifiers
OP# references in pull requests and commit messages only resolve when the work package identifiers are stable and known to developers. Agree which OpenProject projects map to which repositories, and confirm that each team understands the OP# number format. Renaming projects or moving work packages later can break how references are read, so settle the structure first.
How a pull request event reaches a work package
The flow starts when a developer pushes a branch or opens a pull request that contains an OP# reference. GitHub sends a webhook over HTTPS to the endpoint published by your reverse proxy or firewall, the point where traffic enters your network. The proxy forwards the request to OpenProject, which validates the payload and matches the reference to a work package stored in PostgreSQL. The linked pull request and Actions status then appear on that work package. When events do not arrive, check the proxy rules, the TLS certificate and the webhook secret first.
Webhook path from GitHub through the customer's proxy to a linked work package.
Configuration sequence for linking GitHub to OpenProject
This sequence connects GitHub pull requests and Actions status to OpenProject work packages through OP# references and webhooks. Each step ends with a check, so the team knows the link works before it reaches production projects.
Confirm the documented method for your release
The platform owner checks the OpenProject release notes for the version in use and confirms the GitHub integration method, supported webhook events, and OP# reference format for that release. Confirm that the integration is available in the Community edition on your instance, since this affects whether any Enterprise plan is needed. Record the version number and the method in a short written note. The step is done when that note is approved by the platform owner and the version matches the production instance.
Create a dedicated integration account
An OpenProject administrator creates a service user for GitHub, not a personal account or a shared administrator login. Grant it membership only in the projects in scope, with the lowest role that allows it to read and update work packages. Generate the API credential for this user, and confirm whether your instance permits API tokens for it. Store the credential in your secret manager. The check: an API call with the credential succeeds for an in-scope project and returns an access error for an out-of-scope project.
Register the webhook with the correct payload and secret
A GitHub repository or organization owner adds a webhook with the payload type and content settings that the OpenProject integration documentation specifies for your release. Generate a long random secret, save it in the secret manager, and enter the same value in OpenProject so payload signatures can be verified. Use a repository-level webhook for a pilot, and move to organization level only after the pilot is validated. The check: GitHub's recent deliveries page shows a successful response to the test delivery sent from the webhook settings.
Restrict events and repositories to the scope
The GitHub owner selects only the event types that the integration documentation lists for pull requests and workflow runs, and leaves all other events unchecked. Limit the webhook to the repositories named in the written scope, and record that list next to the webhook configuration. Avoid subscribing to events that the integration does not use, since each extra event adds deliveries that OpenProject must process. The check: the webhook's event list matches the scope note, and a test event in an out-of-scope repository produces no delivery.
Test one OP# reference in a sandbox project
A project lead creates a work package in a non-production OpenProject project and notes its ID. The developer then uses the OP# reference format from the documentation in a branch name, pull request title, or pull request description in an in-scope test repository. Open the pull request and wait for any workflow run to finish. The check: the pull request reference appears on the test work package, and OpenProject's logs show the delivery was processed without errors.
Verify pull request and Actions status on the work package
The tester moves the pull request through its states, including review, approval, and merge, and confirms each change shows on the linked work package. Run a workflow and confirm its status updates on the same work package. Then send a delivery with a deliberately wrong secret, or review the signature checks in the logs, to confirm that unsigned or mis-signed payloads are rejected. The step is done when the status changes appear correctly and the rejected payload is recorded as a failed verification.
Roll out the integration project by project
The platform owner enables the link for one production project at a time, starting with the team that ran the sandbox test. Publish the OP# reference convention to those teams, with an example that uses an existing work package. Review failed deliveries in GitHub and OpenProject logs before adding the next project. Confirm with each project lead that status updates appear as expected. The check: each project has a named owner, its delivery log has no unresolved failures, and the scope note is updated with the new project.
How GitHub objects map to OpenProject fields
This table compares each GitHub object with the OpenProject object it would attach to, the identifier used to make the match, and what to confirm before building. Read it as a design checklist: the match key and unmatched-event handling must be confirmed in the OpenProject documentation for your version, and user matching needs an explicit rule before any events flow.
| GitHub object | OpenProject object | Identifier used to match | What to confirm |
|---|---|---|---|
| Pull request | Work package | OP# reference in the PR title, body or branch name | Exact reference format, whether the link is created on open or on merge, and how a PR without a reference is handled |
| Branch | Work package | OP# reference in the branch name | Whether branch names are parsed for work package IDs and whether branch events appear on the work package |
| Commit | Work package activity | OP# reference in the commit message | Whether commit messages are matched, how multiple references in one message are treated, and whether the commit is linked or only mentioned |
| GitHub Actions workflow run | Work package status or activity entry | Commit SHA or pull request linked to the work package | Which workflow events are received through webhooks, the status values shown, and whether runs from forks are excluded |
| Repository | Project | Repository full name, mapped to a project identifier or project ID | The exact mapping key, whether one repository can feed several projects, and the webhook secret used to verify payloads |
| User identity | User account | GitHub login matched to an OpenProject login, email or external identifier | The explicit matching rule you adopt, how unmatched logins are handled, and who maintains the mapping when people join or leave |
| OP# reference format | Work package ID | Numeric work package ID after the OP# prefix | The numeric ID is not the displayed title, so confirm it in your version and decide how references survive work package moves between projects |
| Unmatched events | Discarded or logged event | No reference or no mapped project found | Whether events are dropped, logged or routed to a fallback, and who reviews the log so that missing links are noticed |
Choosing between GitHub.com and GitHub Enterprise Server
GitHub.com is hosted by GitHub, so webhook deliveries come from the public internet and your OpenProject instance is the side that must be reachable. The practical work is publishing a receiving address that GitHub's delivery service can connect to over HTTPS with a certificate that public clients trust. Because GitHub.com does not use your internal certificate authority, the trust work sits on your endpoint rather than in GitHub's settings.
- Endpoint reachability: Deliveries arrive from outside your network, so the webhook route must be published through a reverse proxy, load balancer or firewall rule that accepts inbound HTTPS.
- Certificate trust: Use a certificate chain that validates from an external client. A certificate issued only by an internal authority will fail for GitHub.com deliveries.
- Outbound control: You have no egress rule to configure on the GitHub side. Your filtering concern is inbound traffic, and it should be limited to the webhook route.
- Secret ownership: Your team creates the signing secret, stores it in OpenProject, and enters the matching value in the GitHub webhook settings. Anyone with webhook admin rights on the repository or organization can view or change that setting, so keep that role small.
- Exposure: A public listener needs rate limiting, request logging and monitoring that you own.
Check that the OpenProject hostname resolves publicly, that the certificate chain validates from outside your network, and who holds webhook admin rights in each repository or organization.
GitHub Enterprise Server runs inside infrastructure your organization operates, so the webhook sender sits on your network or on a segment you manage. Reachability may be simpler because both systems can share an internal zone, but the hostnames and certificates are usually internal, which shifts the work toward trust and outbound policy. The GitHub Enterprise Server administrators control the outbound settings, so their decisions shape the OpenProject design.
- Internal reachability: A direct route to the internal OpenProject address may work, but DNS and firewall rules must allow the GitHub Enterprise Server appliance to reach the OpenProject port.
- Internal certificate authority: If OpenProject uses a certificate from your internal authority, the GitHub Enterprise Server host must trust that root in its system store. Its administrators should handle this through their normal change process.
- Egress policy: Administrators decide which internal destinations the appliance may reach, and any proxy or allowlist applied to outbound requests applies to webhook deliveries.
- Secret ownership: Ownership is split. Both the GitHub Enterprise Server administrators and repository admins may create hooks, so store the signing secret in a managed vault where both teams can rotate it without copying it into tickets.
- Edition and version: Webhook and organization features depend on the release you run, so confirm supported behavior for your exact version with your GitHub Enterprise Server team.
Check the hostname and CA chain from the GitHub Enterprise Server host itself rather than from a workstation, and confirm with its administrators which outbound destinations are permitted.
When OpenProject sits on a private network that GitHub cannot reach, the webhook path needs a deliberate design. Three patterns are common: publish a narrow endpoint, allow only known source addresses, or place a relay in a zone both sides can reach. Each pattern moves a different part of the risk, so the network and security teams should approve the choice before build work starts.
- Published endpoint: A reverse proxy exposes only the webhook route to the internet while the rest of OpenProject stays private. The surface stays small, but the public listener must be monitored and patched like any other edge service.
- Source allowlist: A firewall accepts inbound requests only from the address ranges GitHub publishes for webhook delivery. Those ranges change over time, so the allowlist needs a named owner and a scheduled review.
- Relay service: An intermediary in a zone you control receives the delivery, verifies the signature, and forwards the payload to OpenProject over a link you manage. It adds a component to build, patch and monitor.
- Signature checks: Whichever path you choose, verify the signature where the request is received, and keep the secret out of relay and proxy logs.
- Egress alignment: If your organization restricts outbound traffic on the GitHub side, the relay or allowlist must match those rules exactly.
Confirm with your GitHub edition and network team which endpoint pattern is permitted, and document who maintains the allowlist or relay after go-live.
Security controls for the GitHub webhook and API access
The GitHub link adds an inbound webhook endpoint and an outbound credential to your OpenProject installation, so both become part of your attack surface. The cards below are controls to verify in your own environment before go-live, and to re-check after every upgrade.
Unique secret per integration
Give each webhook its own signing secret rather than reusing one across projects, repositories or environments. OpenProject should reject any payload whose signature does not match the secret configured for that integration. Confirm in your installed version how the signature is checked and where the secret is stored, and test that a payload signed with a wrong or old secret is refused.
Least-privilege GitHub credentials
Grant the GitHub token or app only the repository permissions the integration needs to read pull requests, workflow runs and commits. Avoid organization-wide owner tokens or personal access tokens tied to an administrator account. Review the granted scopes against what the integration documentation lists, and record which repositories each credential can reach.
HTTPS with valid certificates
Serve the webhook endpoint and the OpenProject web interface only over HTTPS with a certificate that a client trusts, and confirm that GitHub delivers payloads to the exact public URL you configured. Plain HTTP endpoints expose payloads and signatures to anyone on the path. Check certificate expiry dates and the renewal process as part of the same review.
Restricted webhook ingress
At your reverse proxy or load balancer, limit the webhook path to the source address ranges that GitHub publishes for its webhook deliveries, where GitHub documents them. Block other paths and methods on that route. Confirm the current ranges in GitHub's documentation before you write the rule, and recheck them on a schedule because they can change.
Credential rotation and change records
Set a rotation schedule for webhook secrets, GitHub tokens and app private keys, and rotate them after staff changes or suspected exposure. Record who changed each credential, when, and which integration it affects. Ask your team whether OpenProject's audit trail covers these settings for your version, and if not, keep the change log in your own change management system.
Logging of rejected payloads
Keep logs of every webhook request that fails signature checks, uses an unknown event type or arrives at an unexpected rate. Review them with your security monitoring so that spoofed or misconfigured deliveries are visible. Confirm where OpenProject writes webhook delivery records and how long they are retained, and set your log retention to match your policy.
Common failures when GitHub events do not reach OpenProject
This table pairs common symptoms of missing GitHub events in OpenProject with their likely causes and fixes. The fixes depend on the integration method you confirm, so check GitHub's webhook delivery log first: it shows the status code, response time and payload GitHub sent. Use the table to find which layer failed before you change any settings.
| Symptom | Likely cause | Fix |
|---|---|---|
| Webhook deliveries fail with timeouts or TLS errors | The OpenProject endpoint is slow, unreachable from GitHub, or served with an incomplete certificate chain | Confirm the endpoint is reachable from GitHub, serves a full certificate chain and responds within GitHub's delivery timeout. Redeliver the failed event from the log. |
| Deliveries are rejected with a signature mismatch | The secret in OpenProject differs from the one in GitHub, or it was rotated on only one side | Copy the current secret to both systems, remove stray spaces, save, then redeliver a test event. |
| Events arrive but no work package changes | The OP# reference is missing from the PR title, branch or commit message, or it is mistyped | Add the exact OP# reference with the correct work package ID, then redeliver. Confirm the pattern the integration matches. |
| A work package in another project is updated | The same work package ID is referenced in the wrong project, or the webhook scope includes projects it should not | Limit the webhook to the intended projects and confirm the ID in the reference points to the work package you expect. |
| Duplicate comments appear after retries | GitHub redelivers after a slow or failed response, and the receiver does not skip events it already processed | Make sure the first response returns quickly. Ask the vendor or DeployOpen whether the chosen method deduplicates by delivery ID. |
| Activity shows the integration account, not the developer | The developer's GitHub identity is not linked to an OpenProject user, so the service account acts for them | Link each developer's GitHub identity to their OpenProject user, using the mapping step that the confirmed method provides. |
| Actions status never updates on the work package | The event type that reports Actions results is not subscribed, or the workflow run carries no OP# reference | Subscribe to the event type that reports workflow results and include the OP# reference in the run's commit or title. |
What the Community edition covers and what to confirm for this feature
The Community edition is free and includes work packages, Gantt charts, agile boards, time tracking and dashboards, with community support. The topic brief places the GitHub integration in that edition, which means a team can link pull requests and Actions status to work packages without buying an Enterprise subscription. Treat that as a starting point, not a final answer. Plan requirements for integrations can change between releases, so check the feature against the exact OpenProject release you run, and read the GitHub integration documentation for that version before you commit to a design. The release notes list the current versions, including 17.9.2, and are the place to see what changed recently.
Some parts of an integration can sit behind Enterprise even when the core link works on Community. Typical examples are single sign-on for the people or service accounts that use the integration, LDAP group synchronization, and advanced administration controls. The Enterprise on-premises plan is priced per named user per month, with tiers at 5.95, 10.95 and 15.95 euros and minimum user counts for some tiers, as set out on the pricing page. Because the price scales with named users, a small pilot that needs one Enterprise feature may still be charged for a minimum user block. Ask for the edition and feature list in writing, and have the quote show the license cost separately from the integration work so you can compare the two options fairly.
Questions teams ask before building the GitHub integration
How much effort does a GitHub integration with OpenProject take?
Effort depends on four things: the GitHub setup, the number of repositories, how users are matched between the two systems, and the network path from GitHub to your OpenProject instance. A single GitHub organization with a few repositories, one reachable OpenProject instance, and matching email addresses is a small job. Effort grows when several GitHub organizations feed one OpenProject, when developers use different addresses in GitHub and OpenProject, or when OpenProject sits on a private network that GitHub cannot reach. Each repository needs its link configured and tested, and each team needs its OP# reference convention agreed. Ask for the quote to show how each driver changes the scope.
Can our internal team build the GitHub integration without outside help?
Yes, an internal team can build it if it has administrative access to both systems and the skills to use them. The team needs GitHub organization and webhook administration, OpenProject administration including API token settings and project configuration, basic networking knowledge for inbound HTTPS, and time to test edge cases such as pull requests that reference several work packages. Outside help is most useful when one of those skills is missing, when the team has no capacity to run a test plan, or when it needs a documented handover. Whichever route you choose, confirm the skills before the build starts so the schedule does not depend on guesswork.
How long does a GitHub integration take to deliver?
The timeline is set by the written scope, and the duration is not fixed in advance. The main factors are the number of repositories and projects in scope, how much identity matching is needed, whether separate test and production environments are required, and how long network or firewall changes take to approve. Security review cycles also add time when the GitHub integration must be signed off. DeployOpen engagements are normally fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask for milestone dates in that agreement and for a list of the approvals that sit outside the project.
What does our team need to provide before the work starts?
Prepare these inputs before work starts, so the build is not held up by access requests:
- GitHub organization owner or admin access to configure webhooks and any app used for the link
- OpenProject administrator access and a decision on which projects receive GitHub activity
- A test OpenProject project and a test repository, kept separate from production
- A confirmed network path from GitHub to OpenProject, with firewall or proxy changes approved in advance
- An agreed OP# reference convention, plus a named owner for each repository
Assign one person on your side to approve decisions during the build, since open questions about naming and access are the most common cause of delay.
Is the GitHub integration available in the free Community edition?
Yes, the GitHub integration is documented as available in the free OpenProject Community edition. The Community edition includes work packages, Gantt charts, agile boards, time tracking and dashboards, with community support. Enterprise applies when you need features listed for the Enterprise plans, such as single sign-on through SAML, OIDC, CAS, Kerberos or Okta, LDAP group synchronization and custom branding. If GitHub-linked users must sign in through your central identity provider, plan for Enterprise at the start. Confirm the Community feature set against the OpenProject version you deploy, and review the OpenProject pricing page for current plan terms.
What should a GitHub integration quote include?
A useful quote states the scope in concrete terms: which GitHub organizations and repositories are linked, which OpenProject projects receive events, and which event types are covered, such as pull requests and Actions status. It should name the environments involved, including a test environment and the production instance, and describe the test plan, including pull request and workflow cases that reference work packages. The quote should cover how users are matched between systems, what documentation and admin handover you receive, and whether a retest is included after fixes. Finally, ask what is excluded, such as Enterprise licensing, hosting changes or changes to GitHub policy, so the total effort is clear before you sign.
Do we need ongoing support after the GitHub integration goes live?
Many teams need some ongoing attention, because links break when GitHub settings change, when OpenProject is upgraded, when tokens expire, or when new repositories are added. Whether you need a retainer depends on how much change you expect and whether your internal team can absorb it. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, so you can choose coverage that matches your change rate. Ask any provider to state what happens after go-live, who responds to a broken link, and how upgrades to OpenProject are tested against the integration before they reach production.
How DeployOpen scopes and delivers the GitHub integration
DeployOpen treats the OpenProject and GitHub integration as a defined piece of work inside your own infrastructure. We agree what gets linked, which repositories and projects are in scope, and how the webhook and access setup will be tested before anything goes live.
How we scope
- Confirm which GitHub organizations, repositories and OpenProject projects will be linked, and who owns each one.
- Agree in writing whether pull request, branch and Actions status events are in scope, and which OP# reference format teams will use.
- Record the GitHub token or app permissions, webhook endpoint and network path to your OpenProject instance before work starts.
How we build
- Configure the GitHub webhook and OpenProject receiving settings in a test instance, then check that events reach the right work packages.
- Test OP# reference parsing in branch names, commit messages and pull request titles with sample work packages.
- Review token scopes and secret handling so credentials are stored outside source control and rotated on a documented schedule.
How we hand over
- Provide a written runbook covering webhook setup, event flow, token rotation and how to troubleshoot missed updates.
- Document the agreed scope, configuration values and test results so your team can review them without us.
- Walk your platform and development leads through the setup and confirm acceptance against the written scope.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
- Revisit the integration when OpenProject releases or GitHub API and webhook behavior changes affect your setup.
- Confirm with your own team which support level and response expectations apply before the engagement starts.

