Forums

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

How to commit under specific bug when the bug is still open

sachingorade September 13, 2018

Requirement:

I have multiple commits to be done under one issue and the issue should not be closed until all the commits are done.

Commits done should be listed under the issue against which commits are done.

What happens right now:

When we commit a changeset under specific bug and include the comment "Fixes issue#x" then the commit is shown under the bug#x but the issue is also closed.

Can someone redirect me or explain how this can be achieved.

2 answers

0 votes
Paresh Gandhi
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.
September 13, 2018

Looks like this is expected. Please refer to link.

Just suggestion - You can create sub task for each bug and use that bug #x

 

Ideally, one bug should be reported in one issue for easy tracking and closing.

Ref link

sachingorade September 16, 2018

For the feature bug, commits are done in series of changesets in which case even after specifying the bug commit is not listed under the bug.

 

Idea of creating subtasks sounds good, have not tried it yet but will surely do.

 

Thanks.

0 votes
Yogesh Mude
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.
September 13, 2018

HI @sachingorade

Welcome to the community!

Could you please confirm, do you have the "Fixes" as a "Resolution" value/option.

WHy because whenever you will usee the smart commit like ..<Issue_Key> #Fixes or #resolve #<Commit_Msg> then it will commit the message as well as resolve the issue.

Please have a look at the below article for more details.

https://confluence.atlassian.com/bitbucket/use-smart-commits-298979931.html

sachingorade September 16, 2018

Using fixes keyword resolves the issue but what if the partial commit is being done which is not resolving the issue yet.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events