Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am using Github for Jira app .How to make jira key as a link in github

Mohit Mishra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2024

I am using Github for Jira app to connect jira and github .How to make jira key as a link in github

1 answer

0 votes
RMahajan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 17, 2024

Hi Mohit,


To establish a connection between Jira Cloud issues and GitHub repositories, the recommended approach is to utilize the Jira integration specifically designed for GitHub. This integration facilitates the association of Jira issues with pull requests and commits in GitHub, resulting in a smooth and efficient workflow across both platforms. To configure this integration successfully, follow these general steps:

 Prerequisites:

  • It is necessary to have administrative access to both your Jira Cloud and GitHub repositories.

Steps:
1] Integrate Jira Cloud with GitHub:

Access your Jira Cloud instance.

Proceed to "Settings" > "Products" > "Integrations."

Locate the GitHub integration or the option for "DVCS Connector."

Follow the instructions provided to establish a connection between Jira and your GitHub account.

2] Connect GitHub Repositories to Jira Projects:

Once you have connected Jira with GitHub, you can specify which GitHub repositories are associated with your respective Jira projects.

Within Jira, navigate to "Settings" > "Projects" > "Your Project" > "GitHub Configuration."

Establish a link between the appropriate GitHub repository and your corresponding Jira project.

3] Utilize Smart Commits in GitHub Commits and Pull Requests:

In order to incorporate relevant information from Jira into commit messages or pull request titles within your Github repository, employ the syntax known as "Smart Commits." This involves including the designated issue key from JIRA. For example:
This commit message is associated with JIRA-142.


4] GitHub will automatically recognize the Jira issue key and create a link between the commit or pull request and the corresponding Jira issue.

5] To view Jira issues in GitHub, simply navigate to your GitHub commits or pull requests, and you will find the associated Jira issues listed there.

6] Additionally, you can easily link Jira issues in GitHub comments by mentioning the issue key (e.g., JIRA-142) within a comment.

7] Lastly, in your Jira issues, you will be able to see links that direct you to related GitHub commits and pull requests.

Hope it will help.


Thanks,
RMahajan-Empyra

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events