youngmon/atlassian-qna huggingface dataset:
User permissions
Asked by Malvika Baru:

***++Question 1++***

How do I limit access/rights of users/members on my board from moving any card anywhere?

I want interactivity only in a few lists on the board (not all lists). I want certain lists to have restricted access (only admins can make changes to them so that they act only as informative sections).

**++*Question 2*++**

Also, in the other lists, I want members/observers to be able to move or comment on cards and not delete them.

Also, members and observers should not be able to play with list titles.

***++Question 3++***

Also, there's must be a way to customize list headers with an image or detailed description. I am unable to find all these functionalities.


Answers:
author: Dreamsuite Mike
body: ***++Question 1++***

*How do I limit access/rights of users/members on my board from moving any card anywhere?*

*I want interactivity only in a few lists on the board (not all lists). I want certain lists to have restricted access (only admins can make changes to them so that they act only as informative sections).*

<br />

The control of this by role is very limited. Observers can't do anything and board Members/guest can pretty much do everything.

You can use automation to retrospectively undo things members shouldn't have. Example:

```
"When a card is moved into list by anyone other than me, move it back and post comment, "@username, please don't try and move that again"
```

**++*Question 2*++**

*Also, in the other lists, I want members/observers to be able to move or comment on cards and not delete them.*

<br />

Similarly

```
"When a card is archived by anyone other than me, unarchive the card and post comment, "@username, please don't try and move that again"
```

*Also, members and observers should not be able to play with list titles.*

You can't stop members renaming lists but you can make sure lists are named correctly by a scheduled command similar to below:

```
every day, rename list "#1" to "Listname 1", and rename list "#2" to "Listname 2"
```

The #1, #2 etc... are how to call lists by position...

***++Question 3++***

*Also, there's must be a way to customize list headers with an image or detailed description. I am unable to find all these functionalities.*

<br />

You can use card covers and a little automation trick to achieve this, please check my response in this post:

<https://community.atlassian.com/t5/Trello-questions/Can-Trello-please-finally-add-the-ability-to-color-lists/qaq-p/2326576>
Automation butler error: "A possible loop was detected"
Asked by Andre Santos:

I have created the following rule and it is generating the error: A possible loop was detected.

```
when custom field "g-nm" is set, clear custom field "g-nm", lookup a card titled "{cardfirstmemberusername}" on board "Board Proc Ref v1", and post message "*<@{foundcarddescription}>*:\n\n{customfieldvalue} *<{triggercardlink} | Card {triggercardname}>* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation *{triggercardlistname}*." to Slack channel "#action-trello" in workspace "MyCompany" as Butler
```

I don't understand why, once I don't see any looping in it.

I tried moving clear custom field "g-nm" to the end of the rule, but the error continues. I don't have any other rule that is triggered by the field "g-nm". I do have other rules with actions to set g-nm custom field, but they are triggered by moving a card to a specific list.


Answers:
author: Dreamsuite Mike
body: Hi [@Andre Santos](/t5/user/viewprofilepage/user-id/5138717)

Your command looks sound to me

Are you sure the loop error is coming from this automation?

When there is a loop error, the error will report on all automations that cause it so it could be another automation.

There is no easy way to diagnose issues like this other than eliminating possibilities.

1 thing to try would be to disable the other automations so only this one is enabled and test it, then enable the others 1 by 1 until the error re-occurs.

comments: author: Andre Santos
body: Hi [@Dreamsuite Mike](/t5/user/viewprofilepage/user-id/5153180) ! Thanks for you answer. I was going to try what you said and the error was gone. I ran the automation and the other automations a few more times but the error didn't come up again. Then I created a new board when turned on the automations. After a few runs, I got the same Looping error then didn't get it again. Maybe it's a bug.


Tags: automation

error
How to allow customer to download attachment
Asked by Marco Rossi:

Hi,

I need to know if it is possible to allow a customer, that receive the email support from JSM, to download the attachments, without login into the portal. I would like to put the attachment directly in the email that he will receive, and not by clicking in the link that need to login to the portal.

Thank you in advance.

Cheers


Answers:
author: milynnus
body: [@Marco Rossi](/t5/user/viewprofilepage/user-id/5197285)

Any attachment link you provide directly to a 3rd party will require the recipient to be authenticated to get access to the resource. You have to provide a link that handles that on behalf of the recipient.

comments: author: Marco Rossi
body: Hi Milynnus,

thank you for your information.

Cheers.


Tags: jira-service-management
0 tests in total showing when tests are run
Asked by Mark Devine:

Hi

I'm new to Bamboo and was wondering if I am doing something wrong. I am seeing 0 test in total in the test results for tests that are run through a bash script. When I drill into a plan and choose a build (whether the build was successful or not) and I click on the tests tab I see Rest Results 0 test in total. I see the line "See detailed test results for Default Job" and click on the default Job link and I also get 0 tests in total and nothing showing in the tests table. If you click on failed tests you get "There were no failed tests in this build. " and if you click on Successful tests you get "There were no successful tests in this build. " When I click on configure job it has tasks that are scripts that return 0 or 1. What am I doing wrong? I want my tests to show.

Thx

A


Answers:
author: Marcin Gardias
body: In order to see test results in Bamboo you need to parse the results using appropriate task.

Go to you job configuration, click add task, click on 'Tests' to filter the list, choose the task that suits your needs (e.g. JUnit Test Parser) and configure it. Drag it down below the gray bar to make the task 'final' (final tasks run even if previous tasks fail)
Difference between local and remote bamboo agents?
Asked by haani:

The documentation says*"[Local agents](https://confluence.atlassian.com/display/BAMBOO/Creating+a+local+agent) actually run as part of the Bamboo server. Local agents run in the server's process, i.e. run as separate threads in the same JVM as the Bamboo server."*

What I am not clearly seeing defined is does this mean if you have unlimited local agents, you can run as many (different) plans in parallel as you want? (assuming you meet the system requirements)


Answers:
author: Mibex_Software
body: Hi,

You can run as many jobs in parallel as your server can handle in terms of memory/CPU when you are using local agents.

If you really want to scale, you are probably better of with using remote agents. But note that the number of remote agents is restricted by your chosen Bamboo license type.

Best regards,

Michael

comments: author: Mibex_Software
body: Also have a look at <https://confluence.atlassian.com/bamboo/bamboo-best-practice-system-requirements-388401170.html> where Atlassian recommends the usage of remote agents already for medium-sized teams with medium concurrency needs (10-20 plans).


author: dericleeyy
body: Hi Haani,

In theory, you can run unlimited amount of local agents. However, this isn't really recommended because the local agents runs within the same process as the Bamboo server.

Example, if your agents max out the resources on your server, it will affect the performance of your Bamboo server as well which may lead to crashing the server.

Best regards,  
Deric Lee

comments: author: Ajay Gupta
body: Multiple local agent, can I have simultaneous SSH connection across multiple local agents. Each SSH could be long running job?

thanks


Tags: bamboo-administration
Unable to get Maven version from /usr/share/maven/bin/mvn
Asked by jonesjalapat:

When i run the image atlassian/bamboo-java-agent in my machine it produces the following error

1. Unable to get Maven version from /usr/share/maven/bin/mvn
2. Could not find system variable. If you wish to use perforce please set the location as a capability.

How to solve these two errors

I later updated my maven to higher version 3.3 , but that is not reflected when i run the image as shown in the image.

Later i updated my maven to 3.3.3 but still when i run the Screenshot from 2015-11-05 00:17:25.png  
[](https://community.atlassian.com/t5/Bamboo-questions/Unable-to-get-Maven-version-from-usr-share-maven-bin-mvn/qaq-p/147504?attachment-id=7182){#link_1171bc1eb8707c}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/4730/1/Screenshot%20from%202015-11-05%2000%3A17%3A25.png){#display_1171bc1eb8707c_0}


Answers:
author: Timothy
body: Seen this before:

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


Tags: bamboo-administration
how to deploy build using bamboo for QA
Asked by deepali:

how to deploy build using bamboo for QA

The build had four MSI files that needs to be installed on multiple sever.

How can I do that with bamboo ?What version and features should bamboo have ?


Answers:
author: Timothy
body: ![](https://confluence.atlassian.com/bamboo/files/289277495/BambooDeploymentProjects.png)

Source: [Link](https://confluence.atlassian.com/bamboo/deployment-projects-338363438.html)
On host Bamboo, integration with jira in cloud.
Asked by vitaliybrutskiy:

We have test stage with bamboo(self-hosted), currently we use ip address(we don't have domain name for server yet) for access to bamboo server. And we have jira in atlassian cloud. We need to use Jira use database in our bamboo server. We try to connect it as it in docs, but it don't work for us.(( How we can configure that?


Answers:
author: dericleeyy
body: There is 2 things to watch out for when integrating with Atlassian Cloud:

1. Ensure that your instance is accessible via a public ip as mentioned.
2. Ensure that your Bamboo instance is accessible via standard ports HTTP (80) or HTTPS (443): <https://confluence.atlassian.com/display/Cloud/Restricted+functions+in+Atlassian+Cloud+apps>


author: Jonas Andersson
body: Are you using public ip space (i.e IP addresses routed on the internet) for bamboo, or internal (10.x.x.x/192.x.x.x/172.x.x.x) addresses? If external you should be able to just enter the public IP as hostname when setting up application links.

If you use internal IP's however, you will have to do port forwardning in your router/dsl-modem, stating that port 0.0.0.0:8085 -\> \<internal ip goes here\>:8085

Describe your setup in more details, and i might be able to help you further.
Bamboo 5.9.7 Breaks SSL Remote Agents? (Not just EC2 ones)
Asked by Inavero Purchasing:

I upgraded my standalone Bamboo server to 5.9.7 (bare metal hardware, no AWS/EC2 involved) because of security concerns as Atlassian recommended, but now none of my remote agents will connect.

I also upgraded the remote agents to the 5.9.7 agent jar. The catalina.out file on Bamboo is rejecting connections with the error:

```
2015-10-28 12:28:04,440 ERROR [ActiveMQ BrokerService[bamboo]?Task-3][TransportConnector]?Could not accept connection from tcp://192.168.75.1:49754: javax.net.ssl.SSLHandshakeException: no cipher suites in common
```

There is an [outstanding bug](https://jira.atlassian.com/browse/BAM-16506) for this if you are using SSL with EC2 elastic agents, which I am not.

Not sure what about upgrading to 5.9.7 caused the problem, the configs are the same as my 5.9.4 install I believe. Also I can't downgrade to 5.9.4 because bamboo throws an error about the data not being compatible between builds.


Answers:
author: Przemek Bruski
body: Two ideas:

1. maybe you re-ran install command on your remote agents (which you shouldn't have done) and nuked the extra config options required for SSL connectivity.
2. Maybe you've upgraded Java on the agent or the server?

comments: author: Inavero Purchasing
body: Thanks for the ideas but don't believe it's either of them

1. Didn't re-install the remote agents home dir, just dropped in the new jar. And only did that after the 5.9.4 agents weren't connecting to the 5.9.7 server. Both versions of the agent generate the same "no cipher suites in common" error when connecting to a 5.9.7 server
2. After upgrading Bamboo and the errors began happening, I upgraded to the latest Java (1.8u66) on both the server and the remote agents as a troubleshooting step, to no avail


author: Przemek Bruski
body: Please contact support and include the output of ps -ef from your agent machine.


Tags: bamboo-administration
Connect to Bitbucket repo on Bamboo build via composer
Asked by Kevin Matthews:

Hi,

I need ability to connect to our Bitbucket account on the bamboo build server that is fired up. Steps I have taken so far:

1. Logged on to initial build server and created a public/private ssh encrypted key
2. Created a 'shared credentials' on bamboo and added the private key to this
3. Created a 'deployment key' on Bitbucket for the repo i want to connect to, in this deployment key i have put the public key that I generated on the initial server

This doesn't give me access, i'm pretty sure what i'm doing above is incorrect, any suggestions?

Kevin


Answers:
author: Tim Crall
body: Do you need to connect from the Bamboo Server itself from a build agent running a build plan? Setting up SSH on the server will not automatically let an agent connect. What are you trying to do exactly?

This answer may help you: [how to run "git clone" in an inline script](https://answers.atlassian.com/questions/31669259)

comments: author: Kevin Matthews
body: We are running composer on our build server which installs a number of repo's from our private repositories.

The build server is an elastic agent and we have multiple ones, each time a build server is booted up its a brand new build server, so therefore there is no public/private key.

Therefore when we run composer to connect to our private repo there is no key to use in order to authenticate.

i want every build server we boot up to have access to our private repo via composer.

I thought using shared credentials was teh way forward for this but can't seem to get that.

Another way forward seems to be creating a EBS snapshot which has the private key on.


Tags: bitbucket

cloud
Unable to publish artifact - [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 411 Length Required
Asked by robertholma:

We are building an Android app with Bamboo. Everything works fine except that the Android .apk file cannot be published.

Looking at the agent log we can see the following:

```
INFO   | jvm 1    | 2015/10/30 10:16:06 | 2015-10-30 10:16:06,957 INFO [2-BAM::myagent.com::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Artifact Copier'INFO   | jvm 1    | 2015/10/30 10:16:07 | 2015-10-30 10:16:06,960 INFO [2-BAM::myagent.com::Agent:pool-5-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: PRO-APPANDROID12-JOB1-2INFO   | jvm 1    | 2015/10/30 10:16:07 | 2015-10-30 10:16:06,979 INFO [2-BAM::myagent.com::Agent:pool-5-thread-1] [AbstractArtifactManager] Publishing [APK] for PRO-APPANDROID12-JOB1-2: 6 file(s) matching [**/*.apk] in directory /home/user/bamboo-agent-home/xml-data/build-dir/PRO-APPANDROID12-JOB1/pro-android-app/build/outputsINFO   | jvm 1    | 2015/10/30 10:16:07 | 2015-10-30 10:16:07,007 INFO [2-BAM::myagent.com::Agent:pool-5-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandlerINFO   | jvm 1    | 2015/10/30 10:16:33 | 2015-10-30 10:16:33,575 INFO [2-BAM::myagent.com::Agent:pool-5-thread-1] [BambooArtifactHttpTransport] Finished writing the artifact to the output stream.INFO   | jvm 1    | 2015/10/30 10:16:33 | 2015-10-30 10:16:33,577 INFO [2-BAM::myagent.com::Agent:pool-5-thread-1] [BambooArtifactHttpTransport] Content-Description: Artifact [APK] for PRO-APPANDROID12-JOB1-2X-Bamboo-AuthenticationToken: 02c5c41easdcf2cbfcea8558a322104e11255f065INFO   | jvm 1    | 2015/10/30 10:16:33 | 2015-10-30 10:16:33,578 ERROR [2-BAM::myagent.com::Agent:pool-5-thread-1] [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 411 Length RequiredINFO   | jvm 1    | 2015/10/30 10:16:33 | 2015-10-30 10:16:33,578 INFO [2-BAM::myagent.com::Agent:pool-5-thread-1] [AbstractArtifactManager] Handler com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler did not publish the artifactINFO   | jvm 1    | 2015/10/30 10:16:33 | 2015-10-30 10:16:33,581 WARN [2-BAM::myagent.com::Agent:pool-5-thread-1] [AbstractArtifactManager] Unable to publish artifact [APK]:
```

I guess the problem is related to this log entry:
>
> ```
> [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 411 Length Required
> ```

What could be wrong?


Answers:
author: Przemek Bruski
body: The reverse proxy you're fronting your Bamboo server with does not support chunked encoding or is not configured to accept chunked encoding. Either fix that, or point the agent directly at the Tomcat port of your Bamboo server (you can edit the URL in bamboo-agent-home/conf/wrapper.conf)
What outbound connectivity does the stock "Ubuntu elastic image" require?
Asked by drewk:

I'm trying to use the stock "Ubuntu elastic image" inside of a VPC/Subnet with no outbound Internet connectivity (ie no IGW).

The logs show that it's failing though they don't clearly indicate what traffic I need to allow:

```
ec2-user@ip-x-x-x-x:~$ tail -fn900 /home/bamboo/bamboo-elastic-agent.out2015-11-03 01:59:41,893 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-ap-se2/5.9.7/b3f798xxx/ to /opt/bamboo-elastic-agent2015-11-03 01:59:45,605 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-ap-se2/5.9.7/b3f798xxx/ to /opt/bamboo-elastic-agent2015-11-03 01:59:45,606 INFO [main] [AmazonClients] Detecting bucket location for [bamboo-agent-release-ap-se2]2015-11-03 02:00:16,500 INFO [main] [AmazonHttpClient] Unable to execute HTTP request: connect timed outjava.net.SocketTimeoutException: connect timed out
```

After reading the following question <https://answers.atlassian.com/questions/31678612/what-outbound-traffic-requirements-does-bamboo-have-for-its-elastic-bamboo-feature> I'm assuming we'll need something like this allowed out from the agent:

```
*.amazonaws.com# or maybe *.s3.ap-southeast-2.amazonaws.com# or maybe foo.s3.ap-southeast-2.amazonaws.com
```

I'm not clear however on the exact requirement, i.e:

* What endpoints do I need to allow out (all aws, all s3, just one particular s3 bucket?)
* Is just http, or just https, or both required?


Answers:
author: Przemek Bruski
body: You need HTTPS access to S3, single bucket, depending on your region.


Tags: bamboo-administration

elastic-agent
bamboo permissions
Asked by Jerry Thomas:

As an administrator I have created a build and deployment project.

I have created groups for people that "admin" and "edit" the plans.

I have give those groups appropriate access permissions and disabled all other options.

"Logged in users" have no permissions set

"Anonymous users" have no permissions set

Why can't a member of the admin group created above even see the project?

My goal here is to create a projects/plans that only people in the groups can see.


Answers:
author: Jerry Thomas
body: Groups in Bamboo are case sensitive. Fixed by applying the appropriate case.


author: rverschoor
body: Check the "Administration \> Global permission" settings.  
If a user or group doesn't have the correct permissions here, it doesn't matter if you grant it in the Plan permissions.


Tags: bamboo-administration
Do build plans run on the same agent if that agent is available?
Asked by Tomer Chasid:

We are in the midst of finding ways to dramatically improve our build times. Choosing agents that have previously built the same build/branch plan is key to the effort. There has been questions on whether or not the concept of affinity is built into Bamboo server, but the evidence isn't strong one way or the other. In other words, sometimes it appears to prefer building the same branch plan on the same agent, but other times it appears random even when the previously "preferred" agent is available. Are there other elements in play that we are not considering?


Answers:
author: Marcin Gardias
body: Currently Bamboo does not support agent affinity. When an agent is free it picks up the first job from the queue that it is capable of building. The only way to affect which jobs are built by which agents is through capabilities and agent assignments.

Building better queuing algorithms, including affinity and prioritisation is something we have in mind, but there are no concrete plans of implementing that feature in near future.


Tags: bamboo-administration
Bamboo service failing to start
Asked by shruti daga:

<br />

Please find the log  
atlassian-bamboo.log  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/6323/1/atlassian-bamboo.log){#display_1168010e80560c_0}


Answers:
author: rverschoor
body: From the log:

```
D:\Data\bamboo-home\xml-data\configuration\administration.xml (Access is denied)?Could not save setupType:com.atlassian.config.ConfigurationException: Couldn't save bamboo.cfg.xml to D:\Data\bamboo-home directory.
```

Looks like the account that is running Bamboo doesn't have sufficient permissions.

BTW you're running Bamboo 4.2.1 which is more than 3 years old.   
You might want to consider upgrading to a more recent version.