The issue tracker included with Bitbucket will continue to work normally and can still be configured via the Issue Tracker settings options.
With this service, you can set up Bitbucket Cloud to change the state of a given issue, based on the commit message in an update. The Issues service scans commit messages for keywords. You can use these keywords to automatically change the state of an issue on your repository's issue tracker.
If you enabled an issue tracker on your repository after August 2012, the Issue service is enabled automatically for you. Older repositories with older issue trackers may or may not have this service enabled. You can check if this service is enabled by going to the Services tab on your repository settings:
If you are having trouble with the service, see Troubleshooting Bitbucket services.
Enabling the service manually
- Log into Bitbucket and navigate to the repository you want to modify.
- Click the settings icon .
- Click Services on the left-hand side of the screen.
- Select the Issues service from the Select a service list.
- Click Add service. That's it – done.
Putting the Issue Keywords into your Commit Message
<command> <issue id>
You can link to a single issue or multiple issues. The
<issue id> can take an of the following forms:
#4711 issue #4711 bug #4711 ticket #4711
You should always include the # (pound sign or hash mark) if you want to ensure that links back to the issue resolve. If you omit the # (pound sign or hash mark), links from a changeset do not resolve.
Each action supports multiple
<command> keywords. The following table lists the actions you can perform through a commit and the acceptable commands for that action. All the keywords are case insensitive. So, for example, both
Close work to close an issue.
|resolve an issue||
fix bug #89
fixes issue #746
|reopen an issue||
|mark an issue on hold||
|mark an issue wontfix||
|mark an issue invalid||
|link to a changeset for the issue||
re bug #55
see #34 and #456