-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
None
-
None
-
Severity 3 - Minor
-
Steps to reproduce
Create BBS linked repository and add it to plan
Login by another user and go to Plan configuration > Repositories. Choose added repository
Expected: repository details are not visible until you authorize access from Bamboo to Bitbucket Server
Actual: error page. See
Stack Trace: com.atlassian.stash.rest.client.applinks.StashCredentialsRequiredException: com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource. at com.atlassian.stash.rest.client.applinks.ApplinkHttpExecutor.execute(ApplinkHttpExecutor.java:59) at com.atlassian.stash.rest.client.core.StashClientImpl.doRestCall(StashClientImpl.java:619) at com.atlassian.stash.rest.client.core.StashClientImpl.doRestCall(StashClientImpl.java:606) at com.atlassian.stash.rest.client.core.StashClientImpl.getApplicationProperties(StashClientImpl.java:598) at com.atlassian.bamboo.plugins.stash.v2.configurator.BitbucketServerServerConfigurator.populateContextWithBitbucketVersion(BitbucketServerServerConfigurator.java:170) at com.atlassian.bamboo.plugins.stash.v2.configurator.BitbucketServerServerConfigurator.populateContextForView(BitbucketServerServerConfigurator.java:138) at com.atlassian.bamboo.configuration.repository.VcsUIConfigBean.prepareViewHtmlFragments(VcsUIConfigBean.java:178) at com.atlassian.bamboo.ww2.actions.build.admin.config.repository.EditRepository.lambda$prepareHtml$0(EditRepository.java:122) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:196) at com.atlassian.bamboo.ww2.actions.build.admin.config.repository.EditRepository.prepareHtml(EditRepository.java:115) at com.atlassian.bamboo.ww2.actions.build.admin.config.repository.EditRepository.prepare(EditRepository.java:39) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:170) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at org.apache.struts2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:120) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptor.intercept(WebworkSecurityInterceptor.java:47) at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptorProxy.intercept(WebworkSecurityInterceptorProxy.java:26) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:133) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at com.atlassian.bamboo.ww2.interceptors.PaginationAwareInterceptor.doIntercept(PaginationAwareInterceptor.java:87) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:25) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at com.atlassian.bamboo.ww2.interceptors.StatisticsAwareInterceptor.doIntercept(StatisticsAwareInterceptor.java:35) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:25) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at com.atlassian.bamboo.ww2.interceptors.ResultsListAwareInterceptor.doIntercept(ResultsListAwareInterceptor.java:38) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:25) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at com.atlassian.bamboo.ww2.interceptors.NavigationAwareInterceptor.doIntercept(NavigationAwareInterceptor.java:100) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:25) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:247) at com.atlassian.bamboo.ww2.interceptors.BuildResultsSummaryAwareInteceptor.doIntercept(BuildResultsSummaryAwareInteceptor.java:53) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:25)
Workaround
Go to list of linked repositories and grant authorization there. See
- duplicates
-
BAM-18877 Exception when accessing linked repo from plan level
-
- Closed
-