简体   繁体   中英

How to close bitbucket task in a pull request comment via commit message?

We work we bitbucket for a git version control system.

When doing a code review, one can create a task. Is it possible to close a task from a commit message? Or is it something that bitbucket doesn't provide?

I used to work with github, and there it was possible to reference and close issues via commit messages .

According to Atleassian's documentation , you can use a keyword and the task id to close it directly.

Statements that can be used within the commit message are:

close #845
fix bug #89
fixes issue #746
resolving #3117

Effectively you cannot close pull requests tasks via commit message.

It seems that Bitbucket distinguishes issues from pull request tasks. If you are looking for ways of closing issues via commit message, take a look at Ôrel answer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM