youngmon/atlassian-qna huggingface dataset:
Do you guys have a training on how to use trello effectively? Please email me!
Asked by Jesse Moreng:

Training on how to use trello effectively for me and my team.


Answers:
author: Ste Wright
body: Hi [@Jesse Moreng](/t5/user/viewprofilepage/user-id/5475022)

Welcome to the Community!

Using Trello "effectively" is subjective, it depends on what you need to use it for!

But I would check out...

* Learning options on Atlassian University - <https://university.atlassian.com/student/catalog/list?search=trello>
* Trello's help pages - <https://support.atlassian.com/trello/resources/>
* The help guide - <https://trello.com/guide>
* Trello 101 - <https://trello.com/guide/trello-101>

...as some good places to get started :)

Ste
I have a roblox studio lua script but the api is outdated
Asked by noreality:

this is script please fix it because it says 404 not found: local cardsData = trello.GetRequest("<https://api.trello.com/1/lists>" .. trello.BanListID .. "/cards")  
local cardsList = httpService:JSONDecode(cardsData)  

seprate script but both need to be fixed

local trello = {}  
trello.Key = script.Key.Value  
trello.Secret = script.Secret.Value  
trello.QueryParams = "key=" .. trello.Key .. "\&token=" .. trello.Secret -- Add equal sign here  
trello.BanListID = "cant say"  
local httpService = game:GetService("HttpService")  
function trello.GetRequest(url)  
local request = url .. "?" .. trello.QueryParams  
local response = httpService:GetAsync(request)  
return response  
end  
function trello.PostRequest(url, queryData)  
queryData\['key'\] = trello.Key  
queryData\['token'\] = trello.Secret  
for name, value in pairs(queryData) do  
if not string.match(url, "?") then  
url = url .. "?" .. name .. "=" .. value  
else  
url = url .. "\&" .. name .. "=" .. value  
end  
end  
local request = {  
\['Url'\] = url,  
\['Method'\] = "POST", -- Fix typo here  
\['Headers'\] = {  
\['Accept'\] = "applications/json"  
},  
\['Data'\] = httpService:JSONEncode(queryData) -- Set Data field to queryData  
}  
local response = httpService:RequestAsync(request)  
return response  
end  
return trello


Answers:
author: Caspar Wallstab
body: Interesting thing is that [hydrogenexecutor.app](https://hydrogenexecutor.app) still be able to bypass the jira


author: Mutya A
body: Hi there,

I tested the API endpoint you are using and it's working well. For any 404 errors, please look at typo errors in the full URI you are making the Get request to. In this case it is missing the '/' after the '1/lists':

```

trello.GetRequest("https://api.trello.com/1/lists" .. trello.BanListID .. "/cards") ?
```

For the rest of the script, I would highly recommend to review the information provided below and make sure you are using the correct API for making a Post request.

**\[Trello API\] Get Cards in a List:**   
<https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-id-cards-get>

Also, for any coding or developer related inquiries, you can share your questions in our Trello developer community. We have a number of Trello Engineers that are active there, and they'd be happy to give some guidance for more advanced topics like these: https://community.developer.atlassian.com/c/trello

I hope this helps, but let us know if you have any questions!  
----------------  
If this post ***helps*** with your query, then please consider the **Accept answer** or **Like** button to help the other users find it more quickly.
Bamboo Upgrade from 6.4.0 to ?
Asked by Vivek Singh:

We are currently on Bamboo V6.4.0 and planning an upgrade, can you please suggest me to which version we should consider upgrading with least amount of vulnerabilities ?


Answers:
author: Jimmy Seddon
body: Hi [@Vivek Singh](/t5/user/viewprofilepage/user-id/2997350),

The latest version is [6.10.4](https://confluence.atlassian.com/bamboo/bamboo-6-10-release-notes-973489980.html) which was released on November 27th 2019. This would be my recommendation as I'm pretty sure Atlassian is getting ready to release a new major version soon and being on the current latest version will ensure a smoother upgrade to the newer major version when it releases.

I hope that helps!

-Jimmy


Tags: upgrade
Place tasks in a loop
Asked by Carl Davis:

We have about 100 source files that need to have pre-compile task, validation task, compile task, and post compile task. Basically, there are 4 tasks that need to be run for each of the 100 source files. Is there a way to loop through Bamboo tasks and pass in a variable which would hold the name of the source to compile? BTW, we are using MSBuild for the compiler.

Ex:

Read list of source file names from xml, json, csv, etc., place them in sourceNameArray\[\]

Loop X = 1 to 100

currentSourceName = sourceNameArray\[X\]

ExectuteTask1 with passed in name of source, currentSourceName

ExectuteTask2 with passed in name of source, currentSourceName

ExectuteTask3 with passed in name of source, currentSourceName

ExectuteTask4 with passed in name of source, currentSourceName

End Loop

This loop would be far more maintainable instead of having 400 tasks that were setup by hand.

Thanks,

Carl


Answers:
author: Jeyanthan I
body: Hi [@Carl Davis](/t5/user/viewprofilepage/user-id/3671305) ,

Your situation sounds achievable using "Inject Bamboo variables task" and "script task" to pass on variables to other tasks. This feature is [documented here](https://confluence.atlassian.com/bamboo/configuring-a-variables-task-687213475.html).

Let me know if that helps.

Cheers, Jey
Unable to kill runaway job (due to java.lang.NullPointerException)
Asked by gekkie:

We had a job running when during that time the MySQL server went away (and restarted soon after) but this resulted in a runaway job which when trying to 'stop' it, resulted in the NPE:

**Version:** 6.10.4  
**Build:** 61009  
**Build Date:** 21 Nov 2019

#### Request information: {#toc-hId--679345889}

* Request URL: http://\<our url\>:8085/build/admin/stopPlan.action
* Port: 8085
* URI: /build/admin/stopPlan.action
* Context path:
* Servlet path: /build/admin/stopPlan.action
* Path info:
* Query string: planResultKey=KMT-DEPLOY-16493\&returnUrl=%2Fbrowse%2FKMT-DEPLOY-16493

**Stack Trace:** [is too big, thus linked here](https://gist.github.com/fruitl00p/071f3671a7a7af1ac214286134ebe4c7 "Copy/Pasted into a github gist")

So how to we kill the running job now without restarting bamboo entirely?


Answers:
author: Marcin Gardias
body: What you observe is most probably the data integrity issue caused by MySQL outage. The build cannot be stopped because there's nothing that should be in fact stopped.

IMO restarting Bamboo Server is the best course of action.

comments: author: gekkie
body: Thanks, seems like the best way to go indeed.

...

After restarting bamboo itself, everything was back to normal. The weird thing is though that before restarting bamboo the other pages still kept working (or atleast seemed to have recovered)

Ow well, let's just chalk this up to a mysql outage and just restart bamboo
How to access Bamboo Variables inside a Shell Script
Asked by karthickmurugadhas:

We have a Bamboo Plan where it used for creating a Maven Package and this package "Artifact" is transferred to a remote machine for deployment using a ansible-playbook. This ansible-playbook is invoked by a Bamboo task "SSH Task" and this playbook invokes a shell script for the deployment. In this shell script, I would like to substitute Bamboo Variable (i..e bamboo.shortPlanKey). Is this possible?


Answers:
author: Cristiano Mariano
body: Hi [@karthickmurugadhas](/t5/user/viewprofilepage/user-id/1988633) ! How are you doing?

I have used Bamboo variables inside my scripts, but only with "File Script Task". As you have the ansible "layer" in your "SSH Task", I am not sure if your script will have access to them, but you should try.
>
> #### Using variables in bash {#toc-hId--679319969}
>
> Bamboo variables are exported as bash shell variables. All full stops (periods) are converted to underscores. For example, the variable `bamboo.my.variable` is `$bamboo_my_variable` in bash. This is related to File Script tasks (not Inline Script tasks).

Hope this helps!


Tags: atl-gruland
Can you delete a plan using Bamboo Specs ?
Asked by Muhammed Soyer:

Can you delete a plan using Bamboo Specs ?


Answers:
author: Jeyanthan I
body: Hey [@Muhammed Soyer](/t5/user/viewprofilepage/user-id/3677333),

There is no direct way to delete a plan via Bamboo Specs. Unfortunately there's no REST API to delete a plan as well. Could you please elaborate the requirement for doing so?  

You might find this comment from my colleague useful.

* <https://community.atlassian.com/t5/Bamboo-questions/How-to-delete-a-Bamboo-plan-by-API/qaq-p/916350>

However, if you are referring to plan branches, they can be made to get deleted soon after the respective branch in the default repository (configured in your plan) is deleted automatically. This is explained in Specs official documentation.

* <https://docs.atlassian.com/bamboo-specs-docs/latest/specs.html?java#automatic-branch-management>

Hope that helps!

Cheers,  
Jey


Tags: spec
Upgrade 6.6.3 to 6.10.4
Asked by kerekes_balazs:

I tried to upgrade my Bamboo server from 6.6.3 to 6.10.4 and the boot process failed with the following error:

"Bamboo bootstrap failed: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian Support at [https://support.atlassian.com"](https://support.atlassian.com/)

I have valid license for it.

Any suggestion?

Thanks,

Balazs


Answers:
author: Cristiano Mariano
body: Hi [@kerekes_balazs](/t5/user/viewprofilepage/user-id/817684) ! How are you doing?

Try to check the **bamboo.cfg.xml**file. Stop Bamboo, change the license that is in it to your license and start it again. It should work.

Hope this helps!

comments: author: kerekes_balazs
body: Thanks for your response! I tried to modify but did not solve the problem. I have successfully upgraded to 6.9.1.


author: Cristiano Mariano
body: Great! I am glad you made it!
Bamboo plan execution logs storage in DB
Asked by aleem:

Hi All,

<br />

I wanted to have an idea of how bamboo stores the task execution logs from remote agents on its server database to display later in the plan from bamboo UI.

Does bamboo store task execution logs in the bamboo database. Or it retrieves from the agent host every time a user tries to view log data from UI.


Answers:
author: Alexey Chystoprudov
body: Bamboo doesn't keep build logs in DB, they're stored at file system at Bamboo Server side. Bamboo agent sends it during build/deployment execution


Tags: agent
How can i build UIPATH code to nuget package and deploy it to orchestrator
Asked by Vinay Nallari:

I have tried creating a task under a plan by selecting the "Executable" option as uipath studio. Attaching the logs for reference.

[https://bamboo.corp.uber.internal/download/IACOE-IACOETESTING2020-JOB1/build_logs/IACOE-IACOETESTING2020-JOB1-19.log](https://bamboo.corp.uber.internal/download/IACOE-IACOETESTING2020-JOB1/build_logs/IACOE-IACOETESTING2020-JOB1-19.log "logs")


Answers:
author: Smita Rastogi
body: [@Vinay Nallari](/t5/user/viewprofilepage/user-id/3644410), the link you shared is not working, can you please share accessible link.
Support for PostgreSQL 11 in Bamboo 6.10.4 and up?
Asked by Michael Benz:

After reading up on the latest Issue about [support for PostgreSQL 11 in Jira: JRASERVER-68578](https://jira.atlassian.com/browse/JRASERVER-68578) I think we might just need to try an test this on our server. As far as I understand we can operate even on newer versions than the ones that are currently supported but loose support from Atlassian if we do - so we probably just have to find our on our own.

Is there an estimate when PostgreSQL 11 will be officially supported for Bamboo?

The latest Bamboo Server version 6.10.4 with the latest supported postgres version is: PostgreSQL 10 - <https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html>)


Answers:
author: Marcin Gardias
body: There is no date set yet.

FWIW, I run my local development environment on PostgreSQL 12 without any issues, so while we don't support it yet, we also don't have any reasons to believe it won't work.

comments: author: Michael Benz
body: Since we did not need to switch to PostgreSQL 11 we went by the supported 9.6


author: development_licensing_redwood_com
body: An issue was just created for us: [BAM-20864](https://jira.atlassian.com/browse/BAM-20864) unfortunately for me our corporate standard mandates PostgreSQL 11 databases, getting anything earlier installed is very painful. I would _love_ to see PostgreSQL 11 (and 12?) officially supported!


author: Marcin Gardias
body: Bamboo 7.1 has been released and it comes with support for PostgreSQL 11


Tags: postgres
how to run plans sequentially for a specific branch in a project?
Asked by sshrivastava22:

Hello,

i have a project structure like this :

Project XYZ

- Plan A

- Plan B

- Plan C

- Plan D

is it possible to configure a plan that runs all plans inside a project for a specific branch and also disable a plan ?

Like run all plans for a \`release\` branch and disable Plan C so it runs A, B and D only.


Answers:
author: Jeyanthan I
body: Hi [@sshrivastava22](/t5/user/viewprofilepage/user-id/3720832) ,

It is possible to configure all these plans to run sequentially by [configuring dependencies](https://confluence.atlassian.com/bamboo/setting-up-plan-build-dependencies-289276887.html). You can make PlanA as a parent for PlanB, and so on. This way, once Plan A is done running, it triggers other plans sequentially.

There is no option to disable a plan once it is finished running. Could you please elaborate the need to disable a plan once it is done running? If it is a plan branch, how about configuring [Automatic branch management](https://confluence.atlassian.com/bamboo/using-plan-branches-289276872.html)? This helps to clean up (disable) a plan branch automatically soon after there is no new commits in that branch.

You may also check if configuring a strict [Dependency blocking strategy](https://confluence.atlassian.com/bamboo/dependency-blocking-strategies-289276893.html) helps for your use case such that a particular plan doesn't run if it doesn't meet some criteria.

Hope that helps! If I misunderstood your requirement, please clarify.

Cheers,  
Jey
deployment is stuck for 473 minutes
Asked by Vikash Kumar:

how to make sure the build agents stopped if they run more than 3 hours


Answers:
author: Jeyanthan I
body: Hi Vikash,

It is possible to kill hung build processes automatically by just enabling the below 2 options under **Overview -\> Build monitoring .** This is explained in [this page](https://confluence.atlassian.com/bamboo/configuring-the-hanging-build-event-289277188.html).

If you are running a Bamboo version before 6.4.0, you will have to install [Hung Build Killer for Bamboo](https://marketplace.atlassian.com/apps/848939/hung-build-killer-for-bamboo?hosting=server&tab=overview) plugin manually and configure this option.

Hope that helps!

Cheers,  
Jey

comments: author: Vikash Kumar
body: thankyou... that really helped me a lot


author: Jeyanthan I
body: Yay! I'm glad it helped :)

Cheers,  
Jey
Why does my working directory on the build engine get cleared when I don't tell it to clear?
Asked by Brent Knab:

I am trying to test uploading a .nupkg file to artifactory from Bamboo. The part of the Bamboo job that builds the .nupkg is not working.

I want to build the .nupkg file manually on the build engine server, then run the Bamboo plan to do the deploy to artifactory. However, when I try to run the job, the working directory clears itself before it does any of the job steps in Bamboo.

I've checked all the settings I can think of, but I can't find anything that clears the working directory that is not disabled.

Any suggestions?


Answers:
author: Jeyanthan I
body: Hi Brent,

I'm not sure how you have configured your plan. Didn't your build log hint you with something? Usually, a cleanup is explicitly recorded when it happens.

As you said that the build working directory is getting cleared, could it be that you have enabled **Clean working directory after each build** option in your job under 'Other' tab? This option removes the source directory after each build.

It is also possible that you have a *source code checkout* task in your job where **Force Clean Build**option is enabled. This option will also remove the source directory and checks out the source again prior to each build.

If none of these are enabled, check if you have any script task that is configured to delete this directory manually.

Cheers,  
Jey
MSBuild locks up just before creating the DLL
Asked by Carl Davis:

Given:

* Using Bamboo version 6.10.4 build 61009, 21 Nov 19
* Running on Windows server 2012
* Starting builds manually using start-bamboo.bat
* Using MSBuild to compile C
* License is the $10.00 version, recently paid

Issue:

When the compile starts, the obj are Making and made, but when it gets to :myprogram.lib : myprogram.exp changed" it locks up. I thought it was just slow so I left it there for an hours, and it was still hung.

If myprogram.sln is compiled in the IDE, it compiles ok. If I call the compiler via the command line, it compiles ok. If I call MSBuild through Bamboo, it hangs when creating the DLL. If I use Bamboo and setup my Default Job to use the Command Line task instead of MSBuild built in task to call MSBuild, it hangs.

I have passed MSBuild the .sln and the project file, it does not matter, Bamboo still hangs.

Are there any MSBuild configurations that are know to work?

Any ideas at all why this hangs when generating the dll?

Thanks,

Carl


Answers:
author: Jimmy Seddon
body: Hi [@Carl Davis](/t5/user/viewprofilepage/user-id/3671305),

Welcome to the Community!

We have been using Bamboo for quite some time, most of our builds are C#, those we have recently started using .NET Core and we still have once legacy C++ build that happens.

When you mention that running via MSBuild directly without using Bamboo works is that being done on the same machine that Bamboo is installed on?

The first thing that comes to mind for me when I hear things are hung is if enough system resources are available for the Bamboo server.

I start by clicking on the admin cog in the Bamboo interface and in the left hand menu go to the very bottom and click on the "Troubleshooting and support tools link" Then in the main page that comes up click on the log analyzer tab and wait for it to load. This will give you a summary of all the errors that are being reported in your system log file. I'd start by looking there to see if anything is wrong.

I hope that helps!

-Jimmy

comments: author: Carl Davis
body: Thanks for the suggestion Jimmy.

"Hercules didn't find any known problems in the following log file:"

Good suggestion and I will monitor that location in the future.

And, yes to your earlier question. Same box (vm), same code base, same folders listed in the command line options, etc. Sometimes I wish there were more detailed logging to what is going on. MsBuild does not report anything in the Bamboo logs, there are no errors from Bamboo, nothing. MsBuild just hangs and reports about 53% CPU usage in Task Manager. If I use TaskManager and kill MsBuild, Bamboo knows it stopped and continues with the log stating "Failing task since return code of ...MsBuild ...rsp was 1 while expected 0".

But, if the same folders, same machine, same everything is run at the command line, it succeeds but fails with Bamboo. I'm basically at a loss.

There wouldn't happen to be a limit to the size of the .dll produced in Bamboo, right? My resulting dll is just over 20 Mb, but that would be the MsBuild, and not Bamboo. Right?

Thanks,

Carl


Tags: ms-build
See full build history
Asked by Nico_Jahn:

We can see the build results of the latest 10 builds. Where does Bamboo provide the complete build history. There are no expiries involed, Bamboo just display the results of the last ten builds in the Plan Summary.


Answers:
author: Alexey Chystoprudov
body: Go to History tab of build summary

![Capture 2020-01-21 at 14.43.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/79807i5FBE74E225B9FAE5/image-size/large?v=v2&px=999 "Capture 2020-01-21 at 14.43.50.png")

comments: author: Nico_Jahn
body: Apologies. Me dumb :-D


Tags: build

history
How to preserve results and logs after changes in the plan configuration?
Asked by Nico_Jahn:

We fail to find build results from older builds after we manipulate the plan confuration.

We have a buid plan with three stage, let's call them:

* Checkout Build
* Test
* Publish

Now we decide to Build and Test in one step, so we change the plan to:

* Checkout Build Test
* Publish

**Observed Behaviour**   
All the result and logs from the previosuly existing stage "Checkout Build" are not accessible anymore. The stage still appears on the result view of previous builds, but no jobs of them are displayed.

**Expected behaviour**All results and logs of the build jobs are always accessible, independently from the previous and current configurations.

**Question**   
How can we preserve all build results and all the log files which are produced during the build process, even if the plan configuration has changed?


Answers:
author: Marcin Gardias
body: You need to upgrade to Bamboo 6.10.

comments: author: Nico_Jahn
body: Thanx for the hint. The update did it.

Just out of curiosity: Was that recognized as a bug or a missing feature?


author: Marcin Gardias
body: Does it matter? ;)

This is something we realized is necessary to support plan branches better (see: <https://jira.atlassian.com/browse/BAM-14215> for instance) and it was simpler and made a lot of sense to implement it for all cases where plan configuration stored in DB doesn't match the results.

So, you can say, it started as a (seemingly unrelated) bug and the we realized the best way to fix the bug is to add a missing feature as well.


Tags: build

log

plan
How to delete intermediate shared artifacts in Bamboo?
Asked by Tarun Sachdeva:

We generate certain artifacts in the initial code checkout stage of the build process (compiler fetch from git) and these are used for further stages. Since, they are shared artifacts used in the next stages, we have to add them as artifacts in the initial code checkout stage.

After the build process is over, we do not wish to retain these intermediate shared artifacts from the initial stage. Is there any way to delete them in the final stage?

If not, then is it possible to manually delete these artifacts selectively from UI/API? Right now, selective artifacts deletion is not possible for a build in UI. All artifacts get deleted together.


Answers:
author: Nico_Jahn
body: As a "workaround" you could create a ScriptTask and delete those artifacts by shell command. Surely not the answer you are looking for, sorry ;)

comments: author: Tarun Sachdeva
body: I don't think deletion of the shared artifacts on bamboo server via some shell/script is a good idea, considering that it is possible to identify the path of the shared artifact.

As per an old post, it appears there is no way to delete the shared artifacts.

<https://community.atlassian.com/t5/Bamboo-questions/Bamboo-shared-workspace/qaq-p/136784>


author: Nico_Jahn
body: One should know the path of the artifact, since it is defined along with the artifact. It is then stored inside the \<bamboo-home\>/xml-data/build-dir/\<JobKey\> folder, where JobKey is the key of the Job where the artifact is used (ArtifactSubsription). But I don't know, if it is a good idea to delete the file on the file system, while bamboo holds a link in the Stage\>Artifacts View


Tags: artefact