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

Github repository cannot sync in JIRA when new tags are created from Github

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding bug report.

      The following error is thrown when attempting to sync:

      2014-05-01 22:56:16,173 http-bio-8075-exec-18 ERROR admin 1376x626x1 7vwps0 127.0.0.1 /rest/bitbucket/1.0/repository/1/softsync 
      [dvcs.sync.impl.DefaultSynchronizer] 
      org.eclipse.egit.github.core.event.EventPayload cannot be cast to org.eclipse.egit.github.core.event.PullRequestPayload
      java.lang.ClassCastException: org.eclipse.egit.github.core.event.EventPayload cannot be cast to org.eclipse.egit.github.core.event.PullRequestPayload
      	at com.atlassian.jira.plugins.dvcs.sync.PullRequestPayloadGitHubEventProcessor.process(PullRequestPayloadGitHubEventProcessor.java:24)
      

      Steps to reproduce:

      1. Go to the repo in Github, navigate to releases (between branches and contributors) , then click on "draft a new release". Fill in the version number, a title and a description. Add a new tag. Then publish the release.
      2. Go back to the DVCS accounts in JIRA and resync the repo. Error appears as per above.

      Tried to delete the DVCS account in JIRA and re-add, didn't help. Also tried to delete the Releases created in the Github UI, didn't help.

      Attachments

        Issue Links

          Activity

            People

              zliu ZehuaA
              dleng Daniel Leng (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: