youngmon/atlassian-qna huggingface dataset:
Habit Tracker using up excessive numbers of automations due to daily reshuffling the cards in a list
Asked by Rachel Murphy:

Habit Tracker by Upgrade Your Brain is wasting automations by re-shuffling the cards in my list every day. After moving a card to the Streak Broke or Streak Continued list, it then takes each card in that list and moves it to the top of the list. It uses an automation each time it moves a card to the top of the list. As the number of cards in the list grows throughout the month, this becomes quite a significant number of automations and I just hit my quota limit for the month. I can clear out the cards in the list sooner so there is less shuffling, but is there a way to make the Habit Tracker automation stop wasting automations by needlessly re-ordering the cards?


Answers:
author: Alina Kurishko
body: Hi Rachel,

Welcome to the Atlassian Community! ?

I might not be the right person to discuss this issue because this Power-Up isn't developed or managed by us here at Atlassian and we don't have any information on the Power-Up or what you'd need to do to change its Automation usage.

I'll leave some room for Community members to share their tips and tricks, but if you don't find a solution, I'd recommend reaching out to the team who developed the Power-up directly, as they should be able to help you with this.

You can contact them by clicking on the Contact Support button on the Power-Up page - <https://trello.com/power-ups/5d3f40b4a5f03284e9f3bc24>

Hope they can help!

Alina \| The Trello Team

comments: author: Rachel Murphy
body: Thank you! I will reach out to the developer. ?
How to migrate Bamboo from one server to the other
Asked by Help Desk:

Hello experts,

I'm currently in the process of migrating a bamboo instance from Server A to Server B. The details are:

* The running Bamboo instance (Server A) is connected to JIRA \& Bitbucket
* Both servers run on the same Windows version
* The paths are slightly different (Server A: bamboo-home \& installation on E-drive; Server B: bamboo-home and installation on D-drive)
* The database servers are both PostgreSQL 10

I found the following two articles but I still need a bit more clarification:

* <https://confluence.atlassian.com/bamkb/how-to-upgrade-migrate-bamboo-720833273.html>
* <https://confluence.atlassian.com/bamboo/importing-data-from-backup-289277260.html>

My questions basically are:

* Do I "just" need to migrate the database (using a database dump) and the bamboo-home? Or do I also need to change paths in the DB itself?
* Do I also need to export data using the administration on the old server (Server A) and import it to Server B or isn't this necessary?
* When I set up the new server, do I need to install it with the internal database before the migration or shall I directly start it with PostgreSQL?

I highly appreciate your help!


Answers:
author: Mirek
body: I suggest reading also those three documentation articles

<https://confluence.atlassian.com/bamkb/moving-bamboo-between-machines-134873224.html>

<https://confluence.atlassian.com/bamboo/cloning-a-bamboo-instance-289277407.html>

<https://confluence.atlassian.com/bamboo/moving-your-bamboo-data-to-a-different-database-289277250.html>

and you should get all of your answers :)
how do i checkin files generated from a build into an repository using Bamboo
Asked by Hector Magnanao:

how do i checkin files generated from a build into an repository using Bamboo


Answers:
author: Steffen Opel _Utoolity_
body: As of the recently released [Bamboo 6.7](https://confluence.atlassian.com/bamboo/bamboo-6-7-release-notes-959795979.html), you can use the new *Repository Commit* and *Repository Push* tasks that accompany the existing [Source Control tasks](https://confluence.atlassian.com/bamboo/configuring-a-source-control-task-956167494.html) (*Checkout, Branch, Tag*).

For earlier Bamboo versions, you can refer to the script based solution outlined in the dedicated KB article [How to commit and push to a Git repo during a build](https://confluence.atlassian.com/bamkb/how-to-commit-and-push-to-a-git-repo-during-a-build-720641378.html).

comments: author: Hector Magnanao
body: We don't have Bamboo 6.7 yet. The solution suggested for earlier Bamboo versions only works for Linux bamboo agents. Is there one for Windows bamboo agents ?


author: Steffen Opel _Utoolity_
body: Except for the variable syntax, there is nothing fundamentally Linux specific in that solution I think:

* the non existing 'touch' command is just for illustration anyway, you want to work with your own modified files of course
* you obviously need to install [Git for Windows](https://git-scm.com/download/win)
* a bit tricky is Bamboo's variable syntax for Windows CMD or PowerShell, which still isn't properly documented I think - we have documented the differences for our [AWS Credentials Variables task](https://utoolity.atlassian.net/wiki/spaces/IFAWS/pages/42434587/Using+the+AWS+Credentials+Variables+task+in+Bamboo#UsingtheAWSCredentialsVariablestaskinBamboo-Environmentvariables), i.e. either use *%bamboo_bitbucket_password%* for CMD or *$Env:bamboo_bitbucket_password* for PowerShell
As a bamboo_user, Can I run other bamboo plans?
Asked by Jayakumar Subramanian:

As a bamboo_user, I was able to run other bamboo plans earlier. But, now, it is not working anymore.


Answers:
author: david
body: Hi [@Jayakumar Subramanian](/t5/user/viewprofilepage/user-id/617290) better asking your Bamboo admin as it seems he/she has changed the permissions, that's why you cannot run the plans.

Cheers,

David
Deploy from bamboo to remote docker
Asked by Haythem Benizid:

Deploy microservices app from **bamboo** to remote **docker** :

I deployed my app (microservices) in a server using docker. I installed Sonar \& Bamboo (in Bamboo 6.4.0) for the continuous integration and I want to atomize the deploiment of my app using bamboo. an idea !! Is it possible to create a "Deployment projects" to an extrenel docker image from bamboo?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Shortly, yes. It can be covered by scripted task

Also, feel free update to the 6.8.0 release :)

Cheers,

Gonchik Tsymzhitov


Tags: docker
Which path should I mention in the script task in Bamboo ?
Asked by GP:

I have a script which has list of executable commands . I need to call this script from Bamboo deployment plan. When I give the type as inline and give the script contents inside the task, it works fine.

I need to execute the script which is in the bitbucket. Which path should I give ?


Answers:
author: Jeyanthan I
body: Hi Gowthamprabhu,
> I need to execute the script which is in the bitbucket. Which path should I give ?

I assume your script is in a Bitbucket repository. It is possible to execute a script that is either inline or in a location relative to the repository root of the plan, or absolute path as explained [in this page](https://confluence.atlassian.com/bamboo/script-289277046.html). You may also use [Bamboo variables](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html) to substitute the script path.

You will not be able to use a repository location to be picked up.

Hope that clarifies!

Cheers,  
Jey
Revision number only for branch and folder
Asked by Masyagturov I R:

I have a project ***svn:\\\\Foo*** with branch and trunk:

***svn:\\\\Foo\\branch***

***svn:\\\\Foo\\trunk***

When I run plan for a trunk, with last revision number for trunk is ***revision number 5*** , but branch has **revision number 8** , so result revision number for version is ***8*** for a trunk path, but I need **5**!

How can I get it without ++*Run customised build*++?


Answers:
author: Jeyanthan I
body: Hi Masyagturov,

As you might know, revision numbers are linear in Subversion (unlike Git) and thus Bamboo wouldn't have anything new to build even if the revision number in your build result reflects the latest revision.

The commits tab in the Build result summary page should tell you which branch had the changes. You may use [plan branches](https://confluence.atlassian.com/bamboo/using-plan-branches-289276872.html) to isolate changes between branches. Do you have a reason why you expect the latest revision of your trunk that had changes to be listed?


Tags: repository

svn
How to delete old jira log files automatically
Asked by Rajan singh:

I want a solution for the old log files and for that i need to know if its possible to delete the old jira log files from the jira application server and application automatically


Answers:
author: Rambabu Patina _Appfire_
body: Hi [@Rajan singh](/t5/user/viewprofilepage/user-id/1949822), Welcome to the Community.

Please have a look at a similar question [Automate-cleanup-of-JIRA-logs](https://community.atlassian.com/t5/Jira-questions/Automate-cleanup-of-JIRA-logs/qaq-p/456727) and in that 'To purge files older than x days' section might be helpful in your scenario.

Thanks,  
Ram.
Getting Gerrit to work with Bamboo 6+
Asked by Dimitar Erinin:

Has anyone been able to fix the gReview add-on to work with Bamboo 6+ (6.6.2)?  

The add-on seems to be abandoned by the developer, no updates for the last 2 years. We are getting a java.lang.NoSuchMethodError: com.atlassian.bamboo.plan.cache.ImmutableChain.getTriggers()Ljava/util/List; exception - the getTriggers() has been deprecated and removed from the newer versions.


Answers:
author: Alexey Chystoprudov
body: Hi there,

I've created [PR](https://github.com/onepremise/gReview/pull/48 "compatibility with Bamboo 6+") to fix compatibility with Bamboo 6+. You can build your version of plugin or wait for release from author

comments: author: Dimitar Erinin
body: Thank you Alexey, we will try to build your PR and will test it out :)   

Edit: This is perfect - it works now! Thank you a lot!


Tags: gerrit
Disabling of notifications of build status to bitbucket for SPECIFIC plans/jobs
Asked by Sascha Sch?nemann:

We want to run tests to check whether our application integrates properly into the surrounding applications.

Since these tests belong to the application, the code is stored together with the application source code.

But without being able to disable the Bitbucket notification for the bamboo plan performing these tests, we will have situations where a failing test due to issues with an external application might block our development team from performing a pull request.

I have already found two feature requests in the Bamboo Bug Tracker but since these are quite old I was hoping that someone might have found a solution to this issue.

The only solution I came up with is to use a dedicated integration-test branch and keep it aligned with the development branch.


Answers:
author: Sascha Sch?nemann
body: But I have found a hacky solution for the issue:

When using the git binary from within a script task, I can perform a checkout of the repo without creating the link between the build and the bitbucket server.

Not necessary an elegant solution, but it does solve our issue

comments: author: Foong
body: You can use Repository Type "Git" instead of "Bitbucket Server/Stash" to achieve the same result


author: Sascha Sch?nemann
body: We use Bitbucket and Bamboo as one tenant within a large enterprise. This means we cannot disable the Application Link between both servers.

In addition, tests should be performed during the day at request of the application development team.


author: Foong
body: How about deleting the Application Link in both servers during the test and then recreate it later?

Since all the build status will not be sent to Bitbucket Server, you will have to perform the test during the off working hour.


Tags: bitbucket

bitbucket-server

server
How to setup parent plans
Asked by elmstoneandy:

I have a C++/Qt project for which a release is a combination of 6 different builds which all run as different plans because they target different platforms (i.e. win32, win64, macx etc etc). I have setup a parent plan which allows me to trigger the corresponding child plans: e.g.

Project Plans:

```
build-production-win32
build-production-win64
build-production-macx
build-production-linxu64
build-production-ios
build-production-android
build-production-all (does nothing, then invokes the above builds using child plans)
```

How do I get the parent plan to wait on the completion of the child plans so I can download the artifacts created and make them available for a deployment plan? OR

How do I get a deployment plan with multiple build plans as input to ensure the artifacts from its dependent plans are build from the correct git hash?

In an ideal world, it would be able to trigger a release from JIRA, calling the correct parent build plan (build-\[production, beta etc\]-all), and then have a single deployment plan which i can hit release on which works if all platform plans build successfully. I cannot see how to make that happen (?)

I then want to replicate this for different branches, some using branch plans, some using explicitly separate plans (differences in scripts which need calling etc), but I think that would be easy if I can work out how to do it for one branch.

Any help would be appreciated, it seems like several points in this workflow are just not supported at all!


Answers:
author: Foong
body: Instead of different Plans, how about using different Jobs inside a single Plan for each environment build?

Each Job can be configured to have certain requirement so that different agents from different environments will build it.
How can I download SSH-agent for Bamboo?
Asked by Skotnikov Alexander:

I m using Bamboo 2 weeks, and I have a question.

How can I download SSH-agent for Bamboo?

Please help-me)


Answers:
author: Jeyanthan I
body: Hi Skotnikov,

Could you please explain why you would need to download an SSH-agent? An SSH agent comes with the operating system

If you are attempting to run a build in a remote computer, you may have to [install a remote agent](https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html) as explained in this page.

If your intention is to login to a remote box as a part of the build process, you may do so using the [SSH task](https://confluence.atlassian.com/bamboo/using-the-ssh-task-in-bamboo-306348532.html) and an SSH client needs to be installed on the Bamboo server.

Hope that helps.

Cheers,  
Jey


Tags: agent

ssh
Bamboo 6.5.0 does not start anymore - FATAL Failed to initialise Bamboo container
Asked by linslin:

Our Bamboo stopped working for actually "no" reason. It does not startup anymore. I check the \`cataline.out\` log an found the following error:

```
2018-10-25 10:58:53,395 ERROR [localhost-startStop-1] [SqlExceptionHelper] Table 'bamboo.bamboo.supporthealthchecks' doesn't exist
2018-10-25 10:58:53,398 FATAL [localhost-startStop-1] [UpgradeLauncher] Failed to initialise Bamboo container
```

\>\> See [full start-up error log.](http://www.linslin.org/downloads/mylog.txt)

The table \`bamboo.supporthealptchecks\` is available in our DB. But since this table name includes a dot, we are not able to access it.

![image.png](/t5/image/serverpage/image-id/35964iB90D4138EAAE18F4/image-size/large?v=v2&px=999 "image.png")

Please let me know if you need more information. Any help would be greatly appreciated!


Answers:
author: Patrick Landolt
body: I had the very same problem and dropping the table worked.


author: Foong
body: That is a test table. Does it work if you drop this table manually before Bamboo restart?
How to Create a Project from within Java Code in JIRA?
Asked by tushar_chopade:

I want to create a project ,plan and job from java code in to bamboo .I download the jar file of bamboo .Also tell me hot to do connection from java code to bamboo using username and password .

Reply ASAP.


Answers:
author: Chris Berry
body: Hi Tushar,

It sounds like Bamboo Specs is what you are looking for. Specs will allow you to create a Bamboo project, Plan and Job through either a YAML definition or Java code. You can find details of Bamboo specs here.. [Bamboo specs](https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html).

thanks

Chris

Atlassian support - Bamboo


Tags: api

bamboo-app

bamboo-development
Can bamboo plans be triggered via webhook without committing changes?
Asked by Mitch Williams:

I would like to *always* trigger a new run of a bamboo plan in response to a webhook. Other community support questions suggest using the path /rest/triggers/1.0/remote/changeDetection, however this does not run the plan if there are no changes. Furthermore, the entire '/rest/triggers' family of resources [seems to be undocumented](https://community.atlassian.com/t5/Bamboo-questions/Where-can-I-find-documentation-for-Bamboo-s-remote-trigger-API/qaq-p/688586)

Is there another path, or parameters that I can pass to changeDetection to force bamboo to start a build?


Answers:
author: Marcin Gardias
body: Hi, I think what you need is 'queue' resource. POST on that resource queues the build unconditionally (well, sort of, it will queue build if there are no changes but it will still check if you don't exceed concurrency level for the plan and such)

Documentation: <https://docs.atlassian.com/atlassian-bamboo/REST/6.6.0/#d2e2977>

comments: author: Mitch Williams
body: I agree that POST-ing to the 'queue' resource would have the desired effects, but I believe the 'rest/api' resources require authentication. 'rest/triggers', being webhook endpoints, do not.

In this case, the webhook is originating from bitbucket-server, but I don't see an obvious way for it to authenticate with bamboo.


author: Alexey Chystoprudov
body: What kind of events from Bitbucket your build build should react? As I understand it's not commit event. By security reasons it's not safe to allow anyone to trigger any build at your Bamboo instance with anonymous HTTP call, that's why rest/remote/changeDetection checks changes at linked repository

comments: author: Mitch Williams
body: > What kind of events from Bitbucket your build build should react?

pull request creation and potentially related events.
> By security reasons it's not safe to allow anyone to trigger any build at your Bamboo instance with anonymous HTTP call, that's why rest/remote/changeDetection checks changes at linked repository

I'm not sure I see much of a distinction between anonymously triggering a build with changeDetection and just queuing a build according to normal rules, but I can understand encouraging a cautious posture.


Tags: bitbucket

bitbucket-server

server
how to hide the name of project from user where the user dont have access to those projects
Asked by Muhammed Sharifi:

I have some project in my bamboo, when i add a new user releated to any project the user is able to see the name of all project under Bamboo project.

anyone knows how to fix the issue that users should only see the project where they have access.


Answers:
author: Erica Moss
body: Hey, [@Muhammed Sharifi](/t5/user/viewprofilepage/user-id/1555906)! Welcome to the community. ? I'm going to move your post to the [Bamboo collection](https://community.atlassian.com/t5/Bamboo/ct-p/bamboo), where I hope you can get a good answer from the experts there. Feel free to [introduce](https://community.atlassian.com/t5/Welcome-Center/Oh-hello-Show-us-the-view-outside-your-window/gpm-p/876542) yourself, too!

comments: author: Riya
body: Hi [@Muhammed Sharifi](/t5/user/viewprofilepage/user-id/1555906),

Unfortunately, project level configuration and permissions are amongst the longest standing Bamboo feature requests. Please watch below mention issues to further promote awareness for this significant limitation:

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


author: Riya
body: Hi [@Muhammed Sharifi](/t5/user/viewprofilepage/user-id/1555906),

As per your problem description, this might help. Please go through this

<https://confluence.atlassian.com/bamboo/bamboo-6-2-release-notes-938641951.html>


author: Muhammed Sharifi
body: Hi Erica Moss

Thanks, Buddy


author: Muhammed Sharifi
body: HI Riya Badlani

Thanks for the support, I went through the third link but it says the projects Details will be visible every one.

I want to hide the name of the project from everyone, each team should see their own projects, that they have permissions on it.
Read time out error when attempting to send from Bamboo on EC2 using Amazon SES
Asked by jorge-martinez-equinix:

Hi everyone,

I'm facing an issue, when I try to configure the mail server to use for notifications, and I test the connection, I get a read time out.

The smtp server is an AWS service and there is no limitations, so I guess I'm missing some configuration in Bamboo's side.

I also followed the instructions in this url:  

[https://confluence.atlassian.com/bamkb/read-time-out-error-when-attempting-to-send-from-bamboo-on-ec2-using-amazon-ses-867032002.html\\\\](https://confluence.atlassian.com/bamkb/read-time-out-error-when-attempting-to-send-from-bamboo-on-ec2-using-amazon-ses-867032002.html/)

<br />

But the problem is still the same.

Thanks in advance


Answers:
author: thePair
body: Hello Jorge! How's everything?

By reading at your description and also reading that you've tried the step in the "read timeout error" from the Bamboo Documentation, let me check on a few things:

- I suppose you're using the port 465 to perform the connection, correct?  
- Are you checking the *Use TLS* option?

I am asking these, firstly because all SMTP connections established to ses **[require TLS](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html)**.

And second, because while I was doing my testing, configuring TLS + 465 gave me the exact same error.   
That said, I would request you to **change the port** from 465 to either **587, 25 or 5587**.

Amazon's article referenced here states that:  
"To set up a STARTTLS connection, the SMTP client connects to the Amazon SES SMTP endpoint on port 25, 587, or 2587..." and 465 connections although opened are for "TLS Wrapper" connections and "TLS Wrapper is an older protocol, but many clients still support it."  

With that, I'm assuming using STARTTLS through port 465 may not work.  

Let me know if changing the port and setting *Use TLS* works. Else we check deeper on the subject! :D

comments: author: jorge-martinez-equinix
body: Hi Thiago

Thank you for your reply. Ye I was using 465 and TLS so I followed your advice and change the port to 25 and now it works!

Thank you so much
Error using new 6.7 feature "Repository Tag"
Asked by J?rg Mattes:

Hi

I've upgraded to bamboo 6.7.1, and now I'm trying to use the new feature Repository Tasks. I'm trying to tag when I deploy, so I added the task "Repository Tag" to my deployment project, but it fails with:

23-Okt-2018 14:54:20 Error occurred while running Task 'Tag(4)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.tagging.  
23-Okt-2018 14:54:20 com.atlassian.bamboo.task.TaskException: Repository id 17530883 is invalid. Please reselect from the configuration screen.  
23-Okt-2018 14:54:20 at com.atlassian.bamboo.utils.BambooPreconditions.checkThat(BambooPreconditions.java:29)  
23-Okt-2018 14:54:20 at com.atlassian.bamboo.plugins.vcs.task.VcsTagTask.execute(VcsTagTask.java:48)  

I reselected the repository in the system config and the plan config, but still get the same error. I even checked in the database, and as far as I can see, that id is valid.

Any ideas?

Thanks,

J?rg.


Answers:
author: J?rg Mattes
body: Ok, problem solved now. I just had to put a "Checkout" Task in front of the "Tag" Task.


author: J?rg Mattes
body: Quick update: I did some more testing, and it seems that tagging works as part of a build plan, but not as part of a deployment.

comments: author: May Chan
body: Using Bamboo 6.10.2 - is that still true that tagging a repo does not work in deployment tasks? I mean, that's the time to tag the repo is when something is deployed.


Tags: repository

task