youngmon/atlassian-qna huggingface dataset:
Trello to slack attachments with butler app
Asked by Rigardt Brummer:

I have set up the following rule that is integrated with the Butler App in slack to post updates on when data request have been completed. I want to attach the relevant links to the cards of the data requested and for this link post to the slack channel when moved to "Completed". For some reason the attachments are however not being posted to the slack channel. Can anyone potentially help with this.

Here is my current rule:

when a card is moved into list "Completed" by anyone, post message "\*{cardname} data request {listname} has been completed:\* \\n\\n{carddescription} \\n\\n{attachmentlink} \\n\\n{cardlink}" to Slack channel "#data-requests" in workspace "Company" as Butler

Thank you


Answers:
author: Cody C.
body: Hi Rigardt! The {attachmentlink} variable is slightly limited in that it can only be used with actions specifically related to an attachment, e.g. "*when an attachment is added to a card"*

One possible workaround would be to paste your attachment links in the description itself. Depending on the type of link, it should render with a nicely formatted [Smartlink](https://community.atlassian.com/t5/Confluence-articles/Loads-of-awesome-new-Smart-Links-now-available-in-Confluence/ba-p/1621121) in Trello, and pass the full URL along as part of your automation with the rule you have written!

comments: author: Rigardt Brummer
body: Hi Cody, thank you! Yeah this is what I was currently been doing! But it does put me at ease to know I wasn't missing anything, cheers
Is there a way of displaying board guests' email addresses, rather than just their Trello username?
Asked by Hayley Finnemore:

I'm setting up a board with external contractors and asking them to comment on the cards, and it would be useful if rather than just seeing their Trello username, I could also see their email address, to identify which branch they are from. Is there a way of doing this? I was hoping it would show their email address on their profile but it doesn't seem to.


Answers:
author: Dreamsuite Mike
body: You could create a contractors list with their contact details, name, phone, email address, branch etc. set up as custom fields. When they are added to a card or comment on it, it links to that card as an attachment.
Is it possible for creating cards automation to also copy custom fields?
Asked by VTCT:

Starting out with Trello but scanned the forums and can't find the answer.

I've created a request board which is populated by a submission from Blue Cat Forms. This then creates a card within the "new requests" list. What I want to achieve is that if the request relates to certain categories that a copy is then made of the card and moved to the relevant list, labelled, assigned etc.

This has worked fine and the data has been cut across except for the custom fields, for these the data is cleared. Is there a way so that the new card copies the custom fields as well, as the title and description?

Rule as below:

"when a card with the light purple "Website" label in list "New Requests ?" is added to the board by anyone, create a new card with title "{cardname}" and description "{carddescription}" in list "Website ?" and add member @1 to the card and add member @2 to the card"


Answers:
author: milynnus
body: [@VTCT](/t5/user/viewprofilepage/user-id/5241924)

Use this for custom fields {{%Custom Field Name}}

comments: author: VTCT
body: Thanks, how would this be added to my above example?


author: milynnus
body: [@VTCT](/t5/user/viewprofilepage/user-id/5241924)

Unfortunately you cannot prefix trigger, new or copy to custom fields. I should have read your question better. So the only way is to use http request to gather all the CF as part of the {httpresponse} or to created a key/value string as part of the new card and use a second rules to populate it. The latter approach was used with a client to carry land acquisition data across (CF) to another board.


author: VTCT
body: Hi, as someone new to Trello this goes well beyond my capabilities unfortunately.

I've only got two custom fields currently, Name of requestor - text field, and Brand - dropdown , so if you can help me to a solution I'd be extremely grateful, but if this is essentially too complex we'll have to workaround.


author: milynnus
body: [@VTCT](/t5/user/viewprofilepage/user-id/5241924)

See the technique used here and adapt it for your use

![Screenshot 2023-06-14 at 12.29.51 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/262964iA4A0479A5BC1EEDD/image-size/large?v=v2&px=999 "Screenshot 2023-06-14 at 12.29.51 AM.png")


author: VTCT
body: Brilliant thank you. I've managed to get the automation to work with the only slight niggle it is creating two cards. Not sure why this is, but it is hardly a big problem!


author: VTCT
body: Also, thank you for all your help, but is there a way to copy across start / due date as well?
Can you hide the names of board members on a board template?
Asked by Lotte:

I've got a question: for one of my online courses I created a Trello board template that students can copy.

One of the students emailed me because she doesn't want other observers of the board to see her name (she also doesn't want to see the names of the other students)

Is there a way to hide the names of board observers for privacy reasons?

I haven't found these settings anywhere.


Answers:
author: ?i?dem B?y?ka?ik
body: Hi [@Lotte](/t5/user/viewprofilepage/user-id/5241846)   
Welcome to the community,  
Cigdem from [Hipporello](https://www.hipporello.com/) here. I don't think you can do that. One workaround I can suggest is to use the [Card Share Power-Up](https://www.hipporello.com/trello-power-ups/trello-card-share) that allows you to publish card contents on a web portal.

You can choose to proceed with the "sharing publicly" option and your students will be able to view cards using the URL you share with them. No one will be able to view each other's name/other information in that case. The way the power-up works is by sharing cards individually and that might take a bit of time if you have too many cards though.  

Here's an example of how a card looks on web portal:

![card share board.png](https://community.atlassian.com/t5/image/serverpage/image-id/262861i1DB5EFDA05EFEF8E/image-size/large?v=v2&px=999 "card share board.png")  

<br />

![card share portal page.png](https://community.atlassian.com/t5/image/serverpage/image-id/262862i66CDF5C0D6F90535/image-size/large?v=v2&px=999 "card share portal page.png")  

Hope that helps,

Let me know if you have any questions,

comments: author: Lotte
body: Thank you for tue extensive answer but I've got lots of cards on this board and many lists so this wouldn't work in this case. Nevertheless I really appreciate your help in trying to find a solution!


author: ?i?dem B?y?ka?ik
body: Yes, that might be tricky with too many cards. Hope you can find a solution. Good luck!
JDBC drivers aren't mentioned for MySQL database type in Installation doc
Asked by Shankar Asam {Appfire}:

*This question is in reference to Atlassian Documentation: [Installing Bamboo on Linux](https://confluence.atlassian.com/pages/viewpage.action?pageId=289276792)*

Ask your question here...


Answers:
author: rverschoor
body: <https://confluence.atlassian.com/display/BAMBOO/MySQL> mentions it in detail.


author: Shankar Asam {Appfire}
body: Thanks. It would be nice if you can add JDBC driver stuff to <https://confluence.atlassian.com/pages/viewpage.action?pageId=289276792> page so the installation will complete without any issue..

comments: author: rverschoor
body: The installation page refers to <https://confluence.atlassian.com/display/BAMBOO/Connecting+Bamboo+to+an+external+database> which has a page for each database, describing the installation details.

Embedding all this information for all different databases on the installation page itself would clutter it a lot.


Tags: install

linux
Is it possible to prioritise Bamboo Agents?
Asked by Richard Cross:

I have a number of very fast build agents (running on physical servers) that I would like to ensure are always chosen first, and another (much larger) set of Cloud VMs that should only be used if the main build agents are too busy... how would I set this up?


Answers:
author: rverschoor
body: There is an outstanding request at <https://jira.atlassian.com/browse/BAM-15988>.  
Feel free to vote for it, and add your use case as a comment.


Tags: bamboo-administration
is there anyone who can install and run smoothly bamboo remote agent on Mac OSX El Capitan and register remote agent on server side ?
Asked by S?ha:

*This question is in reference to Atlassian Documentation: [Bamboo remote agent installation guide](https://confluence.atlassian.com/pages/viewpage.action?pageId=289276832)*

is there anyone who can install and run smoothly bamboo remote agent on Mac OSX El Capitan and register remote agent on server side ?


Answers:
author: Jeff Stein
body: Yes ... i'm assuming however you got your question answered by now?


Tags: remote-agent
is there any way we can add this using bamboo CLI
Asked by Nayanika Bhargava:

*This question is in reference to Atlassian Documentation: [Using Tomcat with Bamboo for continuous deployment](https://confluence.atlassian.com/pages/viewpage.action?pageId=305759758)*

I want to do the similar thing using bamboo CLI. adding the tomcat deployment server and then delploying it, Is it possible


Answers:
author: Bob Swift (personal)
body: The only thing that [Bamboo Command Line Interface (CLI)](https://bobswift.atlassian.net/wiki/display/BCLI) supports in this area is the ability to add such a task to a plan similar to any other task - see [Examples for AddTask Action](https://bobswift.atlassian.net/wiki/display/BCLI/Examples+for+AddTask+Action?src=sidebar).


Tags: cli
Is the "Project Cloner for Bamboo" Add-on Compatible with Bamboo 5.11.3?
Asked by Sergei Jerdetski:

Hi there,

In the Atlassian Marketplace, the Project Cloner for Bamboo is shown as "Unsupported" and only available for some older Bamboo versions (3.0 through 4.4.3): I wonder if there is a way the user could make it compatible and work with the latest Bamboo version 5.11.3? Or maybe that's planned for some future Bamboo releases?

Advise please.

Thank you.

**Sergei Jerdetski** DevOps Engineer  
Health Language  

Wolters Kluwer Health  
4600 S Syracuse St, Suite 1200  
Denver, CO 80237  

720.446.2519 tel.  

<br />

**[Sergei_Jerdetski@wolterskluwer.com](mailto:Sergei_Jerdetski@wolterskluwer.com)**


Answers:
author: Alexey Chystoprudov
body: Hello @Sergei Jerdetski,

This plugin is unsupported and Bamboo team is not planning to support it. It's open source, so you can checkout code and see if it works for your needs. As I can see it's compatible by API, not sure how it works at runtime
Bamboo Plan Variables not working for me
Asked by Eric Hood:

I am having trouble making use of Plan Variables in Bamboo.

I added a plan variable, name: stuff, value: 1.2.3

In my "Default Job", I have a Script (File) task calling a command line utility, passing in a few parameters, including: ${bamboo.stuff}

Unfortunately, what is being passed is "${bamboo.stuff}", not "1.2.3"

Other built in bamboo properties are being passed in just fine, just not my plan variable.

I've tried: ${stuff}, $stuff, $bamboo.stuff, ${bamboo_stuff}, %STUFF%, %BAMBOO_STUFF%, and others, but I can't get it to respond.

What am I doing wrong?  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-Plan-Variables-not-working-for-me/qaq-p/106243?attachment-id=11877){#link_1170e692adf2c1}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/3417/1/Capture.PNG){#display_1170e692adf2c1_0}


Answers:
author: SidduAngadi
body: If it is Unix --- you should call ${bamboo.stuff}

windows - %bamboo.stuff%

within java - bamboo_stuff

These all worked for me.

If above does not worked, send me the version of bamboo, platform on which it is running and screenshot of variable and script.

Thanks

Siddu

comments: author: Eric Hood
body: Sorry, forgot to mention I'm in Windows.

The Script Task uses File as its location, and as an example of my Argument value:

-root="${bamboo.build.working.directory}" -test=${bamboo.stuff} -revision=${bamboo.repository.revision.number}

What I get passed to me, root and revision are replaced correctly. But for test ==\> ${bamboo.stuff}

Bamboo 5.11.1.1 (but still in trial-mode)

Capture.PNG


author: rverschoor
body: Using ${bamboo.stuff} will only work if you use the Script Task with an inline script.  
Bamboo will replace any variable references it sees there before it starts running the script.  
If you let the Script Task with the script in a file, Bamboo will not get a chance to replace the variables.

So one solution would be to use an inline script instead of a file.

If you need to stick to a file script, you need to use the environment variables that Bamboo creates.  
In your case you should be able to reference the variables with %BAMBOO_STUFF%.  
You wrote that you already tried that, but it didn't work.  
To investigate this, you can add a simple Script Task that just calls "set".  
In the build log you can then see all environment variables.

comments: author: Eric Hood
body: I tried your SET idea, and though it listed out nearly 100 items, "stuff" is nowhere in the list. ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")


author: ZillaYT
body: For Linux style inline script, the ${bamboo.stuff} syntax did NOT work for me, that is when I do the following in my inline script

STUFF=${bamboo.stuff}

I get...

${bamboo.stuff}: bad substitution


Tags: bamboo-administration
How to link Bamboo to Git repository?
Asked by jhsu38:

Hi,

I'm evaluating Bamboo and need to link to Git repository. But I'm not seeing "Git" or "Other" option at "Repository host" drop down menu. The drop down only has CVS, Subversion, Perforce, Murcurial. How to link to Git URL?

Thanks


Answers:
author: SidduAngadi
body: Which version of bamboo you are evaluating?

By default it provides following repository link:

Stash

Bitbucket

Git

GitHub

Mercurial

CVS

Subversion

Perforce

YOu can use custom plagins or you can develop your own plugin to integrate with other repository also such as clearcase, TFS

Thanks

Siddu


author: Debajyoti
body: Git,GitHub both should be available.
Atlassian SDK on Bamboo Agent AMI
Asked by Thomas Behlau:

*This question is in reference to Atlassian Documentation: [stock images](https://confluence.atlassian.com/pages/viewpage.action?pageId=289277463)*

You have 6 maven and 6 grails version on the AMI, but not your own Atlassian SDK to build plugins? Will that be added in a future AMI version?

Thomas


Answers:
author: Przemek Bruski
body: Thomas, I laughed out loud when I read this. You're right, that's a serious omission that has somehow gone unnoticed for years. We'll rectify it in a future stock images release.

comments: author: Steffen Opel _Utoolity_
body: Thanks, that would be a great improvement to ease getting started with add-on development via Bamboo indeed. There has been a resp. improvement request already btw., but it got resolved in favor of another approach, see [my answer](https://answers.atlassian.com/questions/38758042/answers/38834079) for more on this - maybe you could simply reopen <https://jira.atlassian.com/browse/BAM-6748> so that we can follow a long?


author: Steffen Opel _Utoolity_
body: This has been a fairly old improvement request already, but it got resolved in favor of another approach via a dedicated task due to the disconnected update cycles between the SDK and the stock agent images:

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

Given AMIs can nowadays be built and maintained much faster and simpler via automation (e.g. with HashiCorp's [Packer](https://www.packer.io/)), I'd hope that the Bamboo team can indeed just include it by default going forward, as thankfully acknowledged by @Przemyslaw Bruski in [his answer](https://answers.atlassian.com/questions/38758042/answers/38758209) already (+1).

### Workaround {#toc-hId-1455462548}

Until the SDK will be included on the stock images by default, you might want to check into the conceptual [workaround](https://jira.atlassian.com/browse/BAM-6748?focusedCommentId=544371&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-544371) I provided on the related issue, though given the default images are meanwhile based on Ubuntu, you would need to adjust it to apt-get of course.

comments: author: Przemek Bruski
body: For now, something like this put into your instance setup script (see Image Configuration page in Bamboo) should do the trick:

```
echo deb https://sdkrepo.atlassian.com/debian/ stable contrib >>/etc/apt/sources.list.d/atlassian-sdk-stable.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B07804338C015B73
```

```
apt-get -y -q --no-install-recommends install atlassian-plugin-sdk
```


Tags: image
Bamboo 5.10 Release Notes Question
Asked by Sergei Jerdetski:

Hi there,

<br />

The **Bamboo 5.10** **Release Notes** have - among others - the following ++**comments**++ concerning two of its several ++**platform upgrades**++:

***Servlet API upgrade*** **(3.0.1)** - ++**Make sure that your plugin is compatible with the servlet API 3.0**.++

***Soy Renderer upgrade*** - The new soy compiler used by Bamboo is more restrictive when it comes to the template syntax. ++**Make sure that your templates are properly compiling in runtime**++.

<br />

Would you please elaborate on both of these ++**underlined statements**++ ? Are they both referring to ***t** **he end user*** developing its own plugins/templates or some ***third party*** tools or neither of those? What exactly do they refer to?

<br />

Thank you in advance for your reply.

<br />

**Sergei Jerdetski** DevOps Engineer  
Health Language  

Wolters Kluwer Health  
4600 S Syracuse St, Suite 1200  
Denver, CO 80237  

720.446.2519 tel.  

<br />

**[Sergei_Jerdetski@wolterskluwer.com](mailto:Sergei_Jerdetski@wolterskluwer.com)**


Answers:
author: Christian Glockner
body: Hi Sergei,

This bit of information is really aimed at 3rd party developers and those of our customers who develop their own custom plugins. If you have add-ons installed in Bamboo you can use the upgrade check to verify whether the add-ons you have installed will be compatible with the new version of Bamboo you're thinking of upgrading to.

Best regards,

Christian

Premier Support Engineer

Atlassian
Mix of OS for Bamboo remote agents
Asked by InnocentSpirit:

Hi Bamboo users,

I have looked and can't find a clear answer on any documentation - does Bamboo Server support a mix of OS's for agents?

Bamboo Server - Windows

Bamboo Local Agents - Windows

Bamboo Remote Agents - I - Windows

Bamboo Remote Agents - II - Linux

Is this possible?

Regards,

Innocentspirit


Answers:
author: Christian Glockner
body: Hi InnocentSpirit,

Absolutely, many of our customers build their software for lots of different platforms, so you can mix and match agent operating systems as you need. The only requirement is that you either run Oracle's JDK or OpenJDK on the agents and that they're supported on the operating system.

-Christian

Premier Support Engineer

Atlassian


author: Fr?d?ric CORNU
body: Sure.

Bamboo actually does not care about the OS on which his agents run

I have a bamoo server on Linux with lots of agents running on Windows, Linux, Solaris \& AIX


author: Christian Glockner
body: Hi InnocentSpirit,

There's nothing particular to take into account, the installation of the remote agents works the same way on all platforms.

-Christian

Premier Support Engineer

Atlassian

comments: author: InnocentSpirit
body: Thanks Christian.


author: Rich Duncan
body: I suggest looking at the remote agent installation documentation here: <https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html>

If you want the agent to start as a Linux server, you can find documentation on how to do that depending on the distro/version of Linux you use.

Also to get the agent to start as a windows service look here: <https://confluence.atlassian.com/bamboo/additional-remote-agent-options-436044733.html>


author: InnocentSpirit
body: Hi Rich,

Thanks for the links. We already have Windows agents and have configured them as Windows service. Looking to add new linux agents now.

Thanks


author: InnocentSpirit
body: Thanks Frederic, Christian \& Rich,

Is there any specific documentation around this or just follow the standard agent installation steps depending on the OS?

Regards,

InnocentSpirit


author: Rich Duncan
body: Agree - we have Bamboo running on RHEL and agents running on Linux, Windows and Docker containers. Agents run a java app that connects them to the server.


Tags: bamboo-administration
Bamboo: View Log formatting problems
Asked by Eric Hood:

After a build, if you click on the Logs tab, there are two extended options under the Logs header: Download or View.

Click on View, it opens the log in notepad. I've noticed that Bamboo's logging of it's properties, but improperly formatted.

All of the logging's \\n carriage returns aren't being recorded as carriage returns, they're being recorded as just "\\n", causing all this data to be concatenated all together in one big mess.

Example:

bamboo_planRepository_revision=7700\\nbamboo_repository_previous_revision_number=7700\\nbamboo_buildTimeStamp=2016-05-20T08:51:07.708-05:00\\nbamboo_planRepository_previousRevision=7700\\nbamboo_buildResultKey=I69-IP69-JOB1-30\\nbamboo_planRepository_1_revision=7700\\n

Anyone else encountering this?

Is there a fix in the works?


Answers:
author: Fr?d?ric CORNU
body: Hi,

There seem to be an issue related to this. <https://jira.atlassian.com/browse/BAM-17045>

Also related to ANSI control chars

comments: author: Eric Hood
body: Thanks, that seems to be it exactly.


author: Przemek Bruski
body: Actually, that's a different issue.
Deployment fails if artifact download includes images
Asked by Chris Carreck:

We have a simple build plan. It has a single job, that checks out all source code.

I then created a number of artifacts, for CSS, PHP, HTML, JS and JSON files. The copy pattern on these artifacts is: \*\*/\*\*.js or \*\*/\*\*.php

I then have a deployment project, that deploys all these artifacts, via an SCP task to an ubuntu machine.

This works just fine for the listed files. However, as soon as i create an artifact for .png or .jpg files using the same copy pattern (\*\*/\*\*.png), and add this artifact to the deployment, the artifact download task fails to download the .png artifact:

|----------------------|----------------------------------------------------------------------------------------|
| 21-May-2016 13:34:03 | Unable to download artifact Shared artifact: \[PNG Files\], pattern: \[\*\*/\*\*.png\] |

What would cause bamboo to specifically not be able to download an artifact containing .png files?\\


Answers:
author: Rich Duncan
body: Huh - weird - what does the error message say?

It sounds like your release is a web-app - what we've done in situations like this is have the release job zip up the stuff that constitutes the release and have the deployment project scp the zip to the target server and ssh it into place.

comments: author: Chris Carreck
body: Hi Rich thanks for your suggestion. Actually I had the wrong information, i've just updated the original question accordingly. Its actually the artifact download that fails, as soon as I include the .png artifact. It doesnt even make it as far as the SCP task. Thanks


Tags: cloud