Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-9470

Add ability to link previous commits to existing JIRA issues (BB-10211)

    XMLWordPrintable

Details

    • 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.

    Description

      Smart commits is an excellent feature to link BitBucket commits - and the code changes - to JIRA issues. However, if a user forgets to add the issue key to the commit and then pushes upstream, it's very hard (without breaking the git repo for others) to add the issue key to the commit message. It would therefore be very useful to be able to manually link an earlier commit - and its code - to an existing JIRA issue, as if the issue key had been included in the commit message.

      The commit message doesn't need to be changed, but the code changes and commit ID should be added to the issue.

      This could be done with a separate UI to attach JIRA issues to an existing commit. When displaying JIRA issues, in addition to searching in the commit message, it would also search the new JIRA-issue-and-commit association configured via the new UI.

      The same thing could be applied to branches. Pull requests might be fine, as we could easily update the pull request title to include the issue key.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              3b065ac34ef3 zehualiu
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: