Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-19809

Data related to repository that is recreated with the same name will not be synced

      Issue Summary

      Commits, PRs and etc. that is related to a repository that is created with the same name of the deleted repository will not be synced to JIRA.

      Further digging into this matter, it looks like JIRA is able to retrieve the repository name, however, it is not creating the Webhook (for Github/Github Enterprise) and Services (for Bitbucket Cloud) after the repository syncing.

      Steps to Reproduce

      1. Create the JIRA - Github or JIRA - Bitbucket integration.
      2. After the sync is done, delete one of the repositories on Github or Bitbucket.
      3. Refresh the repo list on JIRA.
      4. Create a new repo with the same name on Github or Bitbucket.
      5. Refresh the repo list on JIRA.
      6. Navigate to the repo Webhook (on Github) or repo Services (on Bitbucket) - there will be no Webhook (for Github/Github Enterprise) or Services (for Bitbucket Cloud) created.

      Expected Results

      There will be Webhook (for Github/Github Enterprise) and Services (for Bitbucket Cloud) created for the newly recreated repo with the same name of a deleted repo.

      Actual Results

      Navigate to the repo Webhook (on Github) or repo Services (on Bitbucket) - there will be no Webhook (for Github/Github Enterprise) or Services (for Bitbucket Cloud) created.

      Workaround

      Recreate the JIRA - Github or JIRA - Bitbucket integration.

            [JSWSERVER-19809] Data related to repository that is recreated with the same name will not be synced

            Marc Dacanay made changes -
            Labels Original: integrations triaged New: integrations ril triaged
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 956759 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS New: 1
            Bugfix Automation Bot made changes -
            Support reference count Original: 1 New: 2
            Bugfix Automation Bot made changes -
            Minimum Version New: 7.12
            Andrei Khudavets made changes -
            Labels Original: integrations New: integrations triaged
            Pawel Drygas (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Pawel Drygas (Inactive) made changes -
            Occurrence Factor New: 10% [ 12830 ]
            Pawel Drygas (Inactive) made changes -
            Labels New: integrations

              Unassigned Unassigned
              mmuthusamy Moga
              Affected customers:
              4 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated: