How to Integrate GitHub With JIRA
Posted By : Vishnu Gaur | 30-Apr-2018
Step 1.Create an OAuth token of your GitHub account.
Create the OAuth token as follows:
Log in to your Github account with admin permission.
Select settings and go to developer settings
Select OAuth Apps.
Select new OAuth Apps.
Enter the name of your application.
Enter Jira URL as homepage
Check your Jira software
Step 2. Login your Jira account with Admin permission.
go to Settings select Applications then select DVCS accounts.
You see the two options
1. Link Bitbucket Cloud account
2. Link Github Account
We are going to GitHub integration.
Select Link Github account option.
When you select Github account, There
1. Host
2. Team or User account
3. Client ID
4. Client Secret
We will select Github in Host
Team or
We will fill client ID, secret from Github account.
We should login GitHub account That will authorize with Jira account in another tab.
After linking of your account, Jira automatically starts looking for commits that reference issue keys. synchronization of of Github commit id data will take time to reflect in Jira, In synchronization process, commits automatically reflected in issue. Admin use can enable or disable github repsoitories from syncing.
How to synchronization works with commit id.
Please follow below steps for synchronization of commits in Jira issues.
When a any developers commit anything, he should include a Jira Software issue key to the commit message, like this:
git commit -m "PROJ-123 add a README file to the project."
git push origin <branchname>
Jira uses issue key to includes the commits with an issue, so the commit can be find in the Development panel of the Jira Software issue.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Vishnu Gaur
Vishnu Gaur Is DevOps Engineer in oodles technologies, He is a certified Engineer. His hobbies are reading Books and exploring New places