If your administrator has integrated builds with issues, you will be able to action issues via builds. If the default 'Builds Workflow' is being used with your project, the workflow will look like this:
Diagram: The default Builds Workflow
Wait for Build
The 'Wait for Build', 'Build Passed' and 'Build Failed' transitions are Bamboo-specific transitions:
- 'Wait for Build' — This transition will be triggered when code is committed for this issue (and a build started) using the
#wait-for-build. Note, you must manually enter the commit command in your commit message to trigger the transition, as described in Using smart commits.
- 'Build Passed' — This transition will be automatically triggered when a build for this issue passes.
- 'Build Failed' — This transition will be automatically triggered when a build for this issue fails.
If you want to resolve an issue via a particular (successful) build, you can add the
#build commit command to your commit message. If the build is successful, the issue will automatically transition to 'Resolved'. If the build fails, it will automatically transition to 'Build Broken'.
You can still commit without the issue potentially transitioning to 'Resolved' simply by omitting the
#build commit command from your commit message.