youngmon/atlassian-qna huggingface dataset:
Automation: Prefixes for Custom Fields - Syntax
Asked by Alec Ellsworth:

I am looking to add the prefix "found" to a custom field reference from a linked card. I could not find this in the documentation. I have already tried a few variations to see if I could get it to work, with no success.   

My rule in question: when a card is added to the board by anyone, find a card with link "{{%Test Card ID}}", link the cards together, find the first card linked in the attachments, and set custom field "Device Name" to "{{found%Device Name}}"

This sets the custom field "Device Name" to the string "{{found%Device Name}}". I have also tried "{found{%Device Name}}", because I am unsure of how these are being parsed.


Answers:
author: Dreamsuite Mike
body: Hi [@Alec Ellsworth](/t5/user/viewprofilepage/user-id/5375624)

Firstly, you wouldn't require putting the word *found* inside the {{...}}

Secondly,Trello automation lacks the capability to reference source card custom field names but there is a workaround...

Firstly, create a user account specifically designed to run automations. I call mine bots, I'll use **@ellsworthbot** for the example below

For it to work, you should create these rules in the @ellsworthbot account..

#### Rule 1 {#toc-hId-290524979}

```
when a card is added to the board, find a card with link [insert card link here], link the cards together, clear custom field "Device Name"
```

#### Rule 2 {#toc-hId--1516929484}

```
when custom field "Device Name" is cleared by me, set custom field to "Device Name" to "{customfieldvaluebefore}"
```

#### Rule 3 {#toc-hId-970583349}

```
when custom field "Device Name is set by me, find the last card linked in the attachments and set the custom field "Device name" to "Found {customfieldvalue}?
```
Preciso de ajuda para marcar uma apresenta??o do Trello Premium na empresa onde trabalho
Asked by Financeiro Neo (gratuito):

Ol?, boa tarde Comunidade Atlassian. Me chamo Bruno, trabalho como Assistente Financeiro em uma construtora que fica localizada em Jo?o Pessoa-PB, e estou precisando de ajuda para marcar uma apresenta??o dos planos premium do Trello aqui na empresa. Algu?m consegue me ajudar? Grato.


Answers:
author: Sal
body: Oi [@FINANCEIRO NEO (GRATUITO)](/t5/user/viewprofilepage/user-id/5375564)! Espero que tu esteja bem hoje. Infelizmente n?s n?o oferecemos nenhum tipo de treinamento sobre o Trello. Por?m, n?s oferecemos demonstra??es para times que est?o prevendo adquirir um m?nimo de 84 licen?as Premium do Trello ou 48 licen?as Enterprise. Se for o seu caso, por favor, abra um ticket conosco atrav?s deste link <https://trello.com/contact#>.

Caso voc? esteja procurando por ajuda profissional para implementar o Trello, eu tenho certeza que voc? encontrar? um parceiro da Atlassian pr?ximo de voc? que pode fazer isso acontecer: <https://partnerdirectory.atlassian.com/>

Al?m disso, eu sugiro dar uma olhada no nosso guida de "Como come?ar com o Trello", na qual ? um ?timo guia ilustrado para entender como o Trello funciona: <https://trello.com/guide>. Voc? tamb?m pode dar uma olhadinha nos nossos webinars que est?o localizados aqui: <https://trello.com/webinars> e os nossos artigos de ajuda, localizados aqui: <https://support.atlassian.com/trello/resources/>.

E por fim, n?s lan?amos recentemente um curso do Trello chamado [*Trello Fundamentals*](https://university.atlassian.com/student/path/1043254), ? totalmente gratuito! Esse curso aborda todos os conceitos b?sicos do Trello, para que voc? possa aproveitar ao m?ximo da ferramenta. Eu recomendo fortemente que voc? d? uma olhada. Espero que essas informa??es te ajudem!
button with link
Asked by Jeanine Krause:

Is there a way for me to create a button on trello cards that, when pushed, link to an external url?


Answers:
author: Kyle McDowell
body: You can make a URL link an attachment to a card, which I think would serve the same purpose?

comments: author: Dreamsuite Mike
body: ?Or URL in a custom field, description or checklist would work...


author: Cindy Stella
body: I've never done a button but I have hyperlinked either by putting the full URL for them to click or making a word/words have a hyperlink. Everything will be blue that has a hyperlink to go out to a site.
Are there more option than few colors for the User ID badges in Trello?
Asked by Cherie Patrick:

There seems to only be 7 options for colors on the ID Badges. We use them to identify owner of cards and tasks and would like to assign different colors to each user.   

Is there a way to get an add on or something to see more color options?


Answers:
author: Gaurav Kataria
body: Cherie, have you tried the label as a way to organize the board. You can create 30 different label colors <https://blog.trello.com/20-new-trello-label-colors>

comments: author: Cherie Patrick
body: Hi, Thanks for responding! Yes, we use labels for 2 different functions and are using 20 of the 30. We are looking for a way to have the account owner's initials displayed via a different color. We have the account owner's initials show on the front of the Trello card and there are different tasks owners in one card so we are looking for a quick identifier that stands out. The colors work great except we are now having to double up on colors because there are only a few colors to select.


author: Cherie Patrick
body: I saw in the link you sent that images can be used instead of color on the user circles. Can you send info on how to do that? Thanks! That will solve our problem


author: Gaurav Kataria
body: <https://support.atlassian.com/trello/docs/changing-your-profile-picture-avatar/>
Merging two separate Bamboo instances into one
Asked by Mick Julia:

We need to merge 2 bamboo servers one running Bamboo 6.0 and one running Bamboo 6.4 into a single bamboo 6.4 server. The 6.4 server already has live applications and the 6.0 server is running a large application as well.

We are looking for the most straightforward option and things we need to consider.

We are looking at the documentation on Bamboo Specs but having a hard time putting it together.

Any help on this would be appreciated.


Answers:
author: Mona Sood
body: Hi Gaberial,

I also have similar requirement . Bamboo-1 has 55plans with projectAs and Bamboo2 has 443 plans with projectBs; Project A and ProjectB are different . So I really dont know the impact and challenges I will be facing. Is there any KB article or steps are available available?


author: Gabriel Ribeiro
body: Hi Mick,

Bamboo specs is indeed the best option, Would you mind share with us what exactly are the difficulties you're having while trying putting it together?

thanks
When Bamboo Plan is run failing with memory issue
Asked by Rohit:

Hello,

Bamboo plan is failing with error logs as below

```
30-May-2018 09:58:07 /bin/sh: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
30-May-2018 09:58:30 Failing task since return code of [/usr/bin/mvn --batch-mode -Djava.io.tmpdir=/opt/atlassian/atlassian-bamboo-5.15.5/temp/IM-CSMONP-JOB1 mvn clean package] was 127 while expected 0
30-May-2018 09:58:30 Finished task 'Maven Build setup' with result: Failed
```

<br />

Any help on this please?

Thanks


Answers:
author: Jeyanthan I
body: The error means that you've hit one of the limits that govern shared memory allocation.

Are you able to reproduce this issue from the commandline?

Check if [this post](https://serverfault.com/questions/710264/) helps troubleshooting further.

comments: author: Rohit
body: [@Jeyanthan I](/t5/user/viewprofilepage/user-id/1124775) I don't have access to server.. This issue occurred when doing Maven Build task in Bamboo plan.

Tried changing heap memory during build but still of no help.

MAVEN_OPTS="-Xmx2048m -Xms512m"


author: Jeyanthan I
body: In that case, you will have to contact the server administrator to monitor what is happening when this build is executed on the server.

You can suggest the administrator to execute the respective commands on the same Agent's server outside Bamboo (in a command prompt). It is sufficient to inspect just the respective agent's server and not the Bamboo server itself if this build runs on a remote agent.


author: Rohit
body: Yeah, sure. Thanks
noDependencies() method is deprecated
Asked by Dean Nam:

I ran into an issue w/ removing the existing dependencies from a plan. The blow is the error message that I got from the publish attempt:
> 2018-05-29 16:43:19,817 INFO \[BambooServer\] An error occurred while publishing plan UIWEB-WEBMASTERTESTSCYLLA: Plan import is blocked to prevent deleting your plan dependencies silently. If you are confident that you want to delete all plan dependencies, use com.atlassian.bamboo.specs.api.builders.plan.Plan.noDependencies method explicitly.

So I tried to use noDependencies() method but didn't work because it's deprecated. Is there any workaround solution for removing a dependency from an existing plan other than noDependencies()?


Answers:
author: Alexey Chystoprudov
body: Hi, using of noDependencies() is the only correct way of removing plan dependencies. It's deprecated from the beginning as it was architecture decision. We don't want to keep in API for a long time, but first version of Bamboo Specs didn't have solution for dependencies management so you had to configure it from UI. Next version had dependencies management, but Bamboo Specs should not silently remove it from you configuration if you was not aware of this API change.

comments: author: Dean Nam
body: Thanks for the answer [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646). As I commented above, it went through with the workaround solution which I'm happy about. :)


author: Dean Nam
body: I found a workaround solution for publishing the plan with removing dependencies. You can remove the dependencies via UI before publish then the check won't interrupt. FYI, I referred the workaround solution for a similar issue here: <https://confluence.atlassian.com/bamkb/plan-import-is-blocked-to-prevent-deleting-your-plan-notifications-silently-with-bamboo-specs-945118323.html>
Triggering a QA test regression project when a set of QA deploys complete
Asked by lance_lyons:

Hi, We have a selenium test project that performs a regression test in a particular environment like QA or Staging. We would like to trigger this test after all the deploys to the environment have completed. Each environment has up to 25 deploys that update that environment so we want to make sure all of these have completed before triggering the testing.  

Any ideas how this could be done in Bamboo? Would it involve using the rest api to check for complete of every single deploy?

Thanks

Lance


Answers:
author: Alexey Chystoprudov
body: Look at this app - [https://marketplace.atlassian.com/apps/1216136/after-deployment-trigger-for-bamboo?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1216136/after-deployment-trigger-for-bamboo?hosting=server&tab=overview)  
It allows to run plan when deployment complete, maybe it will solve your scenario

comments: author: lance_lyons
body: Thanks. After finally upgrading bamboo we where able to look at his plugin.

It looks like the trigger has to be defined as a deployment type in bamboo.

we actually use a build since it can run a deployment nant set of tasks for deploying our web sites. This tool doesnt seem to find those deployments that where setup as build task.

We have an environment deploy scenario that is basically a set of build projects that deploy a number of different web sites, services, windows services, db updates, etc.

I would like to trigger a test run after all of these have completed.


Tags: bamboo-administration

bamboo-development
Build plan branch specific bamboo java specs settings
Asked by Herbert Yang:

Hi Bamboo Experts,  
We are trying to use Bamboo plan spec to create a build plan that contains branch management with matching Regex, the formula we use is  
**\^(CIPG\|CDO)-\\d{1,8}$**

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

code snippet:  
---------------------------------------------------------------  
Plan plan = new Plan(new Project()  
.key(new BambooKey("xxxxx"))  
.name("xxxxxx")  
.description("xxxxxx"),  
"xxxxxxxxx",  
new BambooKey("xxxxx"))  
.planBranchManagement(new PlanBranchManagement()  
.createForVcsBranchMatching("\^(CIPG\|CDO)-\\\\d{1,8}$")  
.delete(new BranchCleanup()  
.whenRemovedFromRepositoryAfterDays(0))  
.notificationForCommitters());

bambooServer.publish(plan);  
-----------------------------------------------------------------  
we have existing plans that created manually which contains this regex, so we do an export under 'View plan as Bamboo Specs', check the code into source control and execute it(Publish plan) by building the code. However, the plan that is generated by the java code drops everything after the character comma (,).  
regex ends up like  
**\^(CIPG\|CDO)-\\d{1,**

<br />

We have tried to escape comma with slash (\\) and double slashes (\\\\), but both ones ends with error.

<br />

so what adjustment need to made to original exported plan spec to make it publish correct build plan ?


Answers:
author: Alexey Chystoprudov
body: Hello [@Herbert Yang](/t5/user/viewprofilepage/user-id/1438003),

What's the version of Bamboo you use.

I tried to reproduce your scenario for Bamboo 6.5. Created plan with given branch settings, exported to Java code, stored it into file. Configured IDE and executed this code from IDE. And plan was created with exactly expected branch settings.

Does it repeats your scenario? If no, please provide your steps to reproduce the issue

comments: author: Herbert Yang
body: Thanks [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646) for the reply.

The version we are using is

'powered by [Atlassian Bamboo](http://www.atlassian.com/software/bamboo/) version 6.2.9 build 60215 - 11 Jan 18'

Could you give it a try with this version\&build if possible.


author: Alexey Chystoprudov
body: Yes, I can reproduce the problem at Bamboo 6.2.9, 6.3.2 and 6.4.1. But it's fixed in Bamboo 6.5.0


author: Herbert Yang
body: Thanks Alexey!
Multiple artifacts pattern, any progress?
Asked by Some Guy:

I was interested into including multiple files for my artifacts and i found this subject:

<https://community.atlassian.com/t5/Bamboo-questions/Including-multiple-expressions-with-the-Artifact-copy-pattern/qaq-p/11137>

Since 2011 there was no evolution? Did anything change?


Answers:
author: Robert W
body: Hi,

At this time, this functionality isn't currently available in the product. However, we do have an open feature request for this here:

[BAM-1724](https://jira.atlassian.com/browse/BAM-1724|https://jira.atlassian.com/browse/BAM-1724)

Please be sure to watch it, and vote on it, so that you're notified if this is implemented in a future release. For your reference, you can find our policy on how we prioritise feature and improvement requests at \[this page\|<https://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>\]. You can also add a comment to the feature request to explain your specific use-case to the developers.

comments: author: Some Guy
body: Ok voted and watched, hopefully won't take another 11 years


author: Jovi Jiao
body: I think it's just a fix about 20 lines, why it can be pending for 10 years long ...


author: Dnnaresh
body: Voted and Watching this issue.
Linking bamboo 6.5 with Bitbucket 5.3.1 not working
Asked by Kasper Orbitlab:

Hi all

I am struggling with an application link between a Bamboo server and a Bitbucket server.

My setup is like this:

I have two servers, one for Bamboo and one for Bitbucket and they are both behind an internal loadbalancer.  

I can ssh from one server to the other and they can find each other through the app-link wizard.   

All the redirecting works fine, buut... When i go from bamboo to bitbucket i get an error complaing about oauth mismatch. If i manually edit it, both apps appear as "CONNECTED" in the app link overview:

On bitbuckets applink menu:  
![Screen Shot 2018-05-29 at 09.17.04.png](/t5/image/serverpage/image-id/23095i70A8C78F15762139/image-size/large?v=v2&px=999 "Screen Shot 2018-05-29 at 09.17.04.png")On bamboos applink menu:![Screen Shot 2018-05-29 at 09.16.48.png](/t5/image/serverpage/image-id/23096i95839C48CEAAD415/image-size/large?v=v2&px=999 "Screen Shot 2018-05-29 at 09.16.48.png")

If i then go into the build server, create a project and then select "Bitbucket Server / Stash" i get the message:  
![Screen Shot 2018-05-29 at 09.18.57.png](/t5/image/serverpage/image-id/23098iE78091ED2774190F/image-size/large?v=v2&px=999 "Screen Shot 2018-05-29 at 09.18.57.png")

Any idea why this isnt working?

Thanks


Answers:
author: Yogesh Mude
body: HI [@Kasper Orbitlab](/t5/user/viewprofilepage/user-id/1202299),

It should work if you have configured incoming and outgoing link in between both applications properly.

Try to Edit the Applink in both applications and see which Oauth they are using, try to configure the same Oauth in both applications.

comments: author: Kasper Orbitlab
body: You are right it should work. The problem was the proxy configuration in the bitbucket.properties - now it seems to be working


Tags: bitbucket-server
Automatically creating releases in Bamboo
Asked by Yevgen Sheyko:

Hi Everyone,

Is it possible to automatically create releases for all successful builds from release/\* branches? For example, if the next build on release/344.25.1.1 branch is successful, it should create a new release 344.25.1.20, as 20 is the next build number?

Thanks,

Yevgen


Answers:
author: Anthony Yeong
body: I would love to know the answer. Bamboo is simply too rigid and lacking APIs to do end to end automation in many scenarios.


author: Edwin Kyalangalilwa
body: Hi [@Yevgen Sheyko](/t5/user/viewprofilepage/user-id/550920),

This might be of help.

[Naming versions for deployment releases](https://confluence.atlassian.com/bamboo/naming-versions-for-deployment-releases-361726798.html)

comments: author: Shan Du
body: You need to read the question man... it was was about how to AUTOMATICALLY create releases from any arbitrary build. (which I also want to know the answer to)

The article you provided is about how release version works


Tags: deployment

release
How can i know the branch owner for a particular branch created under the plan.
Asked by Niharbabu:

Hi All,

Post successful/failure of a branch plan execution i want to notify the branch owner about it. How can i know the owner of a branch?

Note The branch creation is automatic and build trigger is scheduled. Neither branch creation nor build trigger is manual.

Thanks

Nihar


Answers:
author: Yogesh Mude
body: Hi [@Niharbabu](/t5/user/viewprofilepage/user-id/1241803),

The branch will create in Bitbucket/git and while creating the plan you need to link the repo and need to select the branch.

If you are using the Jira software for managing project and there you have been added the trigger for creating an automatic branch when the particular transition happen then you can see before the branch Name the Issue key will be there using this might be you will know who has been assigned this jira issue and the assignee will be the owner of that branch.

There will be a [suggestion](https://jira.atlassian.com/browse/BSERV-7478)has been created for this and the status is open.

comments: author: Niharbabu
body: Hi Yogesh, Thanks for the information.

The branch gets created automatically as per branch create condition under plan configuration. Trigger of the build happen as per plan trigger condition.

Note: I haven't integrated the bamboo with jira.
REST API of Build Result - to return Branch Name
Asked by Jaszeer M:

I am looking for an API call that can return branch name that is associated with specific BuildNumber#

Example

[https://bamboo.CompanyName.com/rest/api/latest/result/plan-Key/BuildNumber#.json?expand=results.result.artifacts\&expand=changes.change.files](https://bamboo.CompanyName.com/rest/api/latest/result/plan-Key/BuildNumber#.json?expand=results.result.artifacts&expand=changes.change.files)


Answers:
author: Jaszeer M
body: I understand that - Builder is not independent from branches but I think there is alternate way to associate branchName with buildplan

Example

Default PlanName -- Maps to a branch that is mentioned repository plugin

PlanName#2 -- Maps to branchName (can be any feature branch) -- \> this plan is auto generated when you turn on branch builds for your plan

So bottom Line, I am interested to find out how can i get the default BranchName that is associated with Default Build Plan - (that can be Master Or Develop or somethingelse)

Hope I am clear with this additional information


author: Danyal Iqbal
body: try the /rest/api/latest/result.json?expand=results.result.plan.branches.branch.latestResult endpoint.

comments: author: Jaszeer M
body: Danyal,  

that returns a result object with list of branches - but it doesn't return specific branch name that build result was/is associated  

I am interested with branchName that is associated for a BuildNumber


author: Robert Kulyassa
body: Not exactly an API call... but for the record, try this (in Linux shell):

```
wget -q -O - https://bamboo.YOURDOMAIN/browse/YOUR-BUILD-123 | grep plan-branch-name
```


Tags: rest-api
how do i send the log file as an email attachment in the notification
Asked by Hector Magnanao:

I would like to send the logfile for my bamboo job as an email attachment on the notifications. Is this possible ? I don't see the option in the notification window.


Answers:
author: Danyal Iqbal
body: This is nto possible by default. You can send a email from a bash script using `sendmail` here is a quick [tutorial](https://ariejan.net/2007/06/10/send-mail-with-a-bash-shell-script). You can then just include the log link in the email
Automatically expire certain artificats
Asked by Joshua Romine:

I care about some artifacts from stages, but the executables/dlls I don't care about. I don't want there to be an issue with space on the server.

Is there a way, other than cleaning them up manually, that we can expire certain artifacts?


Answers:
author: Christian Glockner
body: Hi Joshua,

Take a look at global expiry, which allows you to do just that: <https://confluence.atlassian.com/bamboo/configuring-global-expiry-289277253.html>

Cheers,

Christian

Premier Support Engineer

Atlassian
How can I get Bamboo running after a restart of my Windows Server?
Asked by Wolfgang Holtermans:

Hello!

I have some trouble installing the Bamboo Software on an Windows Environment.

After the standard installation process, Bamboo works perfectly fine, even if I reboot the Windows-machine. But every time I set Bamboo up completely and go through the assistant in the web-page (typing in the license key and setting up the database connection) the Bamboo-Service doesn't start up anymore after a reboot of the machine.  
The console-version doesn't work either: After the message: *"Server startup in xxxxx ms", the*console window unexpectedly disappears.

<br />

Only a re-installation could fix the problem until now.  
I've tried several versions of bamboo, but they all led to the same problem.

I'm using a virtual machine with Windows 7.

Thank you for your help!


Answers:
author: AnnWorley
body: I understand there are issues installing Bamboo on your Windows 7 computer,

We would like to examine logs and configuration files so I created a support ticket on your behalf. You may expect an email from our support portal shortly, at the same address used for this post.

After the issue is resolved we can follow up on this thread to let the Community know the resolution.