Integrate with GitHub

Aha! Roadmaps

To avoid redundant third-party notifications, changes to the text editor are delayed by at least five minutes, waiting for five minutes after the most recent change.

Your development team brings your product strategy to life. You rely on them to help you build something great — they rely on you for strategic context and direction. If you are fortunate enough to work with a team of talented developers, you know how exciting it is to see each release bring lovable updates to your customers.

For many teams, it takes serious effort to keep both product managers and developers aligned. Both teams might use different terminology for the same work. Both prefer to use purpose-built tools designed for their use case. But product roadmaps are dynamic and development often happens quickly. You do not want to spend precious time doubling back to manually update the changes between different systems.

The Aha! Roadmaps integration with GitHub automates those manual updates, so product managers and developers are freed up to focus on building breakthrough products. Bidirectional updates mean that strategic context flows from Aha! Roadmaps into GitHub and development progress flows back to you in real time. You can map fields and record types to each other and collaborate with developers through comments without either team leaving their tool of choice.

For teams using GitHub Enterprise, please see the integration instructions here.

In this article, we will walk you through how to configure and customize your GitHub integration, including the option to add additional security through a client certificate.

Click any of the following links to skip ahead:

Prerequisites

Integration type

  • Two-way

Aha! Roadmaps level

  • Workspace level

Required user permissions:
Configuration

Required user permissions:
Use integration

Associated record types

Aha! Roadmaps

  • Initiatives

  • Releases / Schedules

  • Epics

  • Features / Activities

  • Requirements

GitHub

  • Issues

  • Task lists

  • Milestones

Top

Configuration

Navigate to User menu -> Settings -> Workspace -> Integrations and click the + on the left side navigation bar. Select GitHub from the integrations 2.0 grouping.This will launch the integration configuration wizard.

  • Start: The first step is to name your integration and optionally select a template if you have already created one. Click Save and continue.

  • Authenticate: Authenticate Aha! Roadmaps with GitHub using OAuth 2.0. If you already have an active GitHub session in your browser, GitHub asks you to grant Aha! Roadmaps access. Otherwise, GitHub displays its authentication screen.

We recommend using unique credentials wherever possible, as GitHub limits the number of tokens available for each implementation. This is also advisable for account security purposes.

  • If you use SSO to log in to GitHub, then you should first login to GitHub in another tab of your browser using the same credentials that you want Aha! Roadmaps to use. Then come back to the Aha! Roadmaps tab and click the Authenticate button to continue.

  • Organization: If you want to map to GitHub project status and custom fields, select an Organization in this step. This setting cannot be changed once the integration is in use.

  • Repository: Choose a repository to integrate with. GitHub lists the repositories available to your user. You cannot change this setting once you use the integration.

  • Options: You can configure this integration to bi-directionally sync GitHub issue state, project columns, and labels with the status of an Aha! Roadmaps record. Your selections determine the status mapping options available in the next step.

    • Project: Choose a GitHub project to integrate with your workspace. This selection enables you to map the status of Aha! Roadmaps records with the state (open/closed) of GitHub issues.

    • Issue state: Choose whether to enable GitHub issue state mappings. You configure the mapping in the next step.

    • Status labels: Choose whether to enable GitHub status mappings. When you enable them, you can map Aha! Roadmaps record statuses with GitHub status labels. You configure the mapping in the next step. Use the Status dropdown here to select the GitHub labels that you want to appear as options in the Mappings step.

Top

Configure mappings

Next, configure how Aha! Roadmaps records map to your GitHub records. Aha! Roadmaps provides default mappings based on the most common customer use cases. You can remove the default mappings and add mappings that fit your team and workflow.

If you have configured required fields in GitHub, we recommend setting the Required flag on those fields in the custom layout associated with your workspace. This will ensure that any required fields are populated when records are created on the Aha! Roadmaps record creation form.

Within each record mapping section, you can also specify your field mappings. This is an advanced option within the configuration that allows you to customize how each field within the record is mapped between Aha! Roadmaps and GitHub Enterprise — as well as what relationship links exist for those records.

When you map an Aha! Roadmaps record type to GitHub issues, choose which issues the mapping covers:

  • Any issue: Every issue in the repository, regardless of type or hierarchy.

  • Top-level issue: Issues that do not sit under another issue.

  • Sub-issue: Issues that sit under a parent issue.

  • Issue (type: type name): Issues of a single GitHub issue type, such as Issue (type: Bug). These options appear when your GitHub organization defines issue types.

Earlier versions of the integration offered record types such as Issue (epic), Issue (feature), and Issue (requirement). If your integration already uses one of these legacy record types, it keeps syncing and the option appears with a (Deprecated) label. New integrations do not offer them, so use Top-level issue and Sub-issue to map hierarchies instead.

  • If you selected an Organization during the initial integration configuration, you can also map to GitHub custom fields.

  • If you want to map GitHub Pull Requests to Aha! records (one-way or bidirectionally), you can! Take a few steps to make sure this is configured correctly:

    • If you map Pull Requests, also map Head branch and Base branch. Map these fields even when the mapping direction is one-way, from GitHub to Aha! Roadmaps. In that case, create two custom fields and map the branch fields to them.

    • Base branch will usually be "master" or "main."

    • Head branch is the branch name of the code you would want to merge.

  • If you want to sync only certain GitHub issue types, map each Aha! Roadmaps record type to the Issue (type: type name) option for the issue type you want. The integration does not sync issues of any type you leave unmapped, so unrelated work stays out of your workspace.

  • If you want to map Aha! Roadmaps parent-child record hierarchies to GitHub parent issues and sub-issues, map the parent record type to Top-level issue and the child record type to Sub-issue. The default mappings already pair features with Top-level issue and requirements with Sub-issue.

  • If you want GitHub issue types to match your Aha! Roadmaps record types, map the Type field to the GitHub Issue type field, then click Configure to match values. New integrations include this field mapping on features by default.

The relationship links are important to consider because they establish the ability for records created in your development system to be automatically imported into Aha! Roadmaps in certain use cases.

Customize your field mappings and set the direction of updates.

Top

Enable the integration

With your records, field mappings and statuses defined, you can click Save and continue to move onto the last step in the workflow. The Enable step covers two last items.

First, the Webhook section. If you created your integration from the GitHub tile, the integration installs the webhook automatically. If your integration uses the GitHub (deprecated) tile and you set any mappings to sync from GitHub to Aha! Roadmaps, set up a webhook in GitHub so Aha! Roadmaps can receive updates.

Second, specify how updates from Aha! Roadmaps are sent to your development system. The default setting is to Automatically send outgoing changes, which means that any change made to an integrated record will send to GitHub automatically.

We recommend the Approve outgoing changes setting for teams that are unfamiliar with how the integration works. The approval step allows teams that are new to the integration to validate what is being sent to their development system, which can help prevent unintentional changes from going through.

If Aha! Roadmaps does not link a feature's parent release, or if you do not map releases to the development system, Aha! Roadmaps imports the feature into the first parking lot release. This is by design because parking lots hold unscheduled work.

Top

Test the integration

Test your new integration by sending a feature to GitHub:

  • Navigate to Features -> Board.

  • Open a feature in Aha! Roadmaps, scroll to the Integrations field, and select Send to GitHub. After a few seconds, Aha! Roadmaps displays a link to the GitHub record on the feature. Open the link to verify that GitHub received the record correctly.

You can also bulk send a subset of features to GitHub.

Top

Add additional security

2.0 integrations with on-premises tools have the option to include a client certificate for added integration security. This can also be called mutual TLS (mTLS).

To set a client certificate, open your integration settings and click the More options icon in the upper right, then click Set client certificate. From here, enter the private key and certificate — we recommend creating a private key and client certificate specifically for this purpose — and click Save to save your changes.

If you use an integration template to manage multiple integrations in the same workspace, set the client certificate in your integration template. That way, you only need to set the client certificate once.

This feature will only provide additional security when the server that Aha! Roadmaps is communicating with validates the certificate. This is usually only possible with customer-configured on-premises integrations. Client certificate authentication is in addition to the standard username and password/token authentication and is not a replacement.

Top

Receive updates

You can receive updates when something changes in GitHub, including changes to the following:

  • Issues

  • Issue comments

  • Labels

  • Milestones

  • Project v2 items

  • Projects v2

  • Sub issues

  • Pull requests

If you created your integration from the GitHub tile, which uses the Aha! GitHub App, you do not need to set up a webhook. The integration installs its webhook automatically, and the Enable step shows when it last received events.

If your integration uses the GitHub (deprecated) tile, set up a webhook for the GitHub repository to receive updates:

  1. In Aha! Roadmaps, copy the webhook URL from the GitHub issues integration settings.

  2. In GitHub, go to the settings page of the GitHub repository and click on the Webhooks tab.

  3. Add a new webhook.

  4. Paste the webhook URL into the Payload URL field. Choose application/json as content type and leave the secret field blank.

  5. Select Let me select individual events and then check only Issues, Issue comments, Labels, Milestones, Sub issues, and Pull requests.

  6. Finally, click Add webhook.

If you would like the GitHub Project status column or any project custom fields to map back to Aha! Roadmaps, follow these additional configuration steps:

  1. Create an organization-level webhook in addition to the GitHub repository one. For guidance, follow these GitHub instructions.

  2. Enter the same Payload URL as before.

  3. Enable just the Project v2 items and Projects v2 events for this newly created webhook.

Top

If you get stuck, please reach out to our Customer Success team. Our team is made up entirely of product experts and responds fast.

Feedback received!

Error submitting feedback, please try again later