Overview
What does the integration offer?
Use GitHub integration to forward events such as pull requests, issues, and push events to Jira Service Management with detailed information. Jira Service Management acts as a dispatcher for GitHub alerts, determines the right people to notify based on on-call schedules via email, text messages (SMS), phone calls, or iOS & Android push notifications, and escalates alerts until they are acknowledged or closed.
How does the integration work?
When a pull request is created in your GitHub repository, an alert is created in Jira Service Management.
When an issue is created in your GitHub repository, an alert is created in Jira Service Management.
When a push is made to your GitHub repository, an alert is created in Jira Service Management.
When a pull request is closed in your GitHub repository, the alert is closed in Jira Service Management.
When an issue is closed in your GitHub repository, the alert is closed in Jira Service Management.
Set up the integration
GitHub is an API-based integration. Setting it up involves the following steps:
Add a GitHub integration in Jira Service Management
Configure the integration in GitHub
Add GitHub integration
If you're using the Free or Standard plan in Jira Service Management. To access the feature through Settings
(gear icon) > Products
(under JIRA SETTINGS) > OPERATIONS
, you need to be on Premium or Enterprise plan.
Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.
To add a GitHub integration in Jira Service Management:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “Github”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.Expand the Steps to configure the integration section and copy the Webhook URL generated for your account.
You will use this URL while configuring the integration in GitHub later.Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
Configure the integration in GitHub
In your GitHub repository, open the Settings tab at the top.
Select Webhooks from the left pane.
Select Add webhook.
Paste your Webhook URL (copied while adding the integration in Jira Service Management) into the Payload URL field.
Select application/json for Content type.
Select Let me select individual events for Which events would you like to trigger this webhook?.
Select Push, Issues, and Pull request from the list. Leave the Active checkbox checked.
Select Add webhook.
When you save a Webhook configuration in GitHub, a test alert is created in Jira Service Management. Learn more about GitHub Webhooks.
Add Comment