Bamboo User Repository Integration fails
Asked by Andreas K.:

Hello,

When trying to integrate Bamboo with Jira user repository I get the message below. I have followed the steps here before coming to the error:

- Create bamboo-admin group in Jira

- Assign the jiraadmin + 1 user to this group

- Create in Jira User Server a Bamboo Aplication Account with a password

- Then went back to Bamboo to connect Bamboo to Jira User Repository using the just created Bamboo Account

(Both Jira and Bamboo (and Fisheye) run on the same server with different ports)

User Repositories

Bamboo can manage its own users and groups or obtain them from another source.

Failed to change the active user repository: com.atlassian.crowd.exception.ApplicationPermissionException: \<html\> \<head\> \<title\>Forbidden (403)\</title\> \<script type="text/javascript"\>var contextPath = '';\</script\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1/_/download/superbatch/css/batch.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/22524088f010942a5902ab791e5e7530/_/download/contextbatch/css/atl.general/batch.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/5cf73a169fba05b27efe61e342f57769/_/download/contextbatch/css/jira.general/batch.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/c2e41f2cf09f8b3c8914470a6617682d/_/download/contextbatch/css/jira.global/batch.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0/_/download/batch/jira.webresources:old_header_resources/jira.webresources:old_header_resources.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.1.1/_/download/batch/com.atlassian.administration.atlassian-admin-quicksearch-jira:admin-quicksearch-webresources/com.atlassian.administration.atlassian-admin-quicksearch-jira:admin-quicksearch-webresources.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.3.16/_/download/batch/com.atlassian.plugins.atlassian-nav-links-plugin:rotp-projectshortcuts/com.atlassian.plugins.atlassian-nav-links-plugin:rotp-projectshortcuts.css" media="all"\> \<link type="text/css" rel="stylesheet" href="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0.54/_/download/batch/com.atlassian.jira.jira-quick-edit-plugin:quick-form/com.atlassian.jira.jira-quick-edit-plugin:quick-form.css" media="all"\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1/_/download/superbatch/js/batch.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/22524088f010942a5902ab791e5e7530/_/download/contextbatch/js/atl.general/batch.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/5cf73a169fba05b27efe61e342f57769/_/download/contextbatch/js/jira.general/batch.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/c2e41f2cf09f8b3c8914470a6617682d/_/download/contextbatch/js/jira.global/batch.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.1.1/_/download/batch/com.atlassian.administration.atlassian-admin-quicksearch-jira:admin-quicksearch-webresources/com.atlassian.administration.atlassian-admin-quicksearch-jira:admin-quicksearch-webresources.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.3.16/_/download/batch/com.atlassian.plugins.atlassian-nav-links-plugin:rotp-projectshortcuts/com.atlassian.plugins.atlassian-nav-links-plugin:rotp-projectshortcuts.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0/_/download/batch/jira.webresources:calendar/jira.webresources:calendar.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0/_/download/batch/jira.webresources:group-pickers/jira.webresources:group-pickers.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0/_/download/batch/jira.webresources:user-pickers/jira.webresources:user-pickers.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0/_/download/batch/jira.webresources:jira-fields/jira.webresources:jira-fields.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0.54/_/download/batch/com.atlassian.jira.jira-quick-edit-plugin:quick-form/com.atlassian.jira.jira-quick-edit-plugin:quick-form.js"\>\</script\> \<script type="text/javascript" src="http://toolbox:8080/s/en_UKoj6fl3-418945332/849/3/1.0.54/_/download/batch/com.atlassian.jira.jira-quick-edit-plugin:quick-create-issue/com.atlassian.jira.jira-quick-edit-plugin:quick-create-issue.js"\>\</script\> \<script type="text/javascript" src="/rest/api/1.0/shortcuts/849/3815f975fe2d57dcabaa886d670298c4/shortcuts.js"\>\</script\> \<meta name="application-name" content="JIRA" data-name="jira" data-version="5.2.6"\> \</head\> \<body id="jira" class="aui-layout" aui-style-default="" page-type-message="" data-version="5.2.6"\>  
\<header id="header" role="banner"\> \<nav class="global" role="navigation"\>  

![JiraTest](/images/icon-jira-logo.png) {#toc-hId-1845056893}
=============================================================

<br />

\</nav\> \</header\> \<section id="content" role="main"\> \<header\>

Forbidden (403) {#toc-hId--707100068}
=====================================

\</header\>  
<br />

Encountered a `403 - Forbidden` error while loading this page.

JIRA home

\</section\>

Hope you can help :)

Cheers and thx,

Andreas

<br />


Answers:
author: Andreas K.
body: Hi, thx for the reply.

I tried that but then finally found the answer through a Problem ticket:

Go to "Jira User Server" and add localhost, external IPs when creating the application for Bamboo. It worked now!

Cheers \& best,

Andreas

comments: author: Ivan Chehov
body: Helped me a lot!

Thanks!


author: ssetayeshfar
body: Hi Andreas,

Have you added an application from under administration -\> JIRA User Server as well?

If not, add it, restart you instances and check if the problem is fixed!

Hope this helps.

comments: author: Andreas K.
body: Hi, thx for the reply.

I tried that but then finally found the answer through a Problem ticket:

Go to "Jira User Server" and add localhost, external IPs when creating the application for Bamboo. It worked now!

Cheers \& best,

Andreas


Tags: integration

repository

user