Discover Jira Cloud products
Learn more about Jira Cloud products, features, plans, and migration.
If you’re using GitHub Enterprise Server (version 2.18 or lower), the instructions on this page will help you manually create an app to connect your GitHub account with Jira.
If you're using GitHub Enterprise Server on version 2.19 or higher, you can create an app automatically when you connect Jira with GitHub.
Once you’ve installed the GitHub for Jira app and selected a server to connect, Jira will prompt you to create an app in GitHub.
In Jira, select Manual app creation.
Open the GitHub Enterprise website in a new tab and log in to your Enterprise Server account.
Go to your Developer settings: http(s)://<your-domain>/settings/apps
Select GitHub Apps and then New GitHub App.
Give your app a unique name and add an optional description.
Create a homepage URL by combining your domain and app name in the following structure: http(s)://<your-domain>/apps/<your-github-app-name
Next, copy the URLs from your Jira manual app creation page to GitHub:
Copy the User Authorization Callback URL and paste it into the Callback URL field in GitHub.
Copy the Setup URL and paste it into its field in GitHub.
Copy the Webhook URL and paste it into its field in GitHub.
Create a Webhook secret phrase.
This is optional in GitHub, but it's needed for Jira to listen to and process webhook events. It can be something random, like 'jirarocks’.
To allow Jira to listen to webhook events and populate development data from GitHub, you need to add permissions and event subscriptions.
Add the following repository permissions:
Actions (read-only)
Contents (read & write)
Deployments (read-only)
Issues (read & write)
Metadata (read-only, mandatory)
Pull requests (read & write)
Add the following organizational permission:
Members (read-only)
Select the following event subscriptions:
Security advisory
Commit comment
Create
Delete
Deployment status
Issue comment
Issues
Pull request
Pull request review
Push
Repository
Workflow run
‘Read & write’ permissions are optional, but the ‘create branch’ feature will not function without them.
Review all the fields in your GitHub app form.
Select Create GitHub App to save and submit your app.
Finally, copy the app details from GitHub to your Jira manual app creation page:
Copy the App ID and Client ID fields and paste them into their fields in Jira.
Select Generate a new client secret, wait for the page to refresh, and then copy and paste it into the GitHub client secret field in Jira.
Select Generate a private key to download a pem file. Upload the file to the Private key field in Jira.
Make sure the GitHub app name and Webhook secret fields are the same across GitHub and Jira.
To view your webhook secret in GitHub, select Edit.
Was this helpful?