Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-24158

Show who created the branch when a jira card is updated via a branch creation trigger

    XMLWordPrintable

Details

    Description

      Issue Summary

      When using Jira integration with Bitbucket Cloud, if the workflow is configured in such a way that a given Jira issue has its status automatically changed (i.e. going from "to do" to "in progress") when a branch is created on Bitbucket the system currently shows the last user who had a commit on the source branch as the author of the status change.

      As it stands there are situations where the history within Jira will be incorrect as it could have someone unrelated to that particular issue shown as updating the status/working on it, so it would be interesting if Bitbucket could report the creator of the branch (likely the user that's authenticated when that change was made) instead of picking up the last commit's author from the source branch.

      This is reproducible on Data Center: no

      Steps to Reproduce

      1. Integrate Jira Cloud with Bitbucket Cloud
      2. Configure a project and edit the workflow to trigger a transition when a Branch is created.
      3. Add a post-function to assign the issue to the current user.
      4. Open a Jira issue and select Create branch and create it.

      Expected Results

      The issue is transitioned and assigned to the user who created the branch.

      Actual Results

      The issue is transitioned and assigned to the last user who made the last commit on that branch.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c5c96a23be8d Bryan B (Inactive)
              Votes:
              15 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated: