youngmon/atlassian-qna huggingface dataset:
Se puede copiar o clonar campos personalizados de un tablero a otro tablero
Asked by Barbara Salda?a:

En mi trabajo manejo mas de 15 tableros por los diferentes equipos de sistemas que tiene la empresa, y como es relacionado a desarrollo, se est?n usando unos campos personalizados est?ndar o iguales en los diferentes tableros, el detalle que si se modifica uno o se agregar un nuevo campo se tiene que cambiar 1 a 1 en todos los tableros.

Existe una forma de clonar o copiar sin necesidad de ajustarlos manualmente?

Mismo caso me pasa con las etiquetas que no me permite copiar o clonarlas a otro tablero


Answers:
author: Sal
body: Hi [@Barbara Salda?a](/t5/user/viewprofilepage/user-id/5441752)! Currently, you can't clone or copy your custom fields and labels on Trello. However, I know there's a third-party Power-Up called Bulk Actions that allows you to make bulk changes to labels and bulk change other aspects of your cards on your board, including Custom Fields.

If you are interested, you can check it out here: <https://trello.com/power-ups/5e4464985fd190825d164de3>
Upload attachment with API on VBA
Asked by Damien Lohier:

Hello,  
I try to upload a file to a Trello card with my VBA application, but I always receive status 400 from the API.

Here is what I see in network tab of Firefox when I upload a file:

```
-----------------------------21770600522523212291266470825
Content-Disposition: form-data; name="dsc"

c27e21f98df1b3ed8f[...]7d49d9daf562557675dc7
-----------------------------21770600522523212291266470825
Content-Disposition: form-data; name="numOfFiles"

1
-----------------------------21770600522523212291266470825
Content-Disposition: form-data; name="fileIdx"

0
-----------------------------21770600522523212291266470825
Content-Disposition: form-data; name="file"; filename="test.txt"
Content-Type: text/plain

this is a test file


-----------------------------21770600522523212291266470825-
```

I tried to send a POST request with a body having the same format, but I got a status 400 (Bad request).  
I have just removed the "dsc" part, I don't know what is it or how I can calculate it. Is it mandatory ?

<br />

Query: [https://api.trello.com/1/cards/\[my](https://api.trello.com/1/cards/[my) card id\]/attachments

Am I doing something wrong ?  

Again, the API docs are not very useful in this case:

<https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post>


Answers:
author: Damien Lohier
body: Hello,

I finally managed to upload attachment to Trello with VBA application !  

Here is my function:

```
Public Sub AddAttachmentToCard(Id As String, ParamArray attachments() As Variant)
??? If UBound(attachments) > -1 Then
??????? Dim i As Integer
??????? For i = LBound(attachments) To UBound(attachments)
???????????? If attachments(i) <> "" Then
???????????????? Dim shellStr As String
???????????????? shellStr = "curl.exe --form file=""@" & attachments(i) & """ --form key=" & APIKey & " --form token=" & APIToken & " https://api.trello.com/1/cards/" & Id & "/attachments"
???????????????? Shell shellStr, vbHide
???????????? End If
??????? Next
??? End If
End Sub
```

Call it with: AddAttachmentToCard trello_id, attachmentPath1, attachmentPath2, ...


author: Sal
body: Hi [@Damien Lohier](/t5/user/viewprofilepage/user-id/5407682)! For this type of question, I recommend you post at the Atlassian Developer Community at <https://community.developer.atlassian.com/c/trello/42>. This is the best place for you to get answers about issues with custom scripts you've developed using Trello's API. Also, other developers (including Trello engineers) are actively interacting there, and they might be better suited to help you with that. Thanks for your understanding!

comments: author: Damien Lohier
body: Hello, I have posted on the Developer community and waiting for an answer, thanks.


Tags: attachment

vba
Sending a board to others
Asked by Henrik Fladkj?r:

Hi all

I have created a board and made it as a template. I would like to send it to my students so they can use it in their own Trello account, not being a member of my board in my workspace.


Answers:
author: Gaurav Kataria
body: Henrik, you could make the board public, if there is no sensitive information on it, and share with all your students. They can then make a copy of the board.

![Board sharing.png](https://community.atlassian.com/t5/image/serverpage/image-id/309490i563E976FAF2A4721/image-size/large?v=v2&px=999 "Board sharing.png")

comments: author: Henrik Fladkj?r
body: Thanks, Gaurav; there is no sensitive information on the Board. It is only a way for my students to structure their days and weeks.


author: Nikola Perisic
body: Hello [@Henrik Fladkj?r](/t5/user/viewprofilepage/user-id/5178545)

You can share your board with the other users making them as Observers of the board (this requires a premium subscription). These users have to be the members of your board - there isn't other way.

comments: author: Henrik Fladkj?r
body: Thanks, Perisic, I'll take a look at your solution.
About the Board
Asked by Grupo Fature:

I wanted to know if there is a way to get some kind of report from open cards?


Answers:
author: Tymek Zapa?a _Colorful Budget_
body: [@Grupo Fature](/t5/user/viewprofilepage/user-id/5441586)

What kind of report would you like to get? Can you provide more details?

comments: author: Grupo Fature
body: the number of cards opened in 1 month for example
Trello Card needs a Due Date
Asked by Maxine Roberts:

Is there a way of preventing a Trello card being placed in a particular list on a Trello board if the Due Date field is not populated


Answers:
author: Tymek Zapa?a _Colorful Budget_
body: [@Maxine Roberts](/t5/user/viewprofilepage/user-id/5374376)

Best I can think of is automation:

```
when a card without a due date is added to a list A, move the card to the list B
```

The limitation is you will then return all the cards without due dates to the list B.
What are the limitations of a free workspace in terms of members and guests
Asked by Maryam Kamyabi:

Could someone please explain the features and possibilities available to members and guests within the Trello free plan? I'm particularly interested in understanding the scope of functionalities offered, such as the maximum number of members and guests allowed, as well as any other noteworthy capabilities accessible within the free workspace.


Answers:
author: Sal
body: Hi [@Maryam Kamyabi](/t5/user/viewprofilepage/user-id/5441554)! All Workspaces and boards on Trello have hard-coded limits, but usually, we don't expect users to reach those limits. For example, the maximum number of members you can have on your board is 4.500 members and 4.000 Workspace members.

Also, you can learn more about Trello's functionalities here: <https://trello.com/guide>. I hope this helps!
When to best use Docker agents?
Asked by Arne M?ller:

What are the pros and cons of running builds in a docker container as opposed to running them in the native agent environment? We use a limited amount of agents to ensure the server is not overburdened. Would this allow for more plans beeing build parallel then the agents usually allow?


Answers:
author: Alexey Chystoprudov
body: Hello,

The main advantage of using Docker runner is ability to have one remote agent and handle builds with different capabilities. You don't need to install different versions of Python or Java or whatever to your agent to fulfil builds requirements.
Agile plugin (specifically gemba board) for Atlassian apps
Asked by Eric Seibert:

I've been asked if there is a plug in for any of the atlassian products that would facilitate a GEMBA board. We are using Jira, crucible/fisheye, confluence and bamboo but I haven't found anything in particular that would server the implicit purpose of a gemba board.

Does anyone have any experience or knowledge of a GEMBA like plug in for any of the apps we could use to display on our monitors distributed through our institution?


Answers:
author: Eric Seibert
body: I'm aware its not a gemba board but a GEMBA walk. I'm trying to find something to throw up the kanban/scrum board on to a monitor without all the extras. Maybe there is an API or something but I've tried to find anything that would facilitate the limited display for this functionality.


Tags: confluence

confluence-server

fisheye-crucible

jira-core
Can a plan declare its parent plan triggers?
Asked by Rob Bork:

Rather than use child plans / dependencies - which will get unwieldy with the number of plans and git repos we have - I'd like each plan to declare its upward, parent dependencies.

The Plan object (and Deployment) allows you to pass in multiple triggers, which gave me hope! But I couldn't find a Trigger class for defining multiple, arbitrary parent-plan triggers.


Answers:
author: Foong
body: Try [Bamboo Specs](https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html) to modify multiple plan dependencies


author: Rob Bork
body: Thank you


author: Foong
body: Feature request <https://jira.atlassian.com/browse/BAM-14981>


author: Rob Bork
body: yes, we are using java specs for our plans. And really like it! But it only does downward child dependencies (and VCS dependencies.)

I would just suggest to the Bamboo Team that they add this parent-dependency capabilities. I think a lot of folks would find it useful.


author: Rob Bork
body: Thank you. But this looks like another way to trigger child plans.

We are looking for a way for a plan to say, "run **me** after plans: a, b, c, x, y, z".

(The same way gradle and maven allow you to define dependencies for yourself. And then gradle/maven work out the build order for you using 'directed acyclic graphs'.)


author: Foong
body: Try this app [Chain Build Tasks for Bamboo](https://marketplace.atlassian.com/apps/1215563/chain-build-tasks-for-bamboo?hosting=server&tab=overview) to use task to trigger another plan
Multiple remote agents with the same AgentId, Name, UUID
Asked by Steven Tay:

Hi I would like to know what would happen if I run multiple remote agents on different machines with the same id (i.e. same name, UUID and agentId). Would only 1 agent be active, trumping all others before it or would all the agents be valid and somehow share the same id, effectively distributing the load across the agents. From what I can see the agents are all started without any issue but it seems only 1 agent is actually active in picking up the load. So I just want to confirm.


Answers:
author: Daniel Santos
body: Hi [@Steven Tay](/t5/user/viewprofilepage/user-id/884305)

Bambo uses the agent UUID to identify each agent and authenticate it. The agent will be approved or not and its references on capabilities will be kept based on that UUID.  

It means that if all your agents have the same UUID only the first one to authenticated will be able to take builds.
Notifications for deployment, using envrionment variables as recipient
Asked by gervaisb:

Hello,

Can we use an environnent variable for the email notification recipient ?

I don't want to configure a group or a single email address but rather use a dynamic value like the project developers\[1\], or the author of the commit that triggered the build linked to the deployment \[2\].

\[1\] <https://maven.apache.org/pom.html#Developers>

\[2\] Saved in a \`.properties\` file artifact in the build plan.


Answers:
author: Daniel Santos
body: Hi [@gervaisb](/t5/user/viewprofilepage/user-id/248798),

You can build your own message and use the terminal (**Script task**) to send it based on your environment variables, but you cannot use dynamic addresses for the Bamboo default notification, unfortunately.

You will probably find multiple ways to send an email using the terminal. One of them is the **Mutt** command (assuming you are using a Unix-like system). This is an example of use:

```
mail_list="first@mail.address second@mail.address"
mutt -e 'set content_type="text/html"' -s "subject" < mail_file.html $mail_list
```

?? Running this command will require that your agent or Bamboo server has its mail server properly configured (not Bamboo, but the OS).  

There is also a feature request to create a task specifically designed for sending emails: [\[BAM-17085\] Send customized email via Bamboo Task - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/BAM-17085?_ga=2.233687838.1084808211.1553450395-665141520.1552909161)

I hope it helps.
Deployment Project Branches
Asked by Dave Morrow:

In Bamboo, I have a Build Plan which uses Branches.  
Each branch represents it's target environment.

ex. dev, qa, prod

I would like to use this build plan (at the artifacts it generates) in a Deployment Project and then configure each environment of the Deployment Project to each use a different branch from the build project.

I see this can be done with Triggers, but I do not want the environment deployment to run automatically. Is there any other way to do this?


Answers:
author: Marcin Gardias
body: FWIW, you can select which branch is your 'default' branch for a Deployment Project when configuring it. So, in theory, you could use one Dep. Project per branch, one environment each. Then, whenever you create release/ deploy, the correct branch would be preselected for you.

The problem with that would be that each deployment would maintain its own release numbering, but perhaps it's OK for you (since you seem to build separate releases for each env. anyway)


Tags: branch

deployment
bamboo.repository.branch.name' is set in the Project variables, but running branch name Master
Asked by Aisha Ali:

I am unable to get correct branch in my new branch as bamboo is not honoring the new branch instead it is substituting new branch 'ABC' for 'Master' everytime I do a build in ABC branch it substitutes the ABC branch for Master branch. I have checked the variables in ABC branch are set correctly.


Answers:
author: Daniel Santos
body: Hi [@Aisha Ali](/t5/user/viewprofilepage/user-id/2933278)

Bamboo should honor that the first repository of your plan matches the source branch that caused the plan branch creation. That is not the case for any other extra repositories added to the same plan. All others will be automatically set to the default branch in the repository configuration which is usually master.

It is important to notice that, for plan branches, in newer versions of Bamboo you are able to set any source branch available in your source repository. This configuration can be found at **Plan configuration \>\> (Affected Branch) \>\> Repositories \>\> (First repository) \>\> Branch field**.

Please confirm:

1. The plan branch configured in the repositories tab of your plan branch is correctly pointing to the branch 'ABC'
2. As I said before, Bamboo will honor changing the branches automatically only for the first repository in your plan (assuming you have more). Please check if the affected repository is the first one in the list or not.

Please share your findings here.

comments: author: Aisha Ali
body: Still not working see screenshots it keeps substituting Junospace with Master branch

![branch config.png](https://community.atlassian.com/t5/image/serverpage/image-id/50054i336F54F1ACB23292/image-size/large?v=v2&px=999 "branch config.png")![branch variable.png](https://community.atlassian.com/t5/image/serverpage/image-id/50056i4C8B94AA7083B635/image-size/large?v=v2&px=999 "branch variable.png")![log.png](https://community.atlassian.com/t5/image/serverpage/image-id/50055i3717530F025C6B81/image-size/large?v=v2&px=999 "log.png")


author: Daniel Santos
body: Hi [@Aisha Ali](/t5/user/viewprofilepage/user-id/2933278)

Thank you for attaching the screenshots, they are really helpful to diagnose the issue.

Now I think I got what is happening there.

First of all, the variable echo **bamboo.repository.branch.name**is read-only. It is a variable that is now deprecated, still sitting there only for compatibility purposes.

I'm not sure what is the Bamboo version you use there, but the most recent Bamboo versions have this variable **bamboo.planRepository.\<position\>.branch** . ([Bamboo variables)](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html).

Please give it a try and you should see the correct branch according to what is configured in your plan branch source repository.
Triggerin a cutomeized plan in bamboo with cURL command
Asked by Srinivas Reddy:

Hi  

I am using the below command to trigger a cutomeized plan where it is running fine with only one variable  

curl -XPOST -u username:passwd <https://bamboo-starterkit.abc.com/rest/api/latest/queue/BUILDKEY?bamboo.variable.var_name1=etcetc>  

<br />

But job is not sucessfull when there are more variables. which we are giving form curl:  

curl -XPOST -u username:passwd [https://bamboo-starterkit.abc.com/rest/api/latest/queue/BUILDKEY?bamboo.variable.var_name1=var1\&bamboo.variable.var_name2=var2-v](https://bamboo-starterkit.a.abc.com/rest/api/latest/queue/BUILDKEY?bamboo.variable.var_name1=var1&bamboo.variable.var_name2=var2-v)  

Please help me second command where i am going wrong.

Thanks

Srinivas


Answers:
author: Rafael Pinto Sperafico
body: Hi [@Srinivas Reddy](/t5/user/viewprofilepage/user-id/2510589) ,

Could you please place the URL between quotes and give another try, e.g:

```
# replace {USERNAME} with a user that can run build
# replace {PASSWORD} with {USERNAME}'s password
# replace {PLAN_KEY} with plan you would like to run build from, e.g PROJ-PLAN

curl -k -u {USERNAME}:{PASSWORD} \
-X POST "https://bamboo-starterkit.abc.com/rest/api/latest/queue/{PLAN_KEY}?bamboo.variable.var_name1=var1&bamboo.variable.var_name2=var2-v"

```

As a result, you would find:

![bamboo.custom.build.png](https://community.atlassian.com/t5/image/serverpage/image-id/50329iC90AEBF26747EE57/image-dimensions/461x216?v=v2 "bamboo.custom.build.png")

Kind regards,  
Rafael

comments: author: Srinivas Reddy
body: Thanks Rafael  

Already found out solution before. What you mentioned is right it work's perfectly.

Thanks

Srinivas


author: T?th_Roland_Rich?rd
body: Thanks Rafael,

A very big thanks :)
How does one display Bamboo artifact files with filenames ending in ".xml" as plain text?
Asked by Michael Aramini:

How does one display Bamboo artifact files with filenames ending in "*.xml*" as plain text?


Answers:
author: Alexey Chystoprudov
body: Do you want Bamboo to return artifact with .xml extension as text/plain or you don't want it?

Depending on your answer there're different steps

comments: author: Michael Aramini
body: I'd like Bamboo to return these artifacts as **text/plain**.

(Despite the *.xml* extension, these particular artifacts contain a mixture and of XML and non-XML text. Bamboo currently treating them as just XML results in an **XML Parsing Error** being displayed instead of the content of the file.)


author: Alexey Chystoprudov
body: Then you need to edit mimetypes.xml file at $BAMBOO_INSTALLATION/atlassian-bamboo/WEB-INF
branch plan automatic creation failed
Asked by Monizze IT:

Hello,

I have configured a build plan for bamboo using bitbucket server. It's working. When a I add branch manually, it's OK too.

But, even if the configuration is on "When new branch in repository is created" (in plan \> branch configuration) and I wait more than the double of "Branch detection interval" (it's default: 300 seconds) the plan branch is not created.

Even after a while if I commit something new, nothing change.

Did I miss something?

Is there a way to debug it?


Answers:
author: Daniel Santos
body: Hi [@Monizze IT](/t5/user/viewprofilepage/user-id/1008085)

Usually, this type of problem is caused by issues involving application links preventing events from Bitbucket to be fired against Bamboo.

If the links are properly configured you should be able to see the following messages in your **\<Bamboo_Home\>/logs/atlassian-bamboo.log**right after the branch is created on Bitbucket side:

```
2019-03-28 10:13:50,666 INFO [http-nio-8085-exec-21] [AccessLogFilter] 127.0.0.1 POST http://<BAMBOO_URL>/rest/remote-event-consumer/latest/events/stash-branch-created-remote-event 385308kb
2019-03-28 10:13:50,668 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [BranchCreatedEventListener] Received stash branch creation event [ my-repo, my-branch]
```

Try to search for **stash-branch-created-remote-event**. You should be able to find POST messages from Bitbucket to Bamboo.

If you don't find them, recreate the application links and try again.

If the problem persists we might need to create a support ticket to dig dipper on this.
Task to deploy rdl and pbix files (reports and power bi reports)
Asked by Xavier:

Dear All,

I have to create a task to Bamboo for automatically deploys reports (.rdl) and power bi reports (pbix) to our report server (2016).

I'm block on creating the task as I don't really know how to implemente that (trying use rs.exe but not working.

Help must be appreciate.  
regards,

Xavier


Answers:
author: Daniel Santos
body: Hi [@Xavier](/t5/user/viewprofilepage/user-id/1717533)

I afraid Bamboo does not have a specific task for this, but you can still do it using other more general tasks. Suggested steps moving forward:

1. Make sure you are capable of deploying your reports using **CMD** or **Powershell** (I'm assuming you are using Windows)
2. If the whole thing can be done with just one command, use a **Command task**
3. If you need multiple commands to do it, try a **Script task**

Please share here if you find any issues with this approach.

comments: author: Xavier
body: Hi Daniel,

thanks for your reply.  
Yes, that's what I'm trying, to use a PowerShell command.  

Thanks for the tips,

REgards


Tags: deployment

task
How do I share complete directory with another stage?
Asked by Jason Templeman:

I have a Bamboo plan where I get our source repository via git and compile our image (on a Linus system). The problem is I have a test that needs to run in a separate stage which needs access to not only various files in the source directory but I just found out that it needs to make some specialized images as well (i.e. access to make). I originally shared out either individual files (via artifacts) using the exact directory and wildcard like \*.json for the file or a whole directory (e.g. \*\* or \*\*/\*). These have been working but since I now have to access the complete file structure as I need to do a make I want to share the whole structure. I've tried "my_repo/" with "\*\*/\*", "." with "\*\*/\*" among others. Seems like nothing I try has worked as I keep getting something like java.nio.file.NoSuchFileException. Can someone please share the secret as to how I can share the complete directory structure I checked out and build in my previous stage?

I prefer not to tar the entire structure but if this is the only way then can someone please share the command needed as well as the directory I need to be in (do I need to go up one level in order to get everything). Also how would I untar this in the next stage?


Answers:
author: Foong
body: Tested the following Artifact definition works fine:

* Name - allFiles
* Location -
* Copy pattern - \*\*/\*

There is no need to set anything in the field "Location".