youngmon/atlassian-qna huggingface dataset:
permission for setting new due date (getting extenion for a project)
Asked by Ioannis Alexis:

Is there a way for a member to ask for permission to change a due date on a card? I do not want to be able fora a member to do it without the admin knowing..


Answers:
author: Hannah Humbert - Simpla Workflows
body: Hi [@Ioannis Alexis](/t5/user/viewprofilepage/user-id/5008418) ! Welcome to the community :) It's not currently possible to set granular permissions at the user level to prevent members from editing certain field values. If you want a workaround, maybe butler automation could help here. For example:  

*"When a due date is moved by anyone except \[insert admin user here\], send an email notification to \[insert admin email here\] with message "The due date on \[{cardname}\]({cardlink}) was changed to {cardduedate} by {username}."*
Downloads
Asked by Celtis GOUDALO:

Hello to everyone.  
I've been unable to upload files from Trello to particular folders for a few days. All of my downloads are saved to my computer's "Downloads" folder. I must confess that it is a little inconvenient because of the amount of copy-paste I have to do afterwards to get them into the correct files.  
Is anyone else having this issue?  
Thank you for assisting me.


Answers:
author: Rafael Dill
body: Hi [@Celtis GOUDALO](/t5/user/viewprofilepage/user-id/5009098) and [@Motaz-bellah Mostafa](/t5/user/viewprofilepage/user-id/5010362) , hope you are doing fine!

This is often not a Trello issue but is about how your browser handles the downloads on your computer. We can take a look at this pretty easily, here's how it goes:

1. Go for the settings on your browser, usually on the right-up corner of your screen.
2. Open the Downloads section
3. There, you should see something like "Ask where to save each file before downloading". Mark this, and every time you try to download something, it will ask where to.

I hope this information helps, let me know if you have any other questions and I'll be happy to help!

All the best,  
Rafael Dill  
Atlassian Support - Trello  

comments: author: Celtis GOUDALO
body: Hi [@Rafael Dill](/t5/user/viewprofilepage/user-id/4982500),

<br />

Thank you for your answer, my dear.

I had already activated it a long time ago.

At first, every Trello download used it, but since an update (I think) Trello downloads have been internalized to the application itself.

You can see it on the image below

So they are automatically done in the app and ask where to save each file.

It was after that I noticed that the app no longer asks and downloads directly to the default downloads folder on the computer.

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


author: Motaz-bellah Mostafa
body: I have the same issue recently, and it's really inconvenient.

We need help here.


Tags: attachment

download
Zendesk app
Asked by Stephen Blunt:

I have activated the Trello app in our Zendesk account. For someone reason a few of the users under the same group cannot see the Trello app but others can.

I have checked to make sure they are in the correct group and the agents with the missing app have tried logging in and out of Zendesk, any suggestions?


Answers:
author: Meghashrita Kashyap
body: Hi [@Stephen Blunt](/t5/user/viewprofilepage/user-id/5009001)

We would need to look into this and investigate further, would you be able to raise a ticket with us via the below link:

<https://trello.com/en/contact>

Cheers,   
Meghashrita Kashyap  
Trello team.

comments: author: Stephen Blunt
body: Thank you, have done that this morning
Could I execute Butler card button with REST API?
Asked by tnkim_lofy:

I would like to execute Butler card button for automation with REST API.

Could you tell me the way?


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

I have not come across this. However I would imagine that you should be able to handle all the operations from your program with Trello api as long as you have the cardidlong or url.

comments: author: tnkim_lofy
body: Thanks for your answer.

There is no API guide for executing Butler card button on \[REST API guide page\](<https://developer.atlassian.com/cloud/trello/rest/api-group-actions/>).

But I belive there is a way to execute Butler card button as you said.

So I am analyzing Network tab on DevTools with chrome.

If I resolve this problem I will share for you.


author: tnkim_lofy
body: I've tried to request with below data.  
POST <https://trello.com/1/boards/62eb23717e95ea6029b1xxxx/butlerButtons/60f682c5ddb2576789a9xxxx-162720020xxxx/runs>  
with request payload.  
{  
"idCard":"62f5bb69bcbe4400d94dxxxx", "token":"60f682c5ddb2576789a9xxxx/ZRHaNmI8Taau5XkeZzvBEY1xazWeKnHnSENoHRmcT4XVwN88Qbn27J5gQKE5xxxx"  
}  
But trello server has returned 'invalid key'.  

I think I need to find a different way.  
If anybody find the way to resolve this issue, please let me know.  
Good luck!


Tags: api

butler

button

card
Hello, We would like to move a completed line item automatically from one checklist to another.
Asked by Dan Campbell:

Trello card :Numbers shifting automatically between checklists once ticked off.

Checklist 1

Line item 1, 2, 3, 4, 5

Checklist 2

Line item 1, 2, 3, 4, 5

Ideally once the shift has been automated the check list 1 line item would delete it self

if we could do the same for a third check list in the same card even better.


Answers:
author: Hannah Humbert - Simpla Workflows
body: Hi [@Dan Campbell](/t5/user/viewprofilepage/user-id/5008851) ! Welcome to the community :) you should be able to achieve this with butler automation. For example:  

```
when an item is checked in a checklist named "Checklist 1", remove item "{checklistitemname}", and add item "{checklistitemname}" to checklist "Checklist 2"
```

You can then create another rule for the 3rd checklist.
Taskless Jobs in Bamboo
Asked by Cameron Ferguson:

Is there anyway I can setup a taskless job within my stage? Basically I am having this job pull the repository and then creating an artifact off of the entire directory, the that artifact is then shared to the next stage. But it fails with a "*No tasks to execute in job"* Error. Is there a way I can specify an empty task? Or no task at all?


Answers:
author: Przemek Bruski
body: The simplest way is to create a script task. In the configuration, mark the task as Inline. I think you'll need a script body, use something like:

echo Task completed

And you should be all set.

comments: author: Cameron Ferguson
body: perfect! that works flawlessly. Thanks again for your Help!


author: Przemek Bruski
body: no problem ;-)
Queue Management Permissions
Asked by Brent Villalobos:

It looks like the only people who can move jobs up and down in the Bamboo build queue are administrators. We would like to be able to give certain people permission to manipulate the queue without giving them full adminstrative access. Is this possible?


Answers:
author: Przemek Bruski
body: IIRC it's sufficient to grant plan admin permission, you don't have to make them full admins.

comments: author: Brent Villalobos
body: Sorry, but plan admins do not have permission to change the queue order.


author: Zlatko Kajan
body: Still need to be Global admin to re-order builds. Would be good to have per-project or per-build-plan permission for this so a few select people can manipulate the order of their project without being global admins.

see also <https://jira.atlassian.com/browse/BAM-5120>
Export individual plans in Bamboo
Asked by Eduardo Mayor:

Hi there,

Is there a way to migrate individual plans in bamboo from one intance into another? I have a development instance of Bamboo 3.2 for testing new plugins and I'd like to copy plans that exist only in development into production without the hassle of creating them from scratch.

Thanks in advance,

Best

emayor


Answers:
author: ssetayeshfar
body: Hi Eduardo,

The "Move Plans" option from under Administration - \> Plans will allow you to move a plan completely to a new or existing project ***within the same instance***. But it's not a cloning option and you will lose the original plan.

To clone a plan and moving all the logs and histories to a different instance, there needs to be a partial export/import option. There is an open improvement request ticket for this feature: <https://jira.atlassian.com/browse/BAM-1223>. Please add yourself to this ticket as a watcher, you can also vote or add comments.

When researching for this issue, I also came across the following and thought of sharing them with you in case you want to follow them:

1) Add functionality for transferring plans from one Bamboo instance to the other: <https://jira.atlassian.com/browse/BAM-12365>

2) Clone Project: <https://jira.atlassian.com/browse/BAM-3188>

3) Branches should be cloned when cloning a plan: <https://jira.atlassian.com/browse/BAM-11313>

Hope this helps!

Thank you.

Best regards,

Sepideh
How to poll a job source repository to trigger a build
Asked by Dan DiCara:

I have a plan that contains two jobs that are configured with source repositories different from the plan's source repository. It appears that job source repositories have no bearing on the triggering of builds. For instance, my plan source repository is set up to poll svn every 10 minutes for changes. I also want to poll the two job source repositories every 10 minutes - but I cannot find a way to do this. Any suggestions?


Answers:
author: Przemek Bruski
body: Some workarounds are described here: <https://jira.atlassian.com/browse/BAM-955> .

Bamboo 3.3 (due out in about a month) will support your use case out of the box.
Is there a way to get at the test running time data in Bamboo?
Asked by Kris De Volder:

We have an issue where our test builds suddenly made a huge jump in running time and it would be helpful to have some tools or mechanism to browse or download test runtime data for analysis.

I.e. we want to figure out some how whether there are specific tests that have suddenly started up eating a lot more time.

We are using Bamboo 3.2 and I've been trying to find info on the runtime of individual tests but all I seem to be getting in the tests history is an 'average' runtime. I can't even seem to find where/if the runtime for the last test run is available somewhere.

Ideally, what I'd like to get is some way to download all the runtime data into some format, like a CSV file that I can download into a spreadsheet to try to run some simple computation like comparing average runtime with latest one, plot some graphs etc.

So I guess this comes down to two questions:

1) is there a way to get test runtime data out of bamboo somehow for offline analysis

2) is there a way to see more info on test running times in bamboo's web UI that I may be missing

Note: some more UI for browsing test runtime data (ideally a graph or at least some way of comparing the latest running time versus the avarag running time would be useful... However if you have close to a 1000 tests getting all the data for offline analysis would be more useful because trying to find a small set of test that are responsible for adding test-time overhead by clicking on them one-by-one is not practical.


Answers:
author: Brent Villalobos
body: While this is more of a workaround, I have applications that parse and analyze the test result xml files stored on the Bambo server in the "builds" directory. This approach assumes that you have directory access on the server.

There are some ways to get test run time through the REST API. However, it looks like you can only get runtime information for failed tests:https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+Resources#BambooRESTResources-BuildServiceSpecificBuildResult

It would be nice if the REST API included ways of getting all test data.

Older version of Bamboo used to have a run time graph for each test which was very useful since you could visualize any spikes in run time. However, they took that out for performance reasons. There is a ticket somewhere to put it back in. Vote for it.
Execute concurrent stages within a plan
Asked by Cameron Ferguson:

For our setup, we compile a single product on different machines (linux 32/64, windows 32/64, etc) for different releases. Nothing for our setup is shared between stages of our plan, and each stage is a different system we compile under. So if we compile 4 version, we have 4 stages, each stage has 2-3 jobs in it.

Is there anyway to configure the plan to execute all the stages at the same time? I've seen concurrent plan options in the admin area, but didn't know if I could say "i want to execute stages x, y, z at the same time" Since each stage deals with a different agent.

Edit: It seems after further research that instead of building on each system as separate stages, I should have a single "build" stage that has multiple jobs, then those jobs could be executed simultaneously. Is this correct?

Thanks!


Answers:
author: Przemek Bruski
body: Stages are always run sequentially. Jobs are always run in parallel (provided that you have enough agents). The concurrency options you have seen relate to plans.

If you want the OS-builds to run concurrently either clone the plan 4 times (once for each system) and delete the extra stages in each of them or put all jobs in a single stage.

comments: author: Cameron Ferguson
body: I have it now where they are building concurrently, but I seem to have errors when they try to get the repo from Perforce. It seems that when the 4 jobs all want to pull from perfoce at the same time, it gives me the error "(com.atlassian.bamboo.repository.RepositoryException : Unable to extract client root from Perforce, therefore could not evaluate where the source will be checked out to.)"

Is there a way I can pull the repo from perfoce just once, and have all the jobs use that instead of each job pulling from perforce at the same time?


author: Cameron Ferguson
body: Let me extend onto my last statement. This doesn't always happen for each job.. sometimes it works fine for a job, other times it breaks. It's breaks about 70% of the time though.


author: Przemek Bruski
body: I don't think you'll be able to achieve that setup on Perforce...


author: Cameron Ferguson
body: could i potentially setup a stage prior to my build stage that pulls the repository from perforce, maybe stores it as an artifact (tar it up or something), then have that artifact for use in the jobs of the 2nd stage?


author: Przemek Bruski
body: Yeah, you can do that. Just define it as a shared artifact, tar it with a Script Task and make jobs in 2nd stage depend on it (each should have an untarring Script Task).


Tags: perforce
Best way to pull down different source code folders
Asked by lance_lyons:

Hi, we have a project that is quite large and the build has a primary solution and several projects that are dependencies and seperate builds.

so in svn we have

trunk\\projA

trunk\\projb

trunk\\projc

trunk\\projd

trunk\\proje

trunk\\projf

trunk\\projg

trunk\\projh

trunk\\MainProject

trunk\\references

i only need to pull down proj a, d,e,f, MainProject and references to build. My nant script that we tell to build Mainproject.sln will build the other 4 projects as dependencies.

What is the best way for me to pull down just the code I want?

so that I have

builddir\\proja

builddir\\projd

builddir\\proje

builddir\\projf

builddir\\MainProject

builddir\\references

and the fire off the Nant script.


Answers:
author: Przemek Bruski
body: You could either set up a separate directory in your SVN repository with externals and use it for plan repository or set up just proja as source repository and checkout other directories with a script task.

Obviously, these are just workarounds - Bamboo 3.3 with native support for multiple repositories (so, exactly what you need) will be out within a month.


author: ReneR
body: Support for Multiple Repositories aside... how do you keep sanity in such a project??! :)

Your build has so many places where things can go wrong. So many dependencies. Are all these depedencies worked on by the same team or different ones?

Clearly defined Producer\<-\>Consumer relationships are a good way to ensure builds are reliable.

BigProjectFoo that depends on componentsA-F should always know what version of these components it's using. BigProjectFoo should make the decision about when to move to a different version of componentC or componentD.

I would have separate builds for Components A thru F. Make sure those are always green.

Then have a 'stable' build of BigProjectFoo with 'release' versions of the components. And maybe a 'latest' build of BigProjectFoo that integrates the latest builds from the component dependencies to identify integration problems early.

All of these you can do through artifact sharing and svn:externals.

Just my .02 as a build engineer...

comments: author: lance_lyons
body: I think your not understanding the scenario completely.

When we have a svn source tree that has 40 projects under it for the Application set and I only need to pull down 5 of these projects for a particular build, why not pull down just the 5 projects? We dont need the other 35 since it causes more disk space to be used and makes the build take longer.

In addition we have these seperate projects as standalone projects since they are REUSED by other projects. Therefore when we pull down code we need to build these dependencies as well.
Archiving/Removing old builds
Asked by Christopher Martin:

We're using bamboo to build a rather larger project, and we have a lot (3+ GB) of files lying around from 200+ test runs. Is there a way in bamboo to archive these files, or should (can?) I just delete them, and leave trx files around so we can still see the test results? The tests are MSTest based, and run using the build in MSTest runner.


Answers:
author: Jens Schumacher [Atlassian]
body: Take a look at the **Build Expiry** settings in the global administration **Plans** section:

> The build expiry schedule determines when build results and/or artifacts will be deleted from your Bamboo system. On this page, you can configure when the build expiry schedule will run and what will happen to the build results globally when it runs. You can override what will happen to build results at the build plan level.

If you are worried about diskspace but want to keep the build results, you can choose to only expire artifacts.
Bamboo, Crowd SSO and SSO Domain
Asked by lance_lyons:

Hi We have bamboo using our Crowd install in a SSO type configuration. Bamboo is configured to pull user info from a Crowd SSO active directory directory via a crowd application. I can login to bamboo with my active directory account with no problem.

I have setup crowd for a SSO Domain of .onlifehealth.com so that I can go between [jira.onlifehealth.com](http://jira.onlifehealth.com), [confluence.onlifehealth.com](http://confluence.onlifehealth.com), [bamboo.onlifehealth.com](http://bamboo.onlifehealth.com) and [crucible.onlifehealth.com](http://crucible.onlifehealth.com)

This works between Jira and Confluence but i have to login to Bamboo.

I have the following line in my seraph.config file  
\<authenticator class="com.atlassian.crowd.integration.seraph.v25.BambooAuthenticator"/\>

Any thoughts?


Answers:
author: lance_lyons
body: Even though bamboo and crucible where on the same server as Jira, Confluence and Crowd, I had to add a trusted proxy server ip address in crowd to fix this. I am guessing the bamboo and crucible must be binding with 127.0.0.1

The fix is to set your trusted proxy server in Crowd admin

comments: author: EddieW
body: YOu can also specify localhost instead of /myserver/crowd in your crowd.properties file. Especially useful when your proxy uses different IPs


author: EddieW
body: Expanding my comment into an answer...

Make sure that bamboo is configured to use Crowd via the admin panel, /admin/userManagement.action, and that you also edited the crowd.properties file as directed.

then visit the user management and under the "Operations" column should be a remove/delete link next to the orginal user you made manually via bamboo /admin/user/searchUsers.action

For the second step you may need to temporarily designate a colleaque as an admin and have them remove your old name.

<http://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+Crowd>


author: lance_lyons
body: how do I do that. Its in the built in configuration or stored in the db?


author: EddieW
body: Did you remove the user created before SSO? I would give that a shot to eliminate the conflict between the same user name in Bamboo.


author: lance_lyons
body: I suspect that this is related to a local user that I had setup before I created the Crowd AD directory with the same name and / or some sort of case sensitivity issue.

not sure how to resolve yet. I am able to login to bamboo with the same credentials that I used in Jira and Confluence but it doesnt automatically have me authenticated in bamboo.


Tags: crowd
Sharing a build number among the plans of a single Bamboo proejct.
Asked by Hadi Salimi:

I am using Atlassian Bamboo as my continuous integration server. For a project, I've defined two plans, namely development plan and release plan. Unfortunately, Bamboo uses two separate build numbers for each of these plans. This prevents me from identifying a build in the scope of project using its build number. Is there any way to share a single build number between all the build plans of a project in Bamboo?


Answers:
author: Bob Swift (personal)
body: Consider using your source control revision number instead or having your build script generate a unique number is some other way.

comments: author: Hadi Salimi
body: But that would not by synch with the build numbers shown in Bamboo. I want them to be unified. Can I pass these build-generated numbers to Bamboo to be used in its user interface?


author: Alex Michael
body: Hadi,

I have the exact same requirement - how did you go about solving this?

Thanks

-Alex
Server Specifications
Asked by Matthew Firtion:

What are people using for system RAM for Bamboo? Also how many builds are running?


Answers:
author: ReneR
body: On internal Atlassian instances we have 16GB on physicaly servers and 8GB inside a virtual machine (KVM).

Base OS is RHEL 5 though migrating to Scientific Linux 6.1. We use Postgres 8.4 on a separate host for the DB.

We try to get at least 16 CPU cores and around 600GB of disk space. All shared artifacts, results and logs are stored on the Bamboo server (after the build), not on the agents. So you want to plan for that.

This scales up pretty well to around 200-400 build plans, 60-120 remote agents. We really try to avoid monolithic, centralised instances choosing instead to give individual Product teams the flexibility and autonomy of their own instance. It has nothing to do with performance, though, it just gives the teams more control and motivation to really own the 'greenness' of their builds.

Bamboo is very chatty so also make sure you have good network connectivity, gigabit ethernet at least. Check the throughput against your source code repos. If you're doing builds based on polling, you'll be hitting them hard.

You'll also need lots of open file descriptors on the server (8192 is a good number but that depends on the number of agents you'll have and how many builds will be executing at any one time)


author: Nicolas Wildner
body: Man. This is a really "open" question. This kind of hardware measure depends on a lot of things:

* Operationg System used,
* If the server will be running just Bamboo or another tool
* How many builds you will execute, or what is the frequency of them
* If you will user another Builder than Maven
* IF will be Elastic Enabled or not...

Maybe other people "basic setup" for Bamboo just applies to their Infrastructure ;)