Include from and to branch in "Received pull request opened event" logging

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Done
    • 6.2.0
    • Component/s: None
    • None

      Problem Definition

      When examining remote events in the Bamboo logs, events relating to pull request creation only show the target branch. Since the target branches are common to many pull requests, (e.g. master) the logs make it difficult to reason about which pull request they relate to

      2017-08-28 21:26:08,659 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-4] [PullRequestAwareEventListener] Received pull request opened event [ testrepo, refs/heads/master]
      

      Suggested Solution

      Display source and target branches in the remote event log

      2017-08-28 21:26:08,659 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-4] [PullRequestAwareEventListener] Received pull request opened event [ testrepo, from: refs/heads/bugfix/abc-123, to: refs/heads/master]
      

              Assignee:
              Unassigned
              Reporter:
              Dave Chevell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: