Learn more about Jira Cloud products, features, plans, and migration.
If you’re using GitHub Enterprise Server (version 3.09 or lower), the instructions on this page will help you manually create an app to connect your GitHub account with Jira Software.
If you're using GitHub Enterprise Server on version 3.1 or higher, you can create an app automatically when you connect Jira with GitHub.
Create a new app in 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
Copy URLs from Jira to GitHub
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’.
Grant permissions in GitHub
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:
Contents (read & write)
Issues (read & write)
Metadata (read-only, mandatory)
Pull requests (read & write)
Add the following organizational permission:
Select the following event subscriptions:
Pull request review
‘Read & write’ permissions are optional, but the ‘create branch’ feature will not function without them.
Submit app details in GitHub
Review all the fields in your GitHub app form.
Select Create GitHub App to save and submit your app.
Copy app details from GitHub to Jira
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.