youngmon/atlassian-qna huggingface dataset:
How to search for comments on Trello (not just cards)?
Asked by Sara Ausdemore-Matteo:

Looking to have a view in Trello for new comments made in the last week, preferably sortable by the date the comment was made and/or the person who made the comment.

Per the "[How to search for comments on Trello (not just cards)](https://community.atlassian.com/t5/Trello-questions/How-to-search-for-comments-on-Trello-not-just-cards/qaq-p/616607)" thread this topic has been a question/desired Trello feature since 2017??


Answers:
author: Lara
body: Hi Sara,

Thanks for reaching out!

To search for comments made in the last week, you'll want to use the **edited:week** search operator, in combination with **comment:keyword** . The will surface all cards edited within the past week, as well as match the keyword you've used for the **comment:** search operator.

More on that here: <https://support.atlassian.com/trello/docs/searching-for-cards-all-boards/>

With that said, unfortunately, the search results won't directly show you the matched content in the search window. You will need to click into each card to see the card comments.

I understand that it would be helpful if you could see that matched comment within the search window, so I've flagged this as a feature request with the product team.

Please let us know if you have any other questions, and we'll be happy to help.

All the best,

Lara  
The Trello Team

comments: author: Sara Ausdemore-Matteo
body: Hello Lara,

Thank you for your feedback. When I was initially playing around with the "edited:week" search it was pulling in any cards I had clicked on/opened, regardless if I had left a comment or not. I will try to use this search option and see if that issue persists, because seeing cards that were opened but not commented does not meet my needs.

I am still surprised that searching for ***recent*** ***comments*** and not ***cards*** seems to be a requested feature for several years now. Where/when can the Trello community expect to have an update on implementing this feature please?

Thank you,

Sara


author: Lara
body: Hi Sara,

Hmm, just to confirm, are you also using the **comment:**search operator in your search?

In my testing, when I search for "edited:month comment:test", it only shows me cards that were edited in the last month *and* have a comment that includes the word "test".

As for an update on the feature request, I'm afraid I'm not able to provide an ETA as to when/if this feature would be available. Rest assured, we're tracking this request internally and our team is aware you'd like to see this feature in the near future.

Please let us know if you have any other questions, and we'll be happy to help.

All the best,

Lara  
The Trello Team
Best practices for handling maven -SNAPSHOT artifact deployment in Bamboo with automatic branch detection?
Asked by John Knight:

Using Bamboo 4.1, we have a number of common artifacts building and deploying to our local maven repository server for use in dependent plans; eg. java-common and java-core plans produce java-common-SNAPSHOT and java-core-SNAPSHOT artifacts, for use in java-planA and java-planB.

However, when ABD is enabled against a central Git remote, the branch (say java-common-featurebranch) deploys the -SNAPSHOT again, resulting in a potentially incompatible -SNAPSHOT jar dropping to maven, and leading to downstream build issues.

Obviously, this _could_ be handled by enforcing policies in which branches are required to update the POM to reflect a different artifact handle, or by ensuring that downstream builds rely on non-SNAPSHOT artifacts, but both of these solutions seem creaky.

How does Atlassian, or any other group that sees this question handle situations like this? I figured I'd ask before filing an improvement request in JAC, since it seems like this can't be an uncommon situation, and someone may have a clever solution.

Ideas I've tossed around:

* Policy enforcement
* Tasks to rewrite the POM on the fly
* Manual execution of mvn deploy stages
* Enhancement request :)

Anyone have better solutions? It seems like there's a couple open BAM issues that might start to lead to a solution, including BAM-10804, but there's still some definite magic that would have to occur inside Bamboo's mvn plugins to improve this.


Answers:
author: James Dumay
body: How about specifying a different version for your maven project based on the branch name? With 4.2, we added the bamboo.branchName variable so passing the following to the Maven via the Goals field on the Maven task should work

```
-Dproject.version=${your_project_version}-${bamboo.branchName}-SNAPSHOT
```

comments: author: John Knight
body: You guys always seem to have a release that solves a need shortly after I find the need. Cheers!


author: James Dumay
body: Glad to hear it! Hope this works out for you.
Remote agent not honoring the -Dhttp.nonProxyHosts parameter
Asked by Babak Habibi:

We have a remote agent behind an HTTP proxy server. The http(s).proxyHost and http(s).proxyPort are configured so we can check-out source code from BitBucket.

The agent doesn't need to go through the proxy server to contant the Bamboo server and the http.nonProxyHosts has been configured accordingly.

However it is still attempting to connect to the Bamboo server through the proxy, namely when trying to send an artifact:

Failed to execute plugin 'Artifact Copier' with error: java.io.IOException: Unexpected HTTP status code: 501 Not Implemented


Answers:
author: Renan Battaglin
body: Hi Babak,

Currently Bamboo supports **proxyHosts** and **proxyPort**.

I've created the following Improvement Request so that nonProxyHosts can also be supported:

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

Regards,

Renan
How to have the Ondemand interface with Download version?
Asked by Keaven Martin:

Hello,

It's possible to know how to get the Ondemand interface in the Download version?

I'm using Jira, Confluence, Bamboo, FishEye/Crucide, GreenHopper, ...

When I talk about interface, it's for the header tabs and the all-in one.

Thanks


Answers:
author: NikE
body: The header bar / the 'OnDemand (UI) experience' is currently not available for the downloadable versions of our apps. While you cannot setup the OnDemand UI, you can setup most of the linked functionality with AppLinks:

<https://confluence.atlassian.com/display/APPLINKS/Application+Links+Documentation>


Tags: user-interface
Bamboo build added another random directory under home/xml-data/build-dir directory
Asked by -:

Our Bamboo server adds another random sub directory at each day and puts all the build under that directory instead build-dir directory.

Since the directory structure is really important for our system, I would like to know how to disable or enable this feature/bug,

Kind Regards,


Answers:
author: Przemek Bruski
body: I am guessing you have multiple local agents. Each local agent has a separate directory. If you want them to share directories, you have to disable concurrent builds in Bamboo setup.
Local VMWare instances
Asked by Bilge Taylan Ulusoy:

Hey there,

are local VMWare instaces are counted as remote agents? For example: I've installed Bamboo on my dedicated root server. On the same server I want to run a Virtual machine as bamboo build agent. So I'd like to know if this "virtual" build agent is counted as local or remote agent, since they're on the same machine.

Thanks in advance


Answers:
author: Przemek Bruski
body: It will count as a remote agent. Only agents run within Bamboo Server's JVM count as local.

comments: author: Bilge Taylan Ulusoy
body: Thanks for the fast answer


author: PiotrA
body: Hi Bilge,

It will be counted as 'remote agent' - the 'local agent' is a built-in agent into Bamboo server, so it's sharing JVM and resources with the Bamboo server. All other agents that are connecting to the Bamboo server (no matter of their physical location) are counted as 'remote'.


Tags: agent

build-agent

vmware
Setting up bamboo instance with LAMP
Asked by Jesus Rodriguez:

Hi all,

I'm interested on run few commands to setup a database on a bamboo instance before run the tests of my application.

I tried setting up an script in the tasks section of a Plan, but I received an error (seems that these scripts run with no tty)

Is there any way to install these packages (php-pdo, mysql-client, some pear packages,...) before start the test suit? Any other suggestion?

Thanks,


Answers:
author: Przemek Bruski
body: We use the following instance setup script (you can paste it via Administration-\>Image Configuration-\>Edit) to run Bamboo EC2 tests on MySQL:

#!/bin/sh  

export PATH=/sbin:/bin:/usr/sbin:/usr/bin  

install()  
{  
yum install -y mysql-server  
service mysqld start  
/usr/bin/mysqladmin -u root password ''  

cat \>\> /home/bamboo/bamboo-capabilities.properties \<\< EOF  

custom.database.type = MySQL  

EOF  

}  

install \>/tmp/startup.log 2\>\&1


Tags: cloud
Bamboo ignore git commit during build
Asked by Keith Miller:

So, during the build and deploy process, we generate a Git commit on a successful build. The problem is that Bamboo sees that commit and decides to run the build again. Is there any way to have Bamboo ignore commits made during the build? Thanks


Answers:
author: Keith Miller
body: Ah, I see the "Exclude Changesets" option. I'll use that.

comments: author: PiotrA
body: ...and I recall admin user could exclude all the changes containing a certain commit message somewhere in the admininistration panel (since Bamboo 4.0 or 4.1 - I'm not sure which). Might be handy.


Tags: git
Automatically attach EBS volumes in Windows
Asked by Neil Wheeler:

Can anyone give me some pointers arround using this feature with Windows images. All of the docuemtation I can find refers to linux (<https://confluence.atlassian.com/display/BAMBOO/Configuring+elastic+instances+to+use+the+EBS>)

Specifically I'd like to checkout my svn repo to an EBS snapshot and have that mounted and used by Bamboo to prevent having to do a full checkout each time.

Thanks.


Answers:
author: Przemek Bruski
body: Bamboo does not support handling of EBSes under Windows. You have to store credentials on your instance and attach them manually. There's an improvement request open for that [here](https://jira.atlassian.com/browse/BAM-10089), please watch and vote

comments: author: Neil Wheeler
body: Ok. Do you have any docuemtation on how to achive what you suggest?

I wish the documentation could make a better distinction between windows and linux for bamboo. It always reads as though Windows was an afterthought.

Also a better distinction between OnDemand and Download would help.


author: Przemek Bruski
body: This looks like a decent writeup: <http://theburningmonk.com/2010/12/creating-and-mounting-an-ebs-volume-to-a-windows-amazon-ec2-instance/>


author: FrontlineRecruitment IT
body: Has this situation changed a year and a half on?


author: Przemek Bruski
body: AFAIK, Windows instances properly attach the EBSes now. With the new Bamboo release (already on OnDemand), Windows instances also support ephemeral storage.


author: Kristen Byers
body: Could you please point to some instructions or explain how to get a Windows instance to properly attach an EBS? I followed the instructions [here](https://confluence.atlassian.com/display/BAMBOO/Configuring+elastic+instances+to+use+the+EBS) to create a snapshot (which appears to only "work" on linux) and then attached it to the default Windows instance, started it up and couldn't "see" my attached volume. There was a "D" drive of the correct size as my volume, but Windows could not see any of the files I had uploaded to it.

Thanks in advance for your help!


Tags: cloud
Failing a build if no Jira tickets in SVN commit message
Asked by Brenton Bartel:

Is there an easy/straight-forward way for Bamboo to fail a build if there are no legit Jira tickets in SVN commit message?


Answers:
author: Sean Dockery
body: You can install a pre-commit hook in the Subversion server that rejected a commit based on the fact that a valid unresolved JIRA issue key was not found in the commit message. There are a dozen or so pre-commit hooks for this purpose already out there, so you wouldn't have to develop your own.


author: Przemek Bruski
body: You could try adding a script task. The simplest case:

svn log -r ${bamboo.custom.svn.lastchange.revision.number}:${bamboo.custom.svn.revision.number} \| egrep 'PROJ1-\|PROJ2-' \|\| exit 1

would fail a build if no commits in a build have something that looks like a JIRA ticket in the comment body.

If you want to check that the JIRA tickets actually do exist, or make sure that each commit in a build has a JIRA ticket, you need to parse the svn log output and make REST calls to JIRA to query for tickets.

comments: author: Brenton Bartel
body: We have dozens of projects always being added, but this is a great start. I suppose I could use Jira's API to check if the ticket exists ... there's no plugins out there like that that already exist?


Tags: build

error

issue

jira
Hardware sizing (RAM) for multiple local agents?
Asked by e:

Hello people,

i just read a blog post of Atlassian (<http://blogs.atlassian.com/2012/07/how-many-bamboo-build-agents/>) and I want to ask you about your user experience. Do somebody of you use multiple local agents? If so, please tell me the amount of RAM that this machine has?

We're thinking about the following:

We would implement 1 Buildserver with 12 GB RAM and only Bamboo is running there on a Windows Server 2008 R2. We are only building .NET applications and we would need 8 local agents and 4 remote agents (where the long-running and memory-intensive things like regression tests will be performed).

Do you think that setup can work?


Answers:
author: Przemek Bruski
body: Local agents do not require much extra RAM, they use the same JVM as Bamboo server.

Just make sure you have enough database connections and use a 64bit JVM. Depending on your builds, you may need to increase the amount of RAM for your Bamboo Server - it's hard to say upfront if you'll need that though.


author: e
body: Yes that would be a 64 Bit Java on this machine and I know that's a hard question - would be interesting if some people post their hardware and bamboo config / build info's here ;)
Bamboo upgrade - Cannot see "Custom user repository" option in Bamboo 4.1.2
Asked by Attila Edelenyi:

Hello,

We are currently running Bamboo 2.6.1 and I'm trying to do a test upgrade to Bamboo 4.1.2 before upgrading our production server.

Followed the upgrade path 2.6.1 -\> 2.6.3 -\> 2.7.4 -\> 4.1.2 and managed to import the exported zip files into all versions. (A note here: I had to fix the 2.6.1 export's db-export/projects.xml file as the first import to 2.6.3 failed with an integer overflow exception. It's because we have very large artefacts so I had to replace the 10 digits \<size\>XXXX\</size\> entries with nine digit values to make the import work).

Anyway apart from this minor problem everything else seems to be working although I will have to run a test upgrade with the whole artefact repository exported from Bamboo as copying the straight 2.6.1 repository layout into 4.1.2 doesn't work.

So my problem is when tried to re-integrate LDAP into the upgraded Bamboo 4.1.2 instance I could not get it working. I have followed the guide at <https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+LDAP>

I have installed the atlassian-user.xml file that I used for 2.6.1 before the initial setup and import of the data into 4.1.2. I did this for the other 2 upgrades 2.6.1 -\> 2.6.3 and 2.6.3 -\> 2.7.4 and it worked with those upgrades.

After that I could only log in with local admin account. Then I saw in the 4.1.2 guide that I have to enable Custom user repository on the Administration -\> User Repositories screen but somehow that option does not show up on my screen! I only have Local users and groups and Users and groups from JIRA or Crowd

Can you please let me know how can I enable the Custom user repository option? Also is there anything I might have done incorrectly to lose this Admin option?

Thank you


Answers:
author: Sultan Maiyaki
body: Usually the option "Custom User Repository" will appear in the UI only after the atlassian-user.xml file is well formed and Bamboo is restarted. There are two possibilities I can imagine that can be the root cause. It is either the file is not well formed OR it is not located in the correct directory it should be placed especially that upgrades involves changing the HOME directory. I will suggest that you check the home directory from the system information page and ensure that the file is located in the {{$BAMBOOHOME/xml-data/configuration}} directory.  

<br />

<br />

Regards,  
Sultan


author: Attila Edelenyi
body: Many thanks for your help! Missed the information that the atlassian-user.xml file moved from webapp/WEB-INF/classes to $BAMBOOHOME/xml-data/configuration!

Just a tip for future Bamboo releases: Remove the file from webapp/WEB-INF/classes to avoid confusion
Change plan build directory
Asked by Neil Wheeler:

I have a customised EC2 image based on the Atlassian stock windows image. I've added an EBS volume mounted as drive V:. Then checked out our svn repo to V:\\svn.

I'm hoping to configure the Bamboo plan to use this directory to check out the repo, to save it being checked out in full each time.

Any ideas where I can configure this? I'm guessing I need to change the build-dir.

I currently see this in the log;

Working directory 'C:\\build-dir\\XXX-PLAN-JOB1' is empty. Checking out SVN URL 'https://abc.atlassian.net/svn/XXX/trunk'

So I need to configure the working directory?


Answers:
author: Przemek Bruski
body: You can change the build-dir, just follow:

[https://confluence.atlassian.com/display/BAMBOO/Locating+important+directories+and+files?focusedCommentId=297669200\&#Locatingimportantdirectoriesandfiles-agenthomeBambooagenthomedirectory](https://confluence.atlassian.com/display/BAMBOO/Locating+important+directories+and+files?focusedCommentId=297669200&#Locatingimportantdirectoriesandfiles-agenthomeBambooagenthomedirectory)

comments: author: Przemek Bruski
body: It will. The section about agents does apply to OnDemand because you're in control of the EC2 instance.


author: Neil Wheeler
body: At the top of that article it says;

*The information on this page [does not apply](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) to Bamboo OnDemand.*

Are you saying this will work with OnDemand?


author: Przemek Bruski
body: That's right, it will go to XXX-PLAN-JOB. You can't change it unless you manage your checkout on your own (by adding script tasks).


author: Neil Wheeler
body: Ok got you.

So I can change the \<buildworkingdirectory\> to V:\\svn by modifying bamboo-agent.cfg.xml

But presumably the svn checkout will now go to V:\\svn\\XXX-PLAN-JOB1?

How do I make it checkout to V:\\svn regardless of the plan and job?


author: Neil Wheeler
body: I tried changing bamboo-agent.cfg.xml to point to my desired working directory. But each time I rebooted my instance it would revert back. I found that making the change in bamboo-agent.cfg.template.xml has the desired effect.

Again, no mention of this in the documentation that I can see.


Tags: cloud
Get The Produced artifacts Links
Asked by javier Dominguez:

Hi People! I need to know how to get the produced artifacts for an specific plan, for example i would like to get the artifacts from the buildkey "PROYECT-PLAN-25". How can i do that i had tried everything but i could'nt get the results i expected. Thanks a lot!


Answers:
author: Patrick Hill
body: The page on [https://confluence.atlassian.com/display/BAMBOO/Viewing+a+build's+artifacts](https://confluence.atlassian.com/display/BAMBOO/Viewing+a+build%27s+artifacts) can help you find a build's artefacts. If you visit the url

http://server/bamboo/browse/MYBUILD/latest/artifact/

you should find a list of the latest build's artifacts. In your case, it would be something like

<http://server/bamboo/browse/PROYECT-PLAN-25/artifact/>


Tags: cloud
JTA transaction unexpectedly rolled back (maybe due to a timeout)
Asked by Qingsong Zhang:

Our Bamboo (v3.3.2) server shows following errors on many agent:

(org.springframework.transaction.UnexpectedRollbackException : JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Unable to commit: Transaction timeout)

Any clue on what's going on?


Answers:
author: Przemek Bruski
body: It sounds like you have some communication issues on your network - or maybe you've restarted your Bamboo server? It'd be best if you contacted support about that.

Note that the error itself is harmless and you don't need to worry about that as long as you don't experience other problems with you builds.


Tags: cloud
How to Synchronize Bamboo with Selenium Testing tool
Asked by Sachin Pawar:

Hello team,

I want Bamboo with Selenium testing tool to be work together for Testing purpose .

How could i do that with Bamboo ? Awaiting for your kind reply

<br />


Answers:
author: Sultan Maiyaki
body: Hi Sachin,

We don't have a detailed documentation specific for Selenium, however, our Confluence team created this Blog post with some tips to run it with Maven:

* <http://blogs.atlassian.com/developer/2008/05/confluence_has_a_selenium_buil.html>

I also found the following document which might be of help to you:

* <http://wiki.openqa.org/display/SRC/Selenium-RC+and+Continuous+Integration>

Hope it will help you get started
How does one upload a AWS 'Account Private Key File' and 'Account Certificate File' to the Bamboo OnDemand server?
Asked by Justin Searles:

I need to use an EBS snapshot to hold a Maven artifact repository but am having trouble trying to configure the AWS key/certificate files for the Bamboo OnDemand server. I know in the Elastic Bamboo Configuration -\> AWS Settings there is an option to upload from the PC. Is that where I upload these files? Or do I need to ssh in a machine and do some work?


Answers:
author: Przemek Bruski
body: You only need to specify them in Elastic Bamboo Configuration, Bamboo will automatically upload them to your instance. They will be located in /root/ .


Tags: cloud
EMMA support for Bamboo
Asked by Steve Chui:

Is there any EMMA plugin available for Bamboo version 4 and up? I found an old plugin <https://studio.plugins.atlassian.com/wiki/display/BCOV/Bamboo+Coverage+Plugin> which only support Bamboo version 1.2 and below.

Thank you in advance.


Answers:
author: James Dumay
body: Hi Steve,

We don't have EMMA support for recent versions of Bamboo. Please [watch and vote for this issue](https://jira.atlassian.com/browse/BAM-880).

Thanks  
James

comments: author: James Barwick
body: With billions of Android devices out there, I can surmise that there are quite a few developers. EMMA seems to be popular and easy to find and 'stock' out of the build system with Ant.

One way to prevent an Android developer from turning away from Bamboo is to support its coverage system.

I am in the middle of evaluating Bamboo for our company. And, this will probably be a blocker for us. (Unless I can find another coverage generator for Android that is compatible with Bamboo).


author: James Barwick
body: OK. In the interim, how about being able to pushblish EMMA's coverage.html to confluence? Any way to do that with a 'publish' task?


author: James Barwick
body: Wholly crap! (SORRY for my language!!) I just realized that this comment is from Aug 2012! Now almost 2 years later, do we have an option yet? no? Well, I guess it aint comming soon. Sigh.