We've had our local and self hosted GitHub Enterprise instance connected to our Jira Software (Server) instance for a few years now and in recent months we've found countless scenarios where the regular sync has become unstuck.
What I mean by this is that many commits, PR's or branches with the correctly formatted Jira KEY-1234 reference in all caps are being missed.
Worse that this seems to be in repositories which were proven to be working just days, weeks, or months ago.
Whenever we've inspected this, the DVCS administration page has implied that there's been no activity in X days or weeks. We then force a sync on that repo alone and after a few minutes it finds any relevant commits, branches or PR's. This isn't sustainable and is impacting more repos every day.
The DVCS service is scheduled for a Sunday night so as to minimise impact to our 2000 users.
We do have many hundreds of orgs, thousands of repositories and millions of commits etc - so my only guess is that the synchronisation process timesout due to how much it must trawl through t ofind new commits etc.
Has anyone else faced this same issue in their enterprise? And if so what changes have you put in place to resolve this issue
Side note: post commit hooks connections can not be setup on these repos, so we rely on Jira's sync itself.