Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,357
Community Members
 
Community Events
165
Community Groups

Jira Cloud Code not showing Github Repo

After linking github, I dont see the repo here

also, smart syntax doesnt seem to work....

am I missing something?

 

Untitled.png

4 answers

I have the issue keys as the branch name, and in every commit, but still not showing under code. I even created the branch from the `create branch` link in the issue, and just shortened the name to the issue key because it was putting the entire issue name as the repository name. But none of this is bringing up the completed issues under the code page. As can be seen in the screenshots, I'm doing what is directed, but nothing is still showing. Is it time to report it as a bug?

bitbucket code.PNGcurrent-sprint.PNGcode-page.PNG

Also seeing the same issue?

Having the same issue on my end. any updates?

0 votes

Hello @fermifang

Welcome to the Atlassian Community!

In order for repositories to display under the Code menu of your projects, you must mention the issue key of one of the project issues directly in the commits, branches, or pull requests of the repositories. This action will create a link between the Jira issue and the bitbucket repository and display it in the related project, as described in the documentation below:

Reference issues in your development work 

Can you please confirm you've mentioned one of the project issues in your Bitbucket repositories?

Let us know if you have any questions.

Hey @Petter Gonçalves 

 

Thanks for getting back to me!!

 

I am wondering if that method only works for bitbucket or also works for github? 
yea... i understand that github integration is part of marketplace,

I just wanted to know if I used github as my repo, will it also show up in the code section or will only bitbucket work

 

Cheers!

Hello @fermifang

Sorry, I didn't see you were talking about Github. 

I must confess that I never integrated both Github and Jira since the Code feature was deployed, so I'm not sure if it works the same way as Bitbucket, although this should be easy enough to test.

In the meantime I'm testing it, can you confirm if you are able to mention any Jira issues on your Github branches/commits?  

unfortunately no

i tried to use [issue-number] synxtax but not working

I think it is due to one way traffic from Github to Jira, the repos are getting searched and Populated when there is any Activity/Update happening inside the repos which triggers the update to Jira e.g:- Push, Pull, Commit action's etc.

If those Actions are not performed inside the repo then it might not trigger connection/update from Github to Jira.

Please check that those Guthub Repo's(Which you are trying to find in Jira) are not empty, means they should have Code in it and some Actions(Push, Pull, Commit) has to be performed on that Github repo.

I can confirm that this method just worked for me. I modified the Readme file for my Github repo with the tag of an issue in Jira and pushed to Github. Refreshed the Jira code page and voilà. Appeared instantly. The issue does need to be in brackets however [TI-1]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,853 views 37 48
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you