Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19378

When making a connection using OAuth credentials, a backfill for existing data from Bitbucket Data Center to Jira Cloud is needed

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Integration - JIRA
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Issue Summary

      There is currently no backfill of data with OAuth.
      Data starts getting sent from the moment the OAuth connection is established.
      Applinks can show old data because the data is queried directly from Bitbucket when users view the issue.
      OAuth doesn't do this.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Applink Bitbucket DC to Jira DC
      2. Populate Data
      3. Migrate Jiras On-Prem to Jira Cloud
      4. Check Dev Panel for data

      Expected Results

      There is no stale data or missing data

      Actual Results

      There is stale data eg. issues unresolved and merged PRs show as open OR
      There is missing data eg. data prior to migration from Jira On-Prem to Cloud

      Workarounds

      Application Tunnels should allow the development information functionality that Application Links allow.
      As such there are workarounds that might help given either is enabled:

      First Workaround
      https://confluence.atlassian.com/bitbucketserverkb/reindex-jira-issue-keys-in-bitbucket-server-datacenter-779171709.html <- here you will remove the snapshot file which will trigger Bitbucket to rebuild and send the datasource that is needed for Jira to update the dev panel

      The caveat here is that though it is useful for 1 or 2 repos, it can incur significant overhead for many repos.

      Second Workaround
      The first workaround will only target commit data. To target pr data the instructions here must be followed:
      https://confluence.atlassian.com/bitbucketserverkb/the-number-of-pull-requests-or-branches-differ-between-jira-development-panel-overview-and-details-1041078861.html

      Caveats

      • If the OAuth dev panel information is disabled, the duplicate data should be removed but relying on just Applink/Application Tunnel integration for this data entails a latency between when the commit is pushed to Bitbucket and when it is displayed in Jira UI.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nhansberry Nate Hansberry
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: