Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I link branches with issues in BitBucket?

I am using a BitBucket private repo for hosted source-control. I would like to use the issue tracker to manage and assign issues amoungst the team.

With JIRA, the names of branches and issues are linked.

For example, ISSUE-123 would automatically recognise branch bugfix/ISSUE-123 as related, and display it in GUI.

Does the built-in issue tracker for BitBucket support this functionality? If so, how should I name my branches so that they are linked?

like image 303
sdgfsdh Avatar asked May 23 '16 13:05

sdgfsdh


People also ask

Why my branch is not showing in Bitbucket?

Go to "Push To" and select origin. After doing this, it should appear on your BitBucket account. For whatever reason, simply pushing the branch from the main screen doesn't always work. Lokesh, you have to push your new branch to the remote.


2 Answers

Response from BitBucket:

Unfortunately, the feature to link branches with issues to branches is not available on the Bitbucket's built in issue tracker.

You can go ahead and file a feature request for this on our public tracker though: https://bitbucket.org/site/master/issues

Let us know if you face further issues.

like image 117
sdgfsdh Avatar answered Sep 18 '22 02:09

sdgfsdh


There is a way to link them, not exactly as it works in Jira but it is useful.

You can reference issues, pull requests, users, changesets in commits, comments or descriptions using the following syntax:

issue #number  ->  issue #88

pull request #number  ->  pull request #1541

@accountname or @emailaddress  ->  @tutorials

HEX_CHARS  ->  9cc27f2

See here for more details.

like image 38
aprabaldi Avatar answered Sep 18 '22 02:09

aprabaldi