-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 10.2.7, 11.0.4
-
Component/s: Repository (Github)
-
None
-
1
-
Severity 3 - Minor
Issue Summary
When a non-admin user who has permissions to configure the plan level, such as (admin), switches the plan branches and goes to the repository settings, it throws a 500 error reporting null username and null password
atlassian-bamboo.log
2025-09-24 20:52:54,648 ERROR [http-nio-8085-exec-24 url: /bamboo/rest/git/latest/gh/repositories/; user: devtest] [ThrowableExceptionMapper] Uncaught exception 4060de02-6b7c-40dc-80ee-2cbe2a886171 thrown by REST service: Errors: {repository.github.username=[Username can not be empty.]} (log message continued...) Error Messages: [] com.atlassian.bamboo.exception.DefaultWebValidationException: Errors: {repository.github.username=[Username can not be empty.]} Error Messages: [] at com.atlassian.bamboo.utils.BambooValidationUtils.checkErrors(BambooValidationUtils.java:85) ~[atlassian-bamboo-core-10.2.7.jar:?] at com.atlassian.bamboo.plugins.git.rest.resource.GitHubResource.getAccessCredentials(GitHubResource.java:323) ~[atlassian-bamboo-plugin-git-10.2.7.jar:?] at com.atlassian.bamboo.plugins.git.rest.resource.GitHubResource.getAvailableRepositories(GitHubResource.java:99) ~[atlassian-bamboo-plugin-git-10.2.7.jar:?] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?] at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
Steps to Reproduce
- Create a Plan, a Bamboo user, and a group
- Grant admin permission to the group at the plan level only.
- Grant Project permissions to view configuration
- Have GitHub Linked repo configured
- Create some plan branches
- Log in as the non-admin user
- Try switching branches
- Go to Repositories tab
- See the error under the branch. Like:
Failed to load data from GitHub.[500 error]
Expected Results
No errors were shown during the access workflow
Actual Results
Workaround
No workaround available