How to show git (GitHub) branch for commit

Cosmin Lehene September 28, 2020

This could actually be useful to see if an issue was committed to master or just a feature / PR branch. 

Screen Shot 2020-09-28 at 9.34.08 AM.png

Currently the only way is to click on that and get into github..

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 28, 2020

Hi @Cosmin Lehene,

I'm pretty sure the only way that Jira is intelligent enough to know the branch is if the name of the branch contains the Jira issue key (e.g. JIRA-123).

Now, and issue you will run into historically (which we have also encountered and decided to just live with it) depends on how you manage your git branches.  We will typically delete branches when code is merged from the feature branch to the 'develop' branch.  While we using the Jira issue key for feature branch names and branches are displayed while the project is active, branches will "disappear" the moment code is merged because we are deleting the git branches to keep the repositories clean.

I hope that helps answer your question.

-Jimmy

Suggest an answer

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

Atlassian Community Events