youngmon/atlassian-qna huggingface dataset:
working offliine, saved description on a card and it was lost
Asked by Connie Fuksa:

When I was working offline I was taking notes of a meeting and saving it frequently in a card in the description area. When I went back on line I tried to retrieve the notes from a 3 hour meeting and it is missing.

How can I retrieve this?


Answers:
author: Rodolfo Moreira
body: Hi Connie, Welcome to the Atlassian Community! I hope you're enjoying Trello.

If you're looking to recover card descriptions, we've got a couple of suggestions for you. One great place to start is this helpful guide:

[Recovering Descriptions and Card Titles](https://support.atlassian.com/trello/docs/recovering-the-description-or-card-title-that-was-changed) - It provides a method that might just be the solution you're looking for.

Additionally, you might want to consider exploring Trello's Power-Up options. There may be a third-party tool that offers the 'undo' function you need. You can check out these options here:

* [Trello Power-Ups.](https://trello.com/power-ups/search?q=undo)

Hope this helps!
Improving Email Deliverability - SPF and DKIM records for Trello?
Asked by wmarchment_mindgruve:

Trying to improve the deliverability of emails from Trello, but not finding any information. Are there SPF and DKIM records available for Trello?

Thanks!


Answers:
author: Christl_Email for Trello
body: Hi [@wmarchment_mindgruve](/t5/user/viewprofilepage/user-id/2003980)?

Unfortunately not with the native Trello Email-to-Card *or* Email-to-Board feature. However, with our [Email for Trello Power-Up](https://trello.com/power-ups/5d4c0b80452f202510cce4cc/sendboard), you can use a custom email address which would require DKIM and Return-Path records to be set up. You can read more about that [here](https://www.sendboard.com/blog/feature-highlight-custom-email-addresses?rq=custom). Using your custom domain will help improve deliverability.

You're welcome to pop over any questions to hello@sendboard.com or simply [add the Email for Trello Power-Up](https://trello.com/power-ups/5d4c0b80452f202510cce4cc/email-for-trello) to give it a try with a free trial.

Hope that helps!
Bitbucket repositories aviable with a different login down show up
Asked by Sujay_Ghosh:

Hello ,

I have a bitbcuket account and a Bamboo login; and they both have seperate credentials.

I have logged in to my bamboo account, and when I am trying to load the bitbucket repositories, I am not able to do so - and Bamboo shows up an error message. I have inserted the error message below .

Please help.

Thanks

Sujay

![Bamboo Error.png](/t5/image/serverpage/image-id/3771i9CDACD0C892F2E3F/image-size/large?v=v2&px=999 "Bamboo Error.png")


Answers:
author: somethingblue
body: Hi Sujay,

I would start with the article [Failed to load data from Bitbucket. 403 Forbidden - Attempting to create a Bitbucket Cloud repository in Bamboo fails](https://confluence.atlassian.com/bamkb/failed-to-load-data-from-bitbucket-403-forbidden-when-creating-a-bitbucket-cloud-repository-in-bamboo-869183268.html).

This usually happens due to Tomcat configuration issues when running Bamboo behind a reverse proxy or load balancer.

If Bamboo is run behind a proxy and you are encountering issues with the origin based [CSRF protection](https://confluence.atlassian.com/kb/cross-site-request-forgery-csrf-protection-changes-in-atlassian-rest-779294918.html) then please check if the following parameters are correctly configured in the `<bamboo-install>/conf/server.xml` (located in `/media/atlassian-data/installs/bamboo/current/conf` if you installed Bamboo via the EC2 Wizard) for the tomcat connector that your proxy is forwarding connections to:

* the configured `proxyName` matches the hostname that the application is accessed on.
* the configured `proxyPort` matches the port that the application is accessed on.
* the configured `scheme` matches the scheme that the application is accessed with.

Please review the article [Failed to load data from Bitbucket. 403 Forbidden - Attempting to create a Bitbucket Cloud repository in Bamboo fails](https://confluence.atlassian.com/bamkb/failed-to-load-data-from-bitbucket-403-forbidden-when-creating-a-bitbucket-cloud-repository-in-bamboo-869183268.html) for example configurations.

Cheers,

Branden

comments: author: Sujay_Ghosh
body: Hello Brandon,

Thanks for the reply. I shall pass this message on to the administrator, and read the article as well.

Thanks

Sujay


author: Sujay_Ghosh
body: Hello Brandon,

The same login works fine , when I use the admin login .

But both of us ( the admin and I ) receive the earlier error message, when using my login.

Thanks

Sujay


Tags: bitbucket
How to avoid downtime during bamboo scheduled backups?
Asked by nirmalshankar:

At this point in time our bamboo needs to be up all the time and we cannot afford a downtime. When bamboo does the scheduled backups it goes offline. Is there any other way to get the backups going without downtime?


Answers:
author: Przemek Bruski
body: The internal scheduled export feature isn't meant to be used on large instances or instances that need to stay up all the time. Instead, use your DBMS specific tools to back up the database and standard FS tools to back up the home directory. This will be much faster and won't result in downtime.

comments: author: Francis Lee Mondia
body: Hi,

In our case, we have jobs publishing artifacts. Under the current backup set-up (internal scheduled export), we found out artifact publishing will fail if bamboo is not available (naturally during our backup period).

My question is, will a race condition on some resource being backed-up by rsync not cause artifact publishing to fail? I can run some tests but it would save me the time if you/someone can confirm if this is the case (still fail if artifact/some resoure being published is backed-up by rsync).

Kind regards,

Francis


author: somethingblue
body: Hi Nirmal,

By design Bamboo will be unavailable while the backup process completes per the [Exporting data for backups](https://confluence.atlassian.com/bamboo/exporting-data-for-backup-289277255.html) knowledge base article.

At this point I would create a Suggestion on [JAC](https://jira.atlassian.com) for this particular feature. Once you do that please add the link to the ticket here so others can find it and vote on it to add impact.

Cheers,

Branden


Tags: bamboo-administration

bamboo-development
Unable to Execute/Import Bamboo Spec from Exports
Asked by dcaudill:

I am getting started with Bamboo specs and I've run into a problem pretty much immediately. IntelliJ reports a ton of libraries missing:

```
Error:(5, 60) java: package com.atlassian.bamboo.specs.api.builders.notification does not exist
Error:(6, 60) java: package com.atlassian.bamboo.specs.api.builders.notification does not exist
Error:(7, 58) java: package com.atlassian.bamboo.specs.api.builders.permission does not exist
Error:(8, 58) java: package com.atlassian.bamboo.specs.api.builders.permission does not exist
Error:(9, 58) java: package com.atlassian.bamboo.specs.api.builders.permission does not exist
Error:(18, 66) java: package com.atlassian.bamboo.specs.api.builders.plan.configuration does not exist
Error:(19, 66) java: package com.atlassian.bamboo.specs.api.builders.plan.configuration does not exist
Error:(21, 56) java: package com.atlassian.bamboo.specs.builders.notification does not exist
```

I cannot find these jars on the web and I am unable to add them as Maven dependencies. What is the correct way to resolve these dependencies? I am working from a project generated via the Maven command in Atlassian's documentation here:

<https://confluence.atlassian.com/bamboo/tutorial-create-a-simple-plan-with-bamboo-specs-894743911.html>

Running Bamboo 6.1, Windows 10, JDK 8


Answers:
author: Piotr Swiecicki
body: You are missing com.atlassian.bamboo:bamboo-specs-api:6.1.0 dependency, this one: [https://maven.atlassian.com/#nexus-search;gav\~com.atlassian.bamboo\~bamboo-specs-api\~6.1.0\~\~](https://maven.atlassian.com/#nexus-search;gav~com.atlassian.bamboo~bamboo-specs-api~6.1.0~~)

your generated pom.xml should look like:

```
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>com.atlassian.bamboo</groupId>
    <artifactId>bamboo-specs-parent</artifactId>
    <version>6.1.0</version>
  </parent>

  <groupId>com.atlassian.bamboo</groupId>
  <artifactId>bamboo-specs</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <dependencies>
    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>bamboo-specs-api</artifactId>
    </dependency>
    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>bamboo-specs</artifactId>
    </dependency>

    <!-- Test dependencies -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <!-- run 'mvn test' to perform offline validation of the plan -->
  <!-- run 'mvn -Ppublish-specs' to upload the plan to your Bamboo server -->
</project>
```

can you try running

mvn clean install

to see if maven can download those dependencies?


Tags: spec
Branch Updater: Filename too long error
Asked by Salmaan Shikari:

I tried turning on "Branch Updater" to automatically merge in changes from the mainline into my feature branches on the Bamboo server (<https://confluence.atlassian.com/bamboo0515/using-plan-branches-894237157.html#Usingplanbranches-Usingautomaticmerging>).

However when I do this, I get a "filename too long" error. I have seen posts about a configuration option that can overcome this windows limitation but not sure where I need to edit the configuration on my Bamboo build server?

Thanks.


Answers:
author: v3locim
body: I would suggest to try "Long Path Tool" program.


author: somethingblue
body: Hi Salmaan,

If you're on Windows there is an article you can use titled Git checkouts fail on Windows with "Filename too long error: unable to create file" errors.

To resolve this issue, please run the following command from GitBash or the Git CMD prompt:

```
git config --system core.longpaths true
```

This will allow file paths of 4096 characters.

Cheers,

Branden
Automatically create Deployment Plan per Branch (like branch build plans)
Asked by xetius:

Our current workflow involves our devs creating feature branches for each new feature from JIRA. When a change is committed, Bamboo creates a new branch build plan for the new branch. This runs, tests and creates artifacts. I need to be able to deploy these, but to create a deployment plan, I need to specify a branch... manually...

Ideally, when bamboo creates a branch build plan, I should be able to specify if I want a deployment plan for that branch.   

Is there a way to do this currently. For front end developers, we want deploy to an nginx server which is configured to handle a domain from the master branch and subdomains from feature branches.

This part is all working. It just doesn't trigger the deploy on successful build plan completion. With the introduction of containerisation, it is possible to simultaneously deploy multiple branches which are uniquely referenceable. Unfortunately, it appears that Bamboo does not agree, insisting that a single environment can only have a single branch deployed at any one time, and that all deployments should come from the deployment (master) branch. This simply is not the case any more.  

Am I missing something here, or is it just not possible. I was lead to believe that the latest 6.1 upgrade would resolve this. I have upgraded, and it appears to have broken a lot of existing deployments.


Answers:
author: somethingblue
body: Hi Chris,

This is currently not available but there are two Suggestions for this that you can vote on. Once you do that you'll be notified of any updates/workarounds, etc.:

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

Please vote on the two issues to add impact so this feature can get more visibility and hopefully be added in the future.

Cheers,

Branden

comments: author: xetius
body: This has been revisited again at our company. We still need this functionality. Do we have to revert back to Jenkins to get the ability to parameterise our deploys based off of the branch name.   

Another possible solution would involve plan continuation for specific branches only. However, this does not seem possible as there is no conditional flow control.


author: Graham Ballantyne
body: [@somethingblue](/t5/user/viewprofilepage/user-id/1014184)it's 2.5 years later and this feature still hasn't been implemented? It's a pretty basic requirement for CI/CD.


author: systematicguy
body: [@Graham Ballantyne](/t5/user/viewprofilepage/user-id/742993) IKR? I also tripped on this very stone. I am about to create a manual stage for my bamboo plan to achieve some half-assed deployment solution because of this limitation.
How to get Bamboo plugin plan variable at configuration?
Asked by Tejas B:

I know that we get can plan variables at bamboo task execution through taskContext. But how do we get those plan and environment variables at time of task creation?


Answers:
author: Jeyanthan I
body: I think you need to use [Inject Bamboo Variables task](https://confluence.atlassian.com/bamboo/configuring-a-variables-task-687213475.html) to pass a value between stages.

The file should be in the following format:

*variable1=value*

*variable2=value*

Bamboo will then allow each variable to be accessed using the *bamboo.inject.* prefix followed by the key name.

Eg: *bamboo.\<namespace\>.variable1* where "namespace" is a string defined in the task.

Let me know if this is what you are looking for.
Creating a custom task
Asked by Brad Riching:

In response to the ongoing problem users have to implement plan branches with multiple repos: [here](https://jira.atlassian.com/browse/BAM-11544), I am looking into the possibility of creating a custom task that addresses part of the problems we face, by basically providing a smarter "Source Code Checkout" Task. The behavior of the task would checkout the same branch (the current plan branch) across all repositories, and default to a user-specified value if the branch does not exist. This would vastly improve our workflow, and allow us to limp along without remembering to add and configure separate scripts inside each plan, that is until Atlassian actually implements a fix for this desperately needed feature.  

However, to even get started, I cannot seem to find the example code for tasks, as it looks like the repo has been removed or deleted. See the following, scroll down to "Example Code"  

<https://developer.atlassian.com/bamboodev/bamboo-tasks-api>Does anyone know where the examples went?   

Also, does anyone see any showstoppers with this approach? I do not have any plans to implement merging, as I assume this would need to be done at a level higher up than a task. I'm only interested in automating the checkout side first.  

Kind regards,

Brad


Answers:
author: Steffen Opel _Utoolity_
body: For undisclosed reasons those examples seem to have been archived to [atlassianarchive/bamboo-sdk-examples](https://bitbucket.org/atlassianarchive/bamboo-sdk-examples/overview) (presumably due to being considered outdated).

That being said, I think following the applicable tutorials linked in the page's *Resources* section (in particular the [Introduction to writing Tasks](https://developer.atlassian.com/bamboodev/bamboo-tasks-api/introduction-to-writing-tasks)) should be your quickest road to success.

* I've also requested to [Add a Task Plugin Module type for Bamboo (AMPS-1133)](https://ecosystem.atlassian.net/browse/AMPS-1133) to the SDK a while ago to ease getting started - please vote for this issue to hopefully save future developers the hassle you are encountering.

comments: author: Brad Riching
body: Thank you Steffen for the lightning fast response! It looks like there weren't many examples in that archived repo anyways. I will see what I can do.

Thanks again.


author: Steffen Opel _Utoolity_
body: Glad it helps [@Brad Riching](/t5/user/viewprofilepage/user-id/948973) - please also 'accept' my answer as solution via the checkmark on the left side so that it doesn't show up as unanswered anymore, thereby keeping others and myself focused on and motivated to assist with new questions :) - thanks!


Tags: branch

check-out

source

task
Bamboo - How to increment version number without truncation?
Asked by Ben Egglestone:

I want to produce a version which uses 0's for padding - typically

F-1234-5678-01

Then

F-1234-5678-02

F-1234-5678-03

etc.

Using "Last number in version" and starting with -01 I get

F-1234-5678-2

F-1234-5678-3

etc.

How can this truncation be removed?


Answers:
author: Jeyanthan I
body: I believe you are referring to [Deployment releases](https://confluence.atlassian.com/bamboo/naming-versions-for-deployment-releases-361726798.html). You can use variables to develop more complex naming schemes.

To configure: Click the **Release versioning** button on the 'Deployment project configuration' screen and add something like *F-1234-5678-${bamboo.planvar.* If the variable value is *06* , the Subsequent Release will be *07.*

More info can be found here: <https://confluence.atlassian.com/bamboo/naming-versions-for-deployment-releases-361726798.html>

Hope that helps.
Trouble with SSH and Bitbucket Pipelines
Asked by Jaco Kruger:

Hi, I'm trying to setup SSH access from bamboo to bitbucket.

Created an SSH key, uploaded public key to bitbucket and private key to bamboo as a shared credential.

When selecting shared credentials on repository in bamboo, error is shown:

![Screen Shot 2017-07-25 at 15.56.16.png](/t5/image/serverpage/image-id/3592i2076650D3EC07D70/image-size/large?v=v2&px=999 "Screen Shot 2017-07-25 at 15.56.16.png")However, shared credential does exist:

![Screen Shot 2017-07-25 at 15.56.50.png](/t5/image/serverpage/image-id/3593i6F0A106426138291/image-size/large?v=v2&px=999 "Screen Shot 2017-07-25 at 15.56.50.png")

Running bamboo 6.1.0.

Any help would be much appreciated...


Answers:
author: Alexey Chystoprudov
body: According to your screenshot Bamboo tries to find Shared credentials of Username/password type. Please create such type of shared credentials to load list of repositories. It's limitation of Bitbucket Cloud REST api, we can't use SSH credentails on that step. It's required only for repository configuration and will not be sent to agent during build execution

You can choose SSH shared credentials on same screen below to be used for regular checkout operations.


author: Jaco Kruger
body: The assumption made by bamboo is that everyone logs in with username/password and not OAuth...


author: Jaco Kruger
body: Thanks Alexey, I found the problem. And it's in line with your suggestion that bitbucket cloud doesn't have SSH support.

Creating a new vanilla Git repository connection solved my problem.

comments: author: Alexey Chystoprudov
body: Bitbucket Cloud has SSH support for regular Git operations. Bamboo requires username/password (or application password) to fetch list of available repositories using Bitbucket Cloud REST API


Tags: bitbucket

bitbucket-cloud

credential

ssh
Bamboo security issue
Asked by RMTAdmin:

Hello,

We had a security issue on the Bamboo instalation server with version 5.8.1. Do we need to upgrade to the newest version?

What is the compatibility of the new version with Jira and Stash? Does the upgrade affects the integrations with the other products we have in use (Jira, Stash, Confluence)?

Best regards,

Laura


Answers:
author: Jeyanthan I
body: Hi Laura,

<br />

It is always advisable to stay in the latest version especially when you had a [security incident](https://confluence.atlassian.com/bamboo/bamboo-security-advisories-289276756.html).

<br />

In order to check the compatibility between different versions of Bamboo, Confluence, and Jira, you will just have to make sure the Application Links plugin version is compatible with the respective products.

<br />

You can check the [Application links version matrix](https://confluence.atlassian.com/display/APPLINKS/Application+links+version+matrix) to confirm the compatibility between the respective versions of Atlassian server products.

<br />

Hope that helps.


author: kiran jonnalagadda
body: Please also check addons compatibility with new versions before upgrading, because many vendors don't update their plugin versions so frequently, you may lose some features.
Bamboo Plan/Project Codes
Asked by Adrian Williams:

I have set the plan and project codes for a new plan but unlike ealier plans the codes are not used in the directory structure instead i get a generic plan-32669697 directory


Answers:
author: Alexey Chystoprudov
body: yes, folder structure was changed to make it independent from project-plan key. These keys are changed when project moved to another project which makes this operation non-transactional
Accessing payload of a request which triggered Bamboo build, from build's Script task
Asked by oleksandr_hutsulyak:

I've managed to configure manual build trigger from GitHub's webhook, on Pull Request creation by providing following Payload URL:

\`http://username:password@bamboo-addreess.com/rest/api/latest/queue/PLAN_ID?os_authType=basic\`

And builds are now being triggered upon Pull Request Creation.

Now I need to access a data which is being sent by GitHub hook to Bamboo in a triggered plan's Script task. This is needed to get a pull-request number and "sha" identifier, to properly communicate with \`GitHub Status API\` withing those scripts.

Is there a way to access this payload data?

If not, maybe you have an information on how to attach this data to GitHub's WebHook URL without any middleware?


Answers:
author: John Franke
body: I have the same exact question and getting the latest pull request into my build plan is the only missing piece for my scenario.

comments: author: Winn Johnston
body: looking for this piece too


Tags: developer

git

github
Bamboo : Remote agents does not showup
Asked by dinesh panda:

Hi Team!

I created local and remote and remote agents. Remote agents are approved and Agent authentication is successful. But i do not see them listed down. I see the following "A remote agent is loading" and "there are no online remote agents configured on bamboo instance"

As per online suggestion, i removed jms-store. But did not help.

Regards

Dinesh


Answers:
author: somethingblue
body: Hi Dinesh,

I would start with the [Troubleshooting Remote Agents](https://confluence.atlassian.com/bamkb/troubleshooting-remote-agents-216957427.html?_ga=2.119512769.957812281.1500854842-551216588.1495469719#TroubleshootingRemoteAgents-RemoteAgentRegistration) knowledge base article. If that does not help the next step will be to review the Bamboo logs. You may see an error such as the following:
> Broker URI: is invalid: [java.net](http://java.net).ConnectException: Connection refused: connect

If you see that you would need to change the Broker client URI. While that is one of the errors you may see, it is not the only error you could see but we'll need more informaiton to determine what the issue could be.

Cheers,

Branden