-
Suggestion
-
Resolution: Obsolete
-
None
-
None
-
3
-
10
-
Bamboo should store be able to associate a JIRA project with each build, along with a SOAP login for that JIRA instance. When an CVS/SVN commit is made, Bamboo should parse the comments. If the comments begin with a JIRA issue identifier such as BAM-123, then once the test has been completed, Bamboo will use the JIRA SOAP interface to perform an workflow transition or add comment operation on that issue.
For example, when a user commits a bug fix with a reference to the JIRA issue of that bug in the commit comments, the bug gets closed automatically if the tests pass. Any text following the JIRA issue identifier will be posted as a comment to the issue.
Commit Result | JIRA Issue State | JIRA WorkflowTransition | Operation |
Pass | Open | Resolve Issue (Fixed) | Add comment |
Fail | Open | None | Add comment |
Pass | Resolved | None | Add comment |
Fail | Resolved | Reopen | Add comment |
Thoughts:
- This would need to deal with custom workflows, possibly by downloading the list of workflow operations and criteria to allow customisation.
- How to populating required fields for transitions, eg from the comments?
- Optionally, you could associate the workflow operation or comment with the JIRA account of the committer, but this would require a mapping between CVS/SVN user accounts and JIRA user accounts
- This issue could be implemented as a Bamboo plugin