Open dka23 opened 9 years ago
The events API is quite large:
Therefore we should first check which information the DVCS connector needs and only return this information.
Depending on the payload type, the DVCS connector uses different processors:
Exception now when syncing pull requests:
2015-10-02 15:19:40,958 http-bio-8090-exec-9 ERROR anonymous 919x108463x1 - 127.0.0.1 /rest/bitbucket/1.0/repository/110/sync [dvcs.sync.impl.DefaultSynchronizer] Cannot set non-null field GIT_HUB_ID to null java.lang.IllegalArgumentException: Cannot set non-null field GIT_HUB_ID to null ... at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl.saveEventCounterpart(GitHubEventServiceImpl.java:239)
Most likely due to the ID of the event being empty
When a hook is triggered from Gitlab, JIRA only seems to query the events endpoint for new events. Therefore this needs to be supported.