Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-1362

If a commit is associated with a JIRA issue, Bamboo modifies the issue state based on the test outcome

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Obsolete
    • None
    • JIRA integration
    • None
    • 3
    • 10
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

              Unassigned Unassigned
              david.soul@atlassian.com David Soul [Atlassian]
              Votes:
              67 Vote for this issue
              Watchers:
              40 Start watching this issue

                Created:
                Updated:
                Resolved: