Git - tracking each issue as a branch

Andy Larkum August 13, 2014

Hi

We're looking at using Jira, but have one requirement that I can't tell for sure Jira will do - hoping someone can confirm/deny for me...

We want to be able to associate each issue (bug, feature, task...) with a new branch in Git, and log associated commit statements (which may be more than one) with each issue.

So, for example (pseudo):

git branch issue_101
...do work
git commit -m "issue_101 some comments"
QA spots a problem
...do a bit more work
git commit -m "issue_101 some more comments"
git merge issue_101

I know that Jira has auto-association of Git commits with an issue, but I can't tell whether it will/can associate a branch correctly with an issue, and track commits for that branch.

Has/is anyone done/doing this? Any resources?

Thanks

A.

2 answers

1 accepted

0 votes
Answer accepted
Timothy
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.
August 14, 2014

Yes. That's definately possible. Watc hthis video (https://www.youtube.com/watch?v=VusxeKDiKvk).

0 votes
Andy Larkum August 19, 2014

That'll do the trick - thanks Timothy :)

Suggest an answer

Log in or Sign up to answer