youngmon/atlassian-qna huggingface dataset:
Why is my calendar power up not working on my Trello boards any more?
Asked by Kate:

Yesterday the calendar power up stopped working, on both boards where it's enabled.

When I click the calendar power up button the screen flickers like it's about to change to the calendar view but then goes back to the normal view. It does this on both boards where I use the calendar power up.

I've tried disabling \& re-enabling the power up. I've tried reloading Trello. I've tried restarting my laptop but nothing helps.

I spend most of my time in calendar view on those boards so losing it is a real issue!


Answers:
author: Alina Kurishko
body: Hi Kate,

Welcome to the Atlassian Community! ?

Hmm, I can't reproduce the issue you're describing as the Calendar Power-Up seems to be working as expected for me in several browsers.

Do you also use Trello in a browser? If so, I'd suggest first following the instructions available in this article: <https://support.atlassian.com/trello/docs/troubleshooting-browser-issues-with-trello/>

You can also try using a different browser to see if the Power-Up works there.

Hope this helps!

Alina \| The Trello Team


author: Kate
body: Hi Alina

Thanks for your help!

I should have thought of trying a different browser - it worked with Edge. When I disabled all my Chrome extensions that sorted it... even when I switched all the same extensions back on.

Appreciate the help, I'm lost without the calendar on those boards.

cheers

Kate

comments: author: Alina Kurishko
body: Yay! Glad to hear it worked, Kate ?

Hope you'll keep enjoying using Trello!

Alina \| The Trello Team
Bamboo Pattern match labeling - How to ?
Asked by Prabhat-Kumar:

Hi,

I have a automation test which run and create log file with all the passing and failing Jira's in it like REPORT-121 : PASSED or REPORT-122 : FAILED.

I want to scan the log file and pick all these and label the build with them.

So in Pattern match labeling i put below values  
Regex = REPORT-/d+  
Labels = \\1  

Error on label = The labels use the backreference "\\1" but the REGEX contains only 0 capturing group(s).

How can i achieve this ?


Answers:
author: Prabhat-Kumar
body: One of my co-worked helped me.

I needed to put that in the brackets like (REPORT-/d+)
How to get current branch name in Bamboo using Java Api
Asked by Alexander Boyarshinov:

I've created project using:

```
atlas-create-bamboo-plugin
```

And I need to get current branch name.

I'm trying to find some documentation, but only thing I found is <https://docs.atlassian.com/atlassian-bamboo/REST/6.2.5/>

Please help


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I hope this one was covered your request

<https://developer.atlassian.com/server/bamboo/java-api-reference/>

Cheers,

Gonchik Tsymzhitov


Tags: bamboo-app

bamboo-development
Triggering another build task (deploy or build type) after a set of other build/deploys have complet
Asked by lance_lyons:

Triggering another build task (deploy or build type) after a set of other build/deploys have completed.

In a typical environment deploy (actual bamboo build tasks) like to QA, we will deploy some 20+web sites, services, windows services, db updates, etc as a full deploy.

We would like to trigger a sanity test after all of these 20+ deploys to qa have finished. Right now we have a finished build trigger on what we consider the longest running deploy but this is not very reliable.

Is there a way to trigger another bamboo task/build after a set of other builds/tasks have completed?

On dependency builds is there a way to order the dependent builds and put one last?


Answers:
author: Foong
body: How about using this [REST API](https://docs.atlassian.com/atlassian-bamboo/REST/6.2.5/#d2e2106) to trigger other build plan?

comments: author: lance_lyons
body: Thanks Kah Loun Foong. That is exactly what we did. The only issue that we had is that a full deploy for us is some 20 sites, services, etc. I need to wait and have all of these done before I trigger. Its like I need to roll up the completion of all 20 app /service deploys into an AND gate before triggering the Sanity test.


author: Foong
body: Its a feature request <https://jira.atlassian.com/browse/BAM-14878>


Tags: bamboo-administration

bamboo-app

bamboo-development
Child plan never executes after successful run of parent plan
Asked by bherr@summitwireless.com:

A dependency was set up with Plan B (the child plan) in Plan A. If I run Plan A manually, Plan B never executes. If I run Plan A manually and then manually run Plan B (which requires output from Plan A), however, both successfully complete.


Answers:
author: bherr@summitwireless.com
body: Bamboo version: 6.5.0

Trigger config:

Plan A: none (plan started manually)  
Plan B: none

Dependency blocking settings:

Plan A: none   
(under Dependencies on the same page, Plan B is listed as the child)

Plan B: none  
(under Parent Plans on the same page, Plan A is listed as the parent)

Thanks.

mark a.

comments: author: Foong
body: What repository type used in both Plan?


author: bherr@summitwireless.com
body: Access to a repository is needed only in Plan A--the tasks are run under a local agent. The plan pulls from a Bitbucket repo and compiles the code.

Plan B runs under a dedicated remote agent, using a script that pulls the compiled code down from the machine that ran Plan A (via scp).

I can run Plan A manually, and the source is pulled and compiled. I can then run Plan B and the remote agent successfully fetches the binaries down to it's location.

mark a.


author: Foong
body: If the debug logging "com.atlassian.bamboo.event" is enabled at **Administration \> System \> Log settings** , does it show the following debug message in **atlassian-bamboo.log**

```
2018-06-21 17:25:10,690 DEBUG [10-BAM::PlanExec:pool-16-thread-2] [EventLoggingThreadPoolExecutor] About to run Future for com.atlassian.bamboo.v2.trigger.DependentBuildDetectionAction for CHAIN:<projectKey>-<planB>
```

Is there any error in the log after Plan A finish running?


author: bherr@summitwireless.com
body: The child build is running now--I can't give you an explanation as to why, but I can initiate the parent plan either manually or by scheduling it, and both plans do run. Thanks for your help on that.

Having a separate issue now with "Host key verification failed" when attempting to scp files from the Bamboo server to the remote agent machine. The remote agent is running under the same linux account for which the keys were generated and shared with the Bamboo server. From a terminal on the remote agent machine and logged in as that user, I can execute the same command line as the remote agent task and it succeeds. Do I (somehow) have to associate that username with the remote agent task?


author: bherr@summitwireless.com
body: I'll open this up under a separate thread--thanks for your help.


author: Foong
body: What is the Bamboo version?

What is the trigger configured in Plan A and B?

What is the Dependency blocking strategy configured in Plan A and B?
How to get Docker Runner to execute a script file
Asked by Tom:

I am trying to run a script, simply at the moment echo "Hello World", as a test in a Docker Container.

However everytime I run it, I get this error: /tmp/runInDocker3175335587790858575.sh: line 4: /var/atlassian/application-data/bamboo/temp/-ScriptBuildTask-5210433219306556827.sh: not found


Answers:
author: Foong
body: Is the default mount volume at **Plan Configuration \> Stage \& jobs \> jobName \> Docker tab** edited?

The error happens because the default mount volume for **${bamboo.tmp.directory}** is removed.


author: Edwin Kyalangalilwa
body: Hi [@Tom](/t5/user/viewprofilepage/user-id/1531367),

Look into using the [Bamboo Docker task](https://confluence.atlassian.com/bamboo/configuring-the-docker-task-in-bamboo-720411254.html).

![Screen Shot 2018-06-19 at 14.34.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/24924iEF62971C2C8310C0/image-dimensions/590x543?v=v2 "Screen Shot 2018-06-19 at 14.34.16.png")
Bamboo Yaml spec plan requirements
Asked by uknami:

Hi,

Is there any detailed information about how to setup job requirements with exists, matches operations.

I am trying to use the bamboo yaml specs but it just can't see the requirement being set

here is my

```
project:
 key: IT
 plan:
 key: CIINF
 name: Test Build
stages:
 - jobs:
 - scripts:
 - echo 'Going to slay the red dragon, watch me'
 - sleep 1
 - echo 'Nailed it'
 requirements:
 - system.builder.command.DotNet
 
```

The above code does not detect any agents with the above capability but there are. What am I missing?


Answers:
author: Foong
body: Do you mean that the requirement isn't set at **Plan Configuration \> Stages \& jobs \> Job 1 \> Requirements tab** ?

Or is it showing no agent able to build it?

The capability is case sensitive. Check if the capability configured for the agent have the same case "DotNet" or it have different Capital Letter.
Bamboo SQL Query to list all the disabled plans
Asked by swathi K:

I'm looking out for an SQL Query which can find out all the disabled plans in bamboo.

Thanks in Advance


Answers:
author: Foong
body: ```
SELECT * FROM BUILD
WHERE SUSPENDED_FROM_BUILDING = TRUE
AND BUILD_TYPE IN ('CHAIN','CHAIN_BRANCH')
ORDER BY FULL_KEY;
```

CHAIN is main plan while CHAIN_BRANCH is branch plan


author: Gonchik Tsymzhitov
body: Hi!

May I know what is the your purpose?

I have met sometimes with issues releated for cleaning disabled plans.

I am using this rest api <https://github.com/AstroMatt/atlassian-python-api/pull/47/commits>, or you can use this script <https://gist.github.com/sguillope/001c1f5574be3be3a595>

Also, keep in your mind this sql queries for fetch disabled

<https://confluence.atlassian.com/bamkb/how-to-query-plan-branch-details-from-the-bamboo-database-867032636.html>

Cheers,

Gonchik Tsymzhitov
MSbuild.exe and dotnet
Asked by Nay Myo Zaw:

I have setup Bamboo server in Ubuntu. My question is, does msbuild.exe and dotnet(command) is equal in Linux Server? Which command do I have to use to build and deploy in Linux for .Net application?

Thanks


Answers:
author: Gabriel Ribeiro
body: Hi Naymyozaw

Bamboo currently does not support .NET builds on Linux machines, we do have an open improvement request aking for this but, although this has a potential of bringing value to Bamboo users community, we will not be working on this in the foreseeable future.

Improvement request:

* [BAM-18836-.Net Core support for Linux](https://jira.atlassian.com/browse/BAM-18836)

I encourage you to vote on and watch the Improvement Request to increase its visibility and ensure you're kept in the loop with any future updates.

For more, please visit the [Atlassian implementation of new features policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) page.

thanks
bamboo.plan.directory.info.rest system property is disabled by default. How to set it to local?
Asked by Nikita Bedmutha:

As per <https://confluence.atlassian.com/bamboo/plan-directory-information-rest-api-750396160.html>, 'bamboo.plan.directory.info.rest' property is set to disabled by default. I want to make teh REST call to /rest/api/latest/planDirectoryInfo/{planKey} but i am getting 401 Access denied. I suspect we need to modify the disabled property to local or authenticated. But where to find this property? in which file ?


Answers:
author: Steffen Opel _Utoolity_
body: As outlined in more detail within [Plan directory information REST API](https://confluence.atlassian.com/bamboo/plan-directory-information-rest-api-750396160.html), the "bamboo.plan.directory.info.rest is a system property with the following settings":
> disabled (default)  
> The plan directory information REST API is disabled and all requests will be rejected
>
> local  
> The plan directory information REST API is available without authentication to any request originating from localhost
>
> anonymous  
> The plan directory information REST API is accessible anonymously
>
> authenticated  
> The plan directory information REST API is accessible to any authenticated request
>
> authenticated-admin  
> The plan directory information REST API is accessible to any request authenticated as an administrator
>
> \[...\]

Please refer to [Configuring your system properties](https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html) for details on the various options "how to set Java properties and options on startup for Bamboo".

comments: author: Nikita Bedmutha
body: Thanks


author: Alexey Matveev
body: Hello,

401 error means that you are not authenticated. How do you make the REST call? Do you pass the authorization info?

comments: author: Nikita Bedmutha
body: Yes, I pass the username and password as Basic Auth
how to use artifacts in different bamboo plan?
Asked by Bill Wang:

With bamboo yaml specs document (<https://docs.atlassian.com/bamboo-specs-docs/6.3.0/specs-yaml.html#job-artifacts>)

I can set shared artifacts.

But how can I use the artifacts from another bamboo plans with bamboo yaml specs as well?


Answers:
author: Foong
body: YAML feature is limited. Feature request <https://jira.atlassian.com/browse/BAM-19944>

Use Bamboo Java Specs to have Download Artifact task <https://docs.atlassian.com/bamboo-specs-docs/6.5.0/specs-java.html#using-a-shared-artifact-in-another-plan>

You can try using this [docker image](https://hub.docker.com/r/atlassian/bamboo-specs-runner/) that have all required tools and dependencies to run Bamboo Java Specs too.

comments: author: Bill Wang
body: Thanks to mention the docker image (atlassian/bamboo-specs-runner), does the image's tag always match to bamboo server version?

Secondly, This image has no document, can you share me the usage or quick guide?

Thirdly, there is no Dockerfile for reference, normally I can't use it officially. Can you point me the repo url on how to build this image?


author: Marcin Gardias
body: The image tag matches the Bamboo version.


Tags: spec

yaml
No requirements specified for job. This job can be built by any agents.
Asked by Bill Wang:

When using bamboo yaml specs, I can't control to run the build on nominated bamboo agents. Sometime, it runs on windows agents.

```
No requirements specified for job. This job can be built by any agents.
```

I have set interpreter as below:

```
?- jobs:
     - scripts:
         - '#!/bin/bash'
         - make build
       interpreter: shell
```

What should I check and add the right agents as requirements in plan?


Answers:
author: Foong
body: Create custom capabilities (example: linux.os) in all linux agents and then configure YAML to use that capability.

<https://docs.atlassian.com/bamboo-specs-docs/6.3.0/specs-yaml.html#job-requirements>

comments: author: Bill Wang
body: I finally fixed with a label which is used for \`Exists\` only, not for equals, or matches

it is mentioned in above document:

> Implicit match type for requirements is **Exists** .


Tags: spec

yaml
Cannot access bamboo from browser ERR_CONNECTION_TIMED_OUT
Asked by Mark Bucknell:

Hi Support  

This morning I attempted to access bamboo via the browser and I cannot connect, I receive a connection timeout from Chrome ("ERR_CONNECTION_TIMED_OUT").   

This same issue occurred last week and the only way I could get it working again was a reinstall.   

The service stays it is running.   

I have attempted to restart the service and I am left in the same position. No modifications have been made to the firewall.  

I am on an ubuntu server on aws.   

What steps can I take from here?  

Regards  
Mark  

<br />


Answers:
author: Mark Bucknell
body: Looks like my network firewall is what is blocking me.
When building a plan, Bamboo is page-reloading like mad
Asked by CTL ENG Tools:

Hi!

For some reason, when I do a build of a plan, Bamboo constantly reloads the page.

I can stop/start the Bamboo service to see if that helps things, but am curious to know what's causing this behavior.

Regards,

-JK


Answers:
author: Jeyanthan I
body: If your build progress page keeps refreshing, it could be due to multiple reasons. Your catalina.out or atlassian-bamboo.log should tell you what's going on.

From my experience, I've seen it happening when an apparent deadlock is caused by Bamboo that is unable to acquire new database connections.

In other words, the number of database connections were not sufficient for Bamboo and it had to be increased. Your situation might vary and your logs should hint you.

comments: author: CTL ENG Tools
body: Thanks for the info!

OK, let me increase the max # of connections and see how that works out.

Regards,

-JK
How to mass change particular requirement in Bamboo Plans
Asked by Areg Vrtanesyan _Work_:

Hi Team

I am trying to mass update one of the lot of Bamboo Projects Plans Requirements and I am not sure how to do that.

Could you please help?

I was hoping that this could do a job but looks like that I can't update requirement by name.

```
acli bamboo --action updateRequirement --plan PRJ-PLAN --job JOB --id "something" --value "SOMETHING"Error: Unable to convert 'something' to a Long.
```

Could you please advise?

Regards,  
Areg


Answers:
author: Areg Vrtanesyan _Work_
body: I have done following:  

Run query against the database

```
SELECT
??? public.build.full_key,
??? public.requirement.requirement_id,
??? public.requirement.key_identifier,
??? public.requirement.match_value,
??? '$acli bamboo-server --action updateRequirement --plan "' || split_part
??? (public.build.full_key, '-', 1) || '-' || split_part(public.build.full_key, '-', 2) ||
??? '" --job "' || public.build.buildkey || '" --id ' || public.requirement.requirement_id ||
??? ' --value "<NEW VALUE>"' AS ACLI
FROM
??? public.build
RIGHT OUTER JOIN
??? public.requirement
ON
??? (
??????? public.build.requirement_set = public.requirement.requirement_set)
WHERE
??? public.build.build_type = 'JOB'
AND public.build.full_key LIKE '<PROJECT>-%'
AND public.requirement.key_identifier = '<requirement>'
AND public.requirement.match_value LIKE '<OLD VALUE>'
ORDER BY
??? public.build.full_key ASC ;
```

Grab a result from **ACLI** column

Create shell file like

```
acli='/some path/atlassian-cli-7.x.0/atlassian.sh '
?
<ACLI column from SQL above>
```

Hope this could help


Tags: bamboo-administration

bob-swift

cli
Unknown cipher data id 0
Asked by Alberto Gugliotta:

Hi Guys,

my bamboo server keeps crushing when I go inside a configuration page. The error is very generic: Internal server error

Looking the logs I have spotted the following:

\[ExceptionMappingInterceptor\] java.lang.IllegalArgumentException: Unknown cipher data id 0

Any suggestion?

Thanks,

Alberto


Answers:
author: Alberto Gugliotta
body: Found the answer here: <https://confluence.atlassian.com/bamkb/unknown-cipher-data-id-0-when-performing-certain-actions-in-bamboo-on-windows-after-switching-bamboo-to-run-as-a-service-923437107.html>

Thank you!
Adding dependencies in bamboo java specs
Asked by Chris Johnston:

Is there a way to get around this requirement for bamboo java specs?

* it's sufficient to compile your project with `bamboo-specs` and `bamboo-specs-api` dependencies only - don't add extra dependencies

We have a large number of repositories. Each repository has bamboo specs stored with it. However, many tasks defined in those plans are common.

As such, I'd like to create a utility helper class and put all of the job tasks within that utility. That utility class can then be versioned and published to a nexus repository -- which could then be used as a dependency within each bamboo spec plan.....

Right now, there doesn't seem to be a way to do this -- and I would have to have copies of the utility class in every single repository .... which makes one of the major points of moving the plan into code not very useful.... since I still have to edit every single plan in order to fix a bug in one of the common tasks.

Any help is appreciated.


Answers:
author: Gabriel Ribeiro
body: Hi Chris,

Did you try to set the dependencies at the BAMBOO_INSTALL/atlassian-bamboo/WEB-INF/classes/bamboo-specs-pom.xml file?

thanks

comments: author: Chris Johnston
body: I figured this out. I did edit the above file, in order to add a \<repositories\> section in there to point to our own nexus server. However, when I did this, I had \<snapshots\>\<enabled\>false\</enabled\>\</snapshots\> my utility class was currently building snapshot versions only. This ended up being the problem.

The \<dependency\> information seems to work properly in the project itself and I did not need to modify the 2 default dependencies in the bamboo-specs-pom.xml file.

Looks like the bullet in your product documentation is wrong, since it does work with additional maven dependencies.


author: pascalsnippen
body: How do you handle updates made in the utility? Do you have a trigger that all repositories update their specs?


author: Chris Johnston
body: It's not the best, but once the utility gets re-published to nexus, then you have to go back through all the repositories and trigger a publish-specs (mvn -Ppublish-specs).

I just created a script that will do this, and made it a plan in bamboo itself... so after a new utility version is published, you just go execute the "update all plans" plan which basically just iterates through all the repositories, does a shallow clone of each, goes into the bamboo-specs directory and runs mvn -Ppublish-specs


author: Hugo
body: Hello [@Gabriel Ribeiro](/t5/user/viewprofilepage/user-id/352687)

We are facing the same problem. I have one question about that file.

Are the changes persisted during bamboo updates?

Regards,

Hugo


author: Andrea_Di_Lisio
body: Hello [@Chris Johnston](/t5/user/viewprofilepage/user-id/1155629) ,

What do you mean exactly with this ?
> which basically just iterates through all the repositories

I'm interested in having something like this, but I cannot get a proper way of managing this. Is this something you just scripted or implemented along with Java specs ?

Thank you,

Andrea


Tags: spec