youngmon/atlassian-qna huggingface dataset:
bamboo log files - what can be logged?
Asked by Anne Brock:

Would like to know all the parameters for the server log and for the remote agent log (log4j.properties) I don't have access to a system.


Answers:
author: Anne Brock
body: Hi, Malik - I saw that page, but it wasn't very specific about what gets logged, in particular around user setup/access. For example, adding/changing/deleting users - is that logged? when they log in or out, is that logged? if their login fails, is that tracked? how long are logs kept?


author: Malik
body: Hi Anne,

For your convenience, as specified in <https://confluence.atlassian.com/display/BAMBOO/Logging+in+Bamboo>

I hope this helps.
Encrypt - data at rest ; sensitive information
Asked by Anne Brock:

Filling out a security spreadsheet; they have two questions - one about does the product have encryption at rest? if so, details on encryption algorithm. The other question is if the product uses a database, does it support database encryption? For both q's, they are asking if not supported now, when will it be supported? This is for Crowd, BitBucket, Bamboo and HipChat. I assume for Bitbucket IronGit can be used; for the others, looks like they don't have it in the product. But could they use the database encryption?


Answers:
author: evzijst
body: I cannot speak for all products, but Bitbucket Cloud does not currently apply encryption at rest.

While it is true that one could use something like IronGit to encrypt all repo contents, but that would make Bitbucket itself unable to read it, making pull requests and other services unusable.

comments: author: Anne Brock
body: thanks... guess I don't understand IronGit! good to know.


Tags: bitbucket-administration

crowd

hipchat-server
How do I upgrade Bamboo Cloud
Asked by davehiggins:


Answers:
author: davehiggins
body: Badly worded question. What I meant was upgrade your Bamboo Cloud plan rather than the software itself. Atlassian obviously took away the ability to change between tier plans as they are discontinuing the product. That is fine except that they are not discontinuing it for another 6 months and we were hitting limits on our current plan. I would switch to Pipelines beta but it only supports Java builds ATM. We could also switch to Bamboo Server but we do not ant the overhead of server management for something that is perfect as a SaaS/PaaS application.


author: Nic Brough -Adaptavist-
body: You don't.

Cloud systems are maintained and upgraded by Atlassian on their release schedule. You don't have to do anything.

That said, Bamboo Cloud is being deprecated in favour of Bitbucket pipelines, so you can expect upgrades to stop anyway, as the Bamboo team will only be doing Server versions from now on.


Tags: cloud
Configure proxy for Git operations in Bamboo?
Asked by Charlie Misonne:

My setenv.sh file contains some proxy settings:

```
JVM_REQUIRED_ARGS="--Dhttp.proxyHost=proxy.host.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.host.com -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts='localhost|127.*|[::1]|*.host.com ' -DcvsClientLog=system"
```

Normally we use an internal Stash as VCS. For one project we need a bitbucket.org cloud hosted git repo.

I successfully added this one as a linked repository. Bamboo lists the available branches...

However when I set up a polling build trigger using the bitbucket.org repo I get: **unable to detect changes, unknown host bitbucket.org**

Should I set the HTTP_PTOXY and HTTPS_PROXY environment variables somewhere in the startup script? Or what is the best way to approach this issue

*Bamboo: 5.9.10 on RedHat*   

<br />


Answers:
author: Christian Glockner
body: Hi Charlie,

If you're using proper git (rather than jgit), then the git process runs outside the JVM, therefore the Java properties you have defined in `setenv.sh` will be ignored. Setting a proxy server for git requires you to run `git config`, see [this thread on StackOverflow](http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server).

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Charlie Misonne
body: yes we are using regular git.

Are the environment variables no alternative to git config?

On the linux system we have the environment variables. When I start Bamboo as non-service I don't get the unknown host error. That's why I think adding them to the service script should solve the problem


author: Christian Glockner
body: Hi Charlie,

Actually, you're right, I just checked the [documentation for git](https://git-scm.com/docs/git-config) and it appears the the `HTTP_PROXY` and `HTTPS_PROXY` environment variables take precedence if they're set.

Edit:

That means that if the variables aren't set globally in `/etc/environment`, you can set them in `<BambooInstallationDir>/bin/setenv.sh`.

Cheers,

Christian

Premier Support Engineer

Atlassian


author: Charlie Misonne
body: Ok, thanks! :smile:


Tags: bamboo-administration

proxy
In Bamboo, how can I prevent others from creating build plans under my build project?
Asked by Tom Allen:

We have several teams using Bamboo. In theory, each team creates and uses their own build projects. Occasionally someone mistakenly selects the wrong project for their new build plan. We were contemplating dedicating some agents to specific build projects, but we can't find a way to restrict who can use which project. Is there a method by which we can restrict which build projects a user may select when creating a build plan?


Answers:
author: Alexey Chystoprudov
body: Hello @Tom Allen,

There is feature request for permission scheme on project level: <https://jira.atlassian.com/browse/BAM-2677> , leave your comment and vote for it
unable to execute Inject Bamboo variables
Asked by Rajesh Kumar:

I have created a build project with Inject Bamboo variables.but it is throwing following error while execution.

No unique bean of type \[com.atlassian.sal.api.message.I18nResolver\] is defined


Answers:
author: Christian Glockner
body: Hi Rajesh,

Since you're using Bamboo 5.8.1 and the bug is resolved in Bamboo 5.9, I suggest upgrading to that or a newer version of Bamboo to resolve the problem.

Cheers,

Christian

Premier Support Engineer

Atlassian


author: Rajesh Kumar
body: I am using BAMBOO 5.8.1


author: Christian Glockner
body: Hi Rajesh,

Unfortunately you don't say which version of Bamboo you're using, but based on the error message it looks like you may be running into a known bug: <https://jira.atlassian.com/browse/BAM-15580>. Looking at the description it seems that this error may occur if the variable injection task is not configured correctly, or perhaps also if the file that contains the variables is not accessible.

Cheers,

Christian

Premier Support Engineer

Atlassian
Projects with many subprojects
Asked by TriCore:

I am working on a project which has many sub projects (about 1000). Every sub-project is basically a java package in the main project. Every sub-project should create a separate jar because they must be versioned differently. Here is the structure

main-project

src/main/java/

com/bla/bla/subProject1

com/bla/bla/subProject2

com/bla/bla/subProject3

com/bla/bla/subProject4

com/bla/bla/subProject5

...

...

Creating one job/task for every project cannot be created manually (at least I am not doing it). How should I setup a job plan to setup continuous integration on all the sub projects? What ya guys think?


Answers:
author: Rich Duncan
body: Assuming you're using Maven or Gradle to script the build and deal with dependencies - the project struture could be accomodated although you might want to refactor the code to conform to the standard structure to save some configuraiton.

There are a number of advantages to a single build with modules/subprojects:

1. A single biuld plan versus 1k plans
2. Space savings (only one workspace versus 1k workspaces)
3. Better handling of inter subproject dependencies

The single con is the time it might take to run through all of the modules/subprojects. In addition to the build avoidance baked in to Maven and Gradle, you might want to looking to parallelizing the build - a feature available in both tools.

Hope this Helps!

-Rich


Tags: java

maven
Hi, We want bamboo to deploy on a schedule, provided there have been changes. But in bamboo if I set a schedule trigger for deployment it creates a new release and deploys - even when there were not any changes.
Asked by nagaraju yekkala:

*This question is in reference to Atlassian Documentation: [Managing deployment projects](https://confluence.atlassian.com/pages/viewpage.action?pageId=351764927)*

*We want bamboo to deploy on a schedule, provided there have been changes. But in bamboo if I set a schedule trigger for deployment it creates a new release and deploys - even when there were not any changes.*


Answers:
author: Steffen Opel _Utoolity_
body: Unfortunately this option is not available yet - please watch and vote for the following issue(s) to increase Atlassian's awareness for this notable limitation:

* <https://jira.atlassian.com/browse/BAM-14311>
* (related) <https://jira.atlassian.com/browse/BAM-17536>


Tags: bamboo-administration
can't connect to bamboo server
Asked by guy moore:

I get this in the log file when I try to connect to our test bamboo server: <http://bamboo002.hq.viviport.com/:8085>

```
2016-06-28 16:07:15,478 INFO [http-nio-8085-exec-12] [AccessLogFilter] 192.169.0.163 GET http://bamboo002.hq.viviport.com:8085/ 940816kb2016-06-28 16:07:15,484 WARN [http-nio-8085-exec-12] [AuthorizationLoggerListener] Authorization failed: org.acegisecurity.AccessDeniedException: Access is denied; authenticated principal: org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken@9055c2bc: Username: anonymousUser; Password: [PROTECTED]; Authenticated: true; Details: org.acegisecurity.ui.WebAuthenticationDetails@b364: RemoteIpAddress: 192.169.0.163; SessionId: B6BC99F149266F3F5C635F1274EEA79E; Granted Authorities: ROLE_ANONYMOUS; secure object: com.atlassian.bamboo.webwork.StarterAction@55e1aabb; configuration attributes: [WW_READ, GLOBAL_READ]2016-06-28 16:07:15,495 INFO [http-nio-8085-exec-13] [AccessLogFilter] 192.169.0.163 GET http://bamboo002.hq.viviport.com:8085/userlogin!default.action?os_destination=%2Fstart.action 940226kb
```

I don't even get a login screen, but instead get:

This site can't be reached {#toc-hId-1678842970}
------------------------------------------------

**[bamboo002.hq.viviport.com](http://bamboo002.hq.viviport.com)** refused to connect.

Since I get errors in the log file, I clearly have connected, albeit briefly, to the bamboo server.

I had started bamboo up yesterday and logged in with a local user account and installed a stash-destined plugin into bamboo, by mistake. The "upload" failed, as it should. Then I shut down the bamboo server.

Today, I started bamboo up again, but I cannot connect, and I believe nothing has changed in the world since yesterday.

I then proceeded to upgrade bamboo software from 5.9.1 to 5.12.2.1, hoping that would fix something. It didn't.

I have our test Bitbucket server on the same machine, and have no problem browsing from my laptop to <http://bamboo002.hq.viviport.com:7990/>

I have no idea what could be wrong. Is there something in the postgresql database that I need to change?

Is there a setting in the setenv.sh that needs to change.

I'll take any advice as I am at wit's end.


Answers:
author: guy moore
body: I can connect via telnet to port 8085 on the bamboo machine:

$ telnet localhost 8085  
Trying 127.0.0.1...  
Connected to localhost.  
Escape character is '\^\]'.


Tags: bamboo-administration
I think I have an ssh-problem (Bamboo)
Asked by Hermes Austria IT:

Error-Message: This error may have occurred due to an authentication issue with Bitbucket Server. [Save the repository configuration](http://bamboo.hlgat.lan:8085/admin/configureGlobalRepositories.action?repositoryId=393217) to refresh the authentication details.  
(28 Jun 2016, 9:25:38 AM, Occurrences: 4)  
What ever I do (change ssh-keys, I have already set up BitBuckert and Bamboo again). I have already studied the documentary, but everything is looking correct.  
Have you got any ideas? You can answer me in English or German.  
Thank you very much  
Chris


Answers:
author: SidduAngadi
body: This is bug we identified in 5.X version of bamboo. Whenever you change permission used for your reposiotry connection. You need to refresh the repository configuration even there is no change.

Go to link repository and open linked repo and click on save even thought there is no any change.

Samething u need to do for Plan--\>Repository. Just click on save button, even though there is no any change.

Then your plan should works fine.
How to update the Bamboo from evaluation to starter license when having more than 10 jobs?
Asked by Gilberto Torrezan:

Hi,

I was using an evaluation license of the Bamboo server, and after it expired, I purchased a starter license to use with my server. The problem happens when I try to save the new license key: an error message appears and blocks me from saving it:
> You currently have **11** jobs configured and the new license only allows **10** jobs. To continue updating your license you will need to remove **1** job or reduce the number of branches you are using..

Right, I really have a job with too much branches that I no longer use, and I cloud remove without problems. But... Wherever I click, I return to the license expiration page, which I can't save due to the 11 jobs.

So I can't save the license key because I have too much jobs configured, but I can't remove the jobs because the system doesn't allow me to leave the license page until I save a new license key.

What can I do?


Answers:
author: Steffen Opel _Utoolity_
body: Unfortunately you seem to be affected by a presumably trivial bug in how Bamboo handles this edge case, which Atlassian hasn't managed to address in almost two years:

* <https://jira.atlassian.com/browse/BAM-14756>

That being said, I highly recommend to simply contact Atlassian's support (specifically via the [Purchasing \& Licensing](https://www.atlassian.com/company/contact/purchasing-licensing) help portal) and am fairly confident that they will be able to help you out of this catch 22 quickly (for example by handing out a 1 remote agent license that is valid for a few days only).

### Workaround {#toc-hId-1482416707}

Alternatively, if you would rather proceed as fast as possible yourself, the workaround mentioned in the referenced issue is also reasonable, provided you haven't exhausted your evaluation limits yet:
> Generate a new Eval license from [my.atlassian.com](http://my.atlassian.com), swap in the new license, remove the plans, switch back to the non-eval license.


Tags: bamboo-administration
Setting up a Bamboo customised build that will display all variables that should be populated
Asked by ABA:

Hi,

When defining a Bamboo plan, we can define plan variables and when running the build, we can select Customised Build and then enter values for plan variables.

The problem is - when you go to the page to add the customized variables, you have to explicitly click a link to add the variables and you have to do it as many times as the number of variables defined and every time, select the variable from the drop-down. This becomes very cumbersome, and definitely, not user-friendly. In today's state of software, this appears to be very old approach.

I am very new to Bamboo, or any of the Atlassian tools, so I thought I may not know how but there maybe a way that others can guide me on.

So, my question is : How can I set-up the plan so that when someone clicks Run Customised Plan, when they are shown the page where they have to enter the values, it shows the complete list of variables that they have to give values for, on the page, without all the clicks.

Is it possible out of the box, without any custom development ( I do not have access to modify the local implementation of the tool ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad"), and the admin team is not equipped to do the customisations ) with any settings to achieve what I am dreaming about?

Thanks


Answers:
author: Rich Duncan
body: Not exactly what you are looking for, but could you use the following plugin:

<https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin/server/overview>

You could might be able to maintain a number of property 'sets' in different files - for different environments. Here the advantange is that the properties are part of your code (configuraiton as code)...

Hope this helps

-Rich

comments: author: ABA
body: Property sets will not work. We have to execute this plan for over 600 times changing these parameters. it will be a nightmare to manage / maintain those as well as accesses to create / update the files.


author: ABA
body: I am also curious, while doing the UI design, why were these aspects not taken into consideration?


author: TriCore
body: Any luck?


Tags: plan

variable
Multiple agents (separate servers) are not able to be configured on Environment
Asked by shrogersd:

I configure a deployment plan, added an environment, and setup two remote agents, each on separate Servers (Adobe and Application). Components need to be deployed on both servers for every deployment.

Under the environment I created Tasks. One for Adobe server and One for Application server)

When I config the Adobe Task I had to Disable the Application Task and vice versa. I'm getting the error "No agents meet the Environments's requirements."


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: If the deployments have different requirements, it will need different agents. And you won't be able to run both jobs together in a single agent.

Your options?

1. See if you can create an agent that satisfies the requirements for both deployments
2. Check options to run different deployments. Why run in a single environment?

comments: author: shrogersd
body: Thank you for your quick response.

We do have separate agents for the Deployment.

Environment - UAT

* Task
  * Deploy Adobe code - (Server A - AgentA)
  * Deploy Main App - (Server B - AgentB)

Both agents work fine when run individually but I get the error "No agents meet the Environments's requirements." when both are enable.

Any assistance given will be appreciated.


author: Jobin Kuruvilla [Adaptavist]
body: That is exactly the problem. You have 2 agents, not 1. When there are two agents, each with different capabilities, your task won't run any of them because the task requires capabilities from both agents.

Bamboo checks all the tasks in the environment before an agent is chosen.


author: shrogersd
body: Good morning Jobin. This is a flaw in Deployment. The Build section has Stages-\>Task which makes it easier to use multiple agents.

In a Deployment, Bamboo should realized that there would be multiple Servers with multiple agents.

Do you have any idea how I can resolve this issue?

Any assistance given will be appreciated.

Thank you.


author: Jobin Kuruvilla [Adaptavist]
body: I can only think of the two options I mentioned earlier.


author: shrogersd
body: Thank you very much for your assistance.
impossible to publish artifacts for,java.io.IOException:missing artifact
Asked by jaanvivek:

I am running a plan in Bamboo with correct source repository but getting below error in step \[ivy:\]

BUILD FAILED

Error- build_comman.xml:894 :impossible to publish artifacts java.io.IOException:missing artifact.

I checked modeule name and project name is same in ivy.xml and build.xml. The same plan was running fine few months back, but now throwing this error and failing.


Answers:
author: jaanvivek
body: We found the root cause of this issue. There was and prefix "prd" added in environmentprefix="prd" in \<create_ear_macro .../\> in build.xml.
GIT support in Bamboo agent using JGIT
Asked by Murali Mohan Rath:

Few of my Linux remote bamboo agent does not have native git installed. It is a pain to get it installed because of some corporate restrictions in place. I know that Bitbucket has git support via jgit, could someone please help me how to enable git via jgit for these remote agents?

NOTE: I would still like to use native git for other remote and local agent. Just for few specific remote agents I can't install git.


Answers:
author: Przemek Bruski
body: Bamboo will automatically use jgit if you don't define native git capability for the agent.


Tags: bamboo-administration

remote-agent
Automation creating new IssueType and copying information over from first Issuetype (two projects)
Asked by Ian Robinson:

Hi,

I am trying to figure out how to make an automation that would do the following:

IssueType1 has all customfields

Some customfields have multiple choice so i want to take the value and copy that over to IssueType2

IssueType2 is in a different project which is Product Discovery

When IssueType1 is created then Create new IssueType2 in a different Project

Then copy customfields from IssueType1 into IssueType2


Answers:
author: Eugenio Onofre
body: Hi [@Ian Robinson](/t5/user/viewprofilepage/user-id/5277555)

Unfortunately there is no default functionality from Jira that would allow you to achieve the desired behavior.

One possible option would be creating a custom script and interacting with Jira APIs, but this would require external development.

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
C?mo elimino un miembro de mi entorno free?
Asked by Veronica:

Necesito eliminar un miembro de mi entorno free porque ya no trabaja con nosotros. C?mo se hace?


Answers:
author: Trudy Claspill
body: Hola [@Veronica](/t5/user/viewprofilepage/user-id/5409789) ,

Bienvenido a la comunidad Atlassian.

?Puedes acceder a <https://admin.atlassian.com>?

?Puedes entonces seleccionar Directorio y ver una lista de usuarios?

Haga clic en el usuario al que desea eliminar el acceso.

Luego haga clic en el bot?n... en la esquina superior derecha y seleccione Eliminar usuario.

Aparecer? una ventana emergente que le pedir? que confirme que desea eliminar al usuario.

---

Hello,

Welcome to the Atlassian community.

Can you access <https://admin.atlassian.com>?

Can you then select Directory and see a list of users?

Click on the user for whom you want to remove access.

Then click on the ... button in the upper right corner and select Remove User.

You will get a pop-up asking you to confirm that you want to remove the user.
> How do I remove a member from my free environment?
>
> I need to remove a member from my free environment because it no longer works with us. How is it done?


Tags: cloud

jira-service-management

jira-service-management-cloud
Is there an option to link the Board created seprately on a JSM Company Managed Project
Asked by Rompicherla Kalyani:

Is there an option to link the Board created seprately on a JSM Company Managed Project

I have created a board with a saved filter.

Need to locate it on a JSM projects, but under locations option there is JSM project coming up.

Is there a way to implement this?

Please throw some light, if anyone did this.

Thanks.


Answers:
author: Jack Brickey
body: Hi [@Rompicherla Kalyani](/t5/user/viewprofilepage/user-id/5254132) , the only option would be to create a shortcut link on your side bar. This will still certainly work for all parties. If you share the filter and board, however it does redirect you from the project page. of course there is the new built-in board option, but it may not work for your specific needs depending on what your filter looks like.

comments: author: Rompicherla Kalyani
body: [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)

I have already linked the shortcut from my JSM project.

As I see the in built board feature is available for JSM as well.

Just trying to understand if there is any work around for configuring board with required filter.

Seems, its not possible for now.

Thanks for the reply.


Tags: board

cloud

jira-cloud

jira-service-management

jira-service-management-cloud

jira-software