Changes by [unknown] in a Git plan

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

When a build is triggered by Repository Polling, it shows the message "Changes by [unknown]"

The following appears in the atlassian-bamboo.log

1 2 3 4 5 6 7 8 9 10 11 12 13 2019-01-18 19:41:01,040 ERROR [9-BAM::PlanExec:pool-15-thread-3] [GitChangeDetector] : Failed to extract changesets, will return a stub changeset. java.lang.UnsupportedOperationException: JGit implementation does not support Git LFS repositories, please use native Git or mark your repository configuration as non-LFS at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:283) at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:277) at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.lambda$fetchAndExtractChanges$4(GitChangeDetector.java:233) at io.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:284) at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.fetchAndExtractChanges(GitChangeDetector.java:217) at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.collectChanges(GitChangeDetector.java:190) at com.atlassian.bamboo.plugins.git.v2.GitChangeDetector.collectChangesSinceRevision(GitChangeDetector.java:71) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:580) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.lambda$createBuildRepositoryChanges$2(DefaultChangeDetectionManager.java:479) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:440)

Diagnosis

Check if the option Enable LFS support is enabled at Repository Settings > Advanced options.

Check if there is any Git capability configured at Administration > Build Resources > Server capabilities.

Cause

Git LFS option is enabled in that repository in Bamboo but JGit does not support it.

Solution

Resolution

  1. Install Git client in the machine hosting Bamboo and configure it at Administration > Build Resources > Server capabilities.

    OR

  2. Disable the option Enable LFS support at Administration > Build Resources > Linked repositories > reponame > Advanced options or Plan Configuration > Repositories > reponame > Advanced options.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.