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

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      We're suggesting an improvement in the stack trace presented in the logs when we have the following scenario:
      An user created a DVCS link between JIRA and GitHub but lather then, the JIRA user account that was used to create the link at JIRA, was not active anymore and this caused the message below:

      017-02-12 14:17:03,718 Caesium-1-1 ERROR ServiceRunner     [c.a.scheduler.core.JobLauncher] Scheduled job with ID 'com.atlassian.jira.plugins.dvcs.scheduler.DvcsScheduler:job' failed
      com.atlassian.jira.plugins.dvcs.exception.SourceControlException: Error retrieving list of repositories
      	at com.atlassian.jira.plugins.dvcs.spi.github.GithubCommunicator.getRepositories(GithubCommunicator.java:214)
      	at com.atlassian.jira.plugins.dvcs.service.remote.CachingCommunicator.getRepositories(CachingCommunicator.java:126)
      	at com.atlassian.jira.plugins.dvcs.service.RepositoryServiceImpl.syncRepositoryList(RepositoryServiceImpl.java:205)
      	at com.atlassian.jira.plugins.dvcs.service.RepositoryServiceImpl.syncRepositoryList(RepositoryServiceImpl.java:262)
      	at com.atlassian.jira.plugins.dvcs.scheduler.DvcsSchedulerJobRunner.syncOrganizations(DvcsSchedulerJobRunner.java:60)
      	at com.atlassian.jira.plugins.dvcs.scheduler.DvcsSchedulerJobRunner.runJob(DvcsSchedulerJobRunner.java:51)
      	at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153)
      	at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118)
      	at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(CaesiumSchedulerService.java:438)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJobWithRecoveryGuard(CaesiumSchedulerService.java:462)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:390)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:285)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:282)
      	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
      	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
      	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.eclipse.egit.github.core.client.RequestException: Sorry. Your account was suspended. (403)
      	at org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
      	at org.eclipse.egit.github.core.client.GitHubClient.get(GitHubClient.java:740)
      	at org.eclipse.egit.github.core.client.PageIterator.next(PageIterator.java:173)
      	at org.eclipse.egit.github.core.service.GitHubService.getAll(GitHubService.java:151)
      	at org.eclipse.egit.github.core.service.RepositoryService.getRepositories(RepositoryService.java:242)
      	... 18 more
      

      Checking further, I found this article: When refreshing the GitHub list it gives an Error when refreshing account.

      It would be helpful if we improve this message to be more clear and state that the account which was suspended is the JIRA user account.

          Form Name

            [JRASERVER-64203] DVCS Sync improvement request in the stack trace

            Edward Nelson added a comment - - edited

            This is an issue in situations where a new administrator takes over management in an existing system with little or no documentation. Once a change has been made it's not clear that the DVCS links are not working nor how to repair the issue. 

            Edward Nelson added a comment - - edited This is an issue in situations where a new administrator takes over management in an existing system with little or no documentation. Once a change has been made it's not clear that the DVCS links are not working nor how to repair the issue. 

              Unassigned Unassigned
              dsenger Deyves (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: