• 1
    • We collect Jira 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.

      Summary

      DvcsSchedulerJobRunner sync:

      • all branches, commits for repositories
      • all pull requests for repositories
      • all repositories for every organization

      If user connect with large number of repositories, it takes few weeks to sync all repositories.
      Newly created repositories are not added for long time and require user to do manual sync.

      Suggestion

      • Fetch new repositories should work outside of the scheduler

            [JSWSERVER-20569] Repositories are not added to DVCS for long time

            We've made a number of performance improvements in Jira 8.14 which should help here:

            • We no longer import all branch, commit and PR history when adding a new repository, now we only fetch the last commit for each branch to get a current snapshot of the state of the repository - this will make adding new organizations much faster.
            • Web-hooks have been overhauled so that we no longer poll DVCS accounts unless a web-hook payload is missing some piece of information that the DVCS plugin needs.
            • Adding new repositories no longer depend on the sync job running - now if we receive a web-hook for a connected DVCS account but the repository is not known to Jira, we'll automatically create it.

            Chris van Es (Inactive) added a comment - We've made a number of performance improvements in Jira 8.14 which should help here: We no longer import all branch, commit and PR history when adding a new repository, now we only fetch the last commit for each branch to get a current snapshot of the state of the repository - this will make adding new organizations much faster. Web-hooks have been overhauled so that we no longer poll DVCS accounts unless a web-hook payload is missing some piece of information that the DVCS plugin needs. Adding new repositories no longer depend on the sync job running - now if we receive a web-hook for a connected DVCS account but the repository is not known to Jira, we'll automatically create it.

              cvanes Chris van Es (Inactive)
              tsuzuki@atlassian.com Tomoko Suzuki
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: