Sync log and troubleshooting
The sync log
Section titled “The sync log”The Sync log at the bottom of the project’s Git sync tab lists every sync, newest first, ten to a page:
| Column | Shows |
|---|---|
| When | When the sync started |
| Started by | The person who selected Sync now, or the pusher for a sync started by a push |
| Result | Succeeded, failed, or still running |
| Changes | Features imported, or files added, changed and removed |
| Files | The files in the change (the first few, then more) |
| Push, Pull request or Commit | A link to the push that started an import, or to the commit or pull request an export created |
Select Refresh to update the list while a sync runs. The latest result also shows above the log, for example Last sync succeeded — Committed 0 added, 1 changed, 0 removed (aa7195b2).
Common problems
Section titled “Common problems”“Could not connect to the repository” when testing
The connection’s credentials can’t read the repository. Check the repository is written as owner/name, that the token hasn’t expired, and that it has access to the repository. With the GitHub App, check the repository is one of the app’s selected repositories in GitHub.
The branch can’t be found
The repository exists but the branch doesn’t. Check the spelling (branch names are case sensitive), or create the branch in the repository first.
The folder doesn’t exist yet
That’s fine: an export creates it, and an import of a missing folder simply imports nothing.
A sync shows as failed
The Result column gives the reason, including the Git host’s own error message where there is one. Fix the cause and select Sync now again.
An expired or revoked token
Syncs fail until the token is replaced. A Jira admin replaces a connection’s token on the Git connections tab; a project admin enters a new project token in the project’s Git integration.
Long feature names
File names are cut to 100 characters. Two features whose names give the same file name are numbered, for example 2-checkout.feature, and keep the same number from one sync to the next.
Large projects on Bitbucket
Bitbucket syncs with many files are split into commits of at most 25 files each. The sync log shows them as one sync.
“Already up to date”
The repository already has the current version of every feature, so nothing was committed.
Sync now does nothing
Only one sync runs per project at a time. If a sync is already running, wait for it to finish, then try again.