youngmon/atlassian-qna huggingface dataset:
How do I get weekly board summary reports that are emailed to not send as blank
Asked by Katie Crum:

I've been working more with automation and reporting for my job, ad I've gotten the automation set up for a weekly summary of the whole board of about 20 cards, to send every Monday now. But when I run the automation the emails that are sent our with the report are blank; this happens even when I manually trigger the automation. Is there someone that might be able to help me with this?


Answers:
author: Hannah Humbert - Simpla Workflows
body: [@Katie Crum](/t5/user/viewprofilepage/user-id/5429225) welcome to the community ? I'd recommend following [this guide.](https://support.atlassian.com/trello/docs/creating-reports-with-butler/) A common oversight is to leave out the report variable {$report}.
Access to a Company's Trello as a Freelancer
Asked by Brooke Fisher:

I am looking for how to get access to my company's Trello boards, but here's the catch. I used to work for this company on their payroll, so I set up these boards with my company email. I no longer work under their payroll, but instead work for them as a freelance social media consultant. I still need access to these boards, but I no longer have my company email.

The manager has tried to invite me onto these boards with my new business gmail, but it won't allow me access without a company email. I DO have an Atlassian account with this gmail by the way.

What do I do? These boards have months of content ideas outlined on them, and I need access to those ideas.


Answers:
author: Gaurav Kataria
body: Brooke, it could be that your company Admin has restricted sharing access to only users on the company domain email. The admin will have to either remove those restrictions or give you a new email address under the company domain (many companies often give contractors a company email address for precisely managing their access to corporate systems). I hope this helps. More details are available here <https://trello.com/guide/enterprise/manage-permissions>
Why are due dates not matching under the account of the other person who has access to mine?
Asked by Am?lie Pelletier:

Hi,

My tutor has access to my boards, but the due dates for each cards are all a day later than the date I have entered and what is showing under my account. We are in the same time zone and her account setting all seem right.

Please advise.

Thank you.

Amelie


Answers:
author: John Connolly
body: Hi [@Am?lie Pelletier](/t5/user/viewprofilepage/user-id/5429168) - I don't have any direct answers for this, except that maybe there is a server which has its timezone set differently if all of the user profile timezones appear correct?

Take a look through the threads on the Atlassian Community - there are others who have experienced similar issues and you may find more clues there. Here are a couple of places to start:

**[Why are Due Dates on my Assignee's filter one day ... (atlassian.com)](https://community.atlassian.com/t5/Jira-Software-questions/Why-are-Due-Dates-on-my-Assignee-s-filter-one-day-off-from-the/qaq-p/2455802)**

**[Due date differs by one day in between the filter ... (atlassian.com)](https://community.atlassian.com/t5/Jira-Core-Server-questions/Due-date-differs-by-one-day-in-between-the-filter-list-and-the/qaq-p/820285)**

also this:

<https://confluence.atlassian.com/jirakb/set-the-timezone-for-the-java-environment-323392719.html>

Good luck!
I am looking for a way to schedule a comment after a set period of time after a card is moved
Asked by Terry Crawford:

The title says it all really. We use Trello as a live interactive service board and when we are finished with a service call, we manually move the call to the **'Call Completed'** list. Closing that ticket is done through a separate operation/program and the bean counters like to constantly remind us in service to close out our tickets in a timely fashion.

My goal is to set up a reminder comment on the recently moved card that is triggered when the tech moves the card to **Call Completed** to message that tech 3 days later.

Can this be achieved?


Answers:
author: Dreamsuite Mike
body: You can use a due date automation for this.

**Automation 1 - Rule**

```
When a card is moved into the list "Call Completed", set the due date in 3 working days
```

**Automation 2 - Due Date**

```
the moment a card in list "Call Completed" is due, post comment "@card this is a message for you"?
```

If you want to learn a little bit about the different types of automations and how to get to them, have a look at this article here:

<https://community.atlassian.com/t5/Trello-articles/Bite-sized-Learning-Trello-Automation/ba-p/2558771>
Automation/Rules
Asked by Steffen Fj?rvik:

Suddenly my automation/rules stopped working. I think maybe it was because I moved a list to the left but then back in place. Not that I think that should interfere with anything...

I have checked to see if the automation still applies for my board and it does. Or at least it should...


Answers:
author: John Connolly
body: Are they definitely each enabled? Does the automation activity log for the automation reveal anything?
Has anyone else experienced automations not running when you know they work?
Asked by Ost:

At least some of the automations on my board aren't running, and when i look at the notifications of ones that didn't run right I see this, "Requesting card to check trigger condition(s).  

Anyone else experience this? Can (formerly known as) Butler not find the card? But it's in the board!   

(This board has been running for awhile without any noted issues, so I know the automations were previously functioning.)  

![Screenshot 2024-02-13 104455.png](/t5/image/serverpage/image-id/306160iD995A66E29B3B258/image-size/large?v=v2&px=999 "Screenshot 2024-02-13 104455.png")


Answers:
author: Alina Kurishko
body: Hi there,

Thanks for raising this question!

I see you've already submitted a Trello ticket about this issue. My colleague has already reached out to you in ticket TRELLO-185420. If you're still experiencing this trouble, I'd suggest you follow up on the open ticket.

Hope we get to resolve this issue together soon! ?

Alina \| The Trello Team
wich collation to choose postgresql 9.6
Asked by Ana Gomez:

Hello,

We are going to install Bamboo 6.7. We need to now wich collation and encoding to choose on postgresql 9.6.

Thank you.

Regards.


Answers:
author: Daniel Santos
body: Hi [@Ana Gomez](/t5/user/viewprofilepage/user-id/1299678),

The default collation and encoding of Postgres will work as expected. Creating a database as per [PostgreSQL - Atlassian Documentation](https://confluence.atlassian.com/bamboo/postgresql-289276816.html) will do the trick.

Both "C" or "POSIX" should work and the encoding set to UTF-8.
Bamboo build results not accurate as displayed in Jira issue "development" view
Asked by carl sjoquist:

We see Bamboo results that "build failed" for a JIRA issue, but when we go to that Bamboo link, all builds show as succeeded. Is this a configuration error or what is this telling us?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I hope some other plan is include jira issue key or as test.

<https://confluence.atlassian.com/bamboo/integrating-bamboo-with-jira-applications-289276945.html>

Cheers,

Gonchik Tsymzhitov


Tags: development

jira
Bamboo Global Expiry - Alternative?
Asked by Tim Finch:

Hi,

We are in the process of implementing the Bamboo Global Expiry policy in a large scale deployment of the tool.

Quick question before we go ahead an implement this.

Has anyone come across any alternatives that do the same thing? Are there any apps/plug ins for Bamboo that have the same/similar functionality that would be worth checking out prior to implementing this?

Thanks

Tim


Answers:
author: Gonchik Tsymzhitov
body: Hi!

We are using

1. Global expiry

2. Overriding Expiry on specific plans

3. Continuous cleanup on Bitbucket side by REST API and Bamboo side as well (<https://pypi.org/project/atlassian-python-api/>)

4. Weekly clean repo cache

5. Clean and compress logs policy

Cheers,

Gonchik Tsymzhitov
Using Bamboo to build and publish a .NET Core app
Asked by Shaun Blackmore:

I have a .NET Core 2.0 application being built and published to PCF. I have all my stages and scripts to build and publish to PCF working correctly. The problem is one of the dependencies nuget package is built by the DotNetCore.Version 2 agent in Bamboo is downloading an older version of the package. The app is looking for assembly.dll v2.0 but when Bamboo builds the app it publishes assembly.dll v1.0. The app.deps.json has the correct version number but somehow that does not work. I tried to add a script to dotnet add the nuget package just before the dotnet publish command but it still download the assembly.dll version 1.0.

Is there anyone who can assist me in figuring how can I get the dotnetcore agent in Bamboo to download the right assembly version when publishing the app?

FYI - I did add the assembly file directly to the source code and to copy it to the bin dir when it builds but the publish command still overwrites this assembly.


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Sorry, better way is fix build stages before start deployments and build msi shared artifact

<https://campus.barracuda.com/product/networkaccessclient/doc/77400396/how-to-build-an-msi-package-from-the-exe-installer/>

then through deployment plan deploy those shared artifacts

Cheers,

Gonchik Tsymzhitov
Bamboo CI and Salesforce DX
Asked by Deepak Gupta:

Hi there!!!

is there any reference implementation of Bamboo CI using Salesforce DX?

Deepak


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Please, checkout these threads

<https://salesforce.stackexchange.com/questions/237793/how-to-setup-bamboo-with-salesforce-cli>

<https://community.atlassian.com/t5/Bitbucket-questions/Steps-to-use-Bamboo-for-Salesforce-deployment/qaq-p/778043>

Cheers,

Gonchik Tsymzhitov


Tags: bitbucket
How to use bamboo variable inside of executable?
Asked by Charles Patton Jr:

I have an executable that I want to share across all agents that simply references a global bamboo variable in the path like ${bamboo.myPath}\\bin\\prog.exe, myPath is defined in my global variables inside of bamboo but when the command runs, it's not replacing ${bamboo.myPath} with my global variable? Is it possible to use global variables in the definition for executable paths?


Answers:
author: Daniel Santos
body: Hi [@Charles Patton Jr](/t5/user/viewprofilepage/user-id/1165560),

If your variable is correctly declared this should work for you (assuming you are on windows):

```
%BAMBOO_MYPATH%\bin\prog.exe
```

Variables should be referenced in a different manner when used on terminal or scripts. Please take a look at the comment below that should be also visible in the global variables page:
> For task configuration fields, use the syntax ${bamboo.myvariablename}. Bamboo also supports nested variables. For instance, if you set variableName = world, and variable.value = Hello ${bamboo.variableName}, Bamboo will resolve it as Hello world. For inline scripts, variables are exposed as shell environment variables which can be accessed using the syntax $bamboo_MY_VARIABLE_NAME (Linux/Mac OS X) or %BAMBOO_MY_VARIABLE_NAME% (Windows).

Please let us know if that resolves the issue.

comments: author: Charles Patton Jr
body: I tried a few different versions of the environment variable structure you listed, like %BAMBOO_MYVARIABLE%, %bamboo_myvariable%, %bamboo_my_variable% and none worked.

Each time I can see in my logs it's unable to resolve because it's not actually placing my global variable into the command.

Is there some guidance as to how the spaces are determined in the variable name? Could that be my problem?

Please let me know if there's more information I could provide.


author: Daniel Santos
body: Can you try this in your script task?

```
echo dir > dir_command.bat
%bamboo_working_directory%\dir_command.bat
```

??Please make sure you set the interpreter to "**shell** " or "**bin/sh or cmd.exe**".

What are the results you get?


author: Charles Patton Jr
body: Just to clarify this was not with a script task. This is in the global executable where it simply asks for a path.


author: Daniel Santos
body: Can you tell me how the command failing is called?  
What is the task involved?


author: john livingston
body: I also fumbled with this as documentation is not specific (or may even be considered misleading.)

For the question -

"Is it possible to use global variables in the definition for executable paths?"

The answer is no, bamboo variables cannot be used when defining a command task's executable path. Instead, a script task must be used.
Execute Bamboo Build plan from slack
Asked by Juan Pablo Realini:

Hi... Anyone knows if it is possible to execute a Bamboo build plan from slack? In our company we used Hipchat, and we had a plugin or something that allowed us to type a command in a special room in order to trigger a build in Bamboo... But haven't been able to find anything like that for slack...

Thanks


Answers:
author: Gonchik Tsymzhitov
body: Hi!

It is possible we are using this chain

<http://errbot.io/en/latest/>

<https://pypi.org/project/atlassian-python-api/>

for to do it.

Cheers,

Gonchik Tsymzhitov


Tags: app

slack
Linux remote agent build fails with env size message?
Asked by Jeff_Schaeffer:

When running a build (first one triggered with merge) the build stalls and eventually fails. Upon rerunning manually the build succeeds. Repeatable.

In the log there is a warning message just prior the stall that says:

"The size of environment is 4862, make sure your build environment handles this correctly"

Is the build running out of java env and if so, how can I bump that up?


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Jeff_Schaeffer](/t5/user/viewprofilepage/user-id/2579819),

This is a message that informs you that there are a lot of environment variables configured on the system.

There is a kb article about the issue and the recommendation is trimming down the variables.

[Build fails because the environment block used to start a process cannot be longer than X bytes](https://confluence.atlassian.com/bamkb/build-fails-because-the-environment-block-used-to-start-a-process-cannot-be-longer-than-x-bytes-814197338.html)

comments: author: Jeff_Schaeffer
body: Yep, saw that, the error is different but has some similarities I agree. If I were to run out of env I'd expect and error similar. So how do I go about bumping that env space up as there aren't an excess amount of variables (No Globals, No Plan level, only scripting)?
Migrated to a different database
Asked by lweston_alcumusgroup:

Hi,

We have migrated our bamboo database from Microsoft SQL Server to MySQL. After moving to the new database, we seem to have lost all deployment history on our projects. I've checked the database and the deployment_results table is populated. All other information seems to be ok, build history, variables, user accounts, etc.

Do you know of a way to get the information showing in bamboo again?

Any help would be much appreciated.

Thanks,


Answers:
author: Francesc_Arb?
body: Hi [@lweston_alcumusgroup](/t5/user/viewprofilepage/user-id/1733980)

in this url you have the official Atlassian documentation for moving the Bamboo database: <https://confluence.atlassian.com/bamboo/moving-your-bamboo-data-to-a-different-database-289277250.html>
Skip build step after PR fast forward merge
Asked by Jan Nylund:

Sometimes we got some slow running builds, that are built before PR can be merged. In the case of a fast forward merge, the git hash will be the same for next build started from master.

Normally this is not a problem, but in rare cases I would really like to bypass a few build steps if they have already been performed.

Any luck? The only thing I can think of is to keep an external key value db to keep track of this.


Answers:
author: Daniel Santos
body: Hi [@Jan Nylund](/t5/user/viewprofilepage/user-id/18236),

According to one of our Bamboo developers, an implementation to solve this issue would require a deep rework at Bamboo side. He shared also that it would be also hard to achieve this if you intend to work on a custom plugin for that task.

comments: author: Jan Nylund
body: Hey [@Daniel Santos](/t5/user/viewprofilepage/user-id/502125)

I know this is a corner case, but technically, it's pretty straight forward, all I need is a key value storage.

Use example.

- After successful test and build, I store git hash + build params + timestamp.

- Before build, I check the key value storage for git hash + build params + timestamp. If there is a recent success I bypass the step.

My use case for this is a corner case, and related to long running tests that bamboo is just watching. For now I think the most reasonable solution is that I build it outside of Bamboo and check the status with curl or similar. (short timeout so in case it's not available it just defaults to build).

I could probably build a Bamboo plugin that provides a rest api endpoint in Bamboo master for this key value storage and then check that each time a build is triggered... (I assume)


author: Daniel Santos
body: When you say bypass you mean that no build would be run for the commits already processed in a branch, right?  

The master branch, in this case, would miss part of the builds and would have all of them only when a new commit (different hash) is built if I understood you correctly.

* Have you tried to avoid the fast forward merge?
* Would this help?

Do you want to open a feature request for this and share your thoughts on our issue tracker?

This is how you can do if you want to share your thoughts there:

1. Go to <https://jira.atlassian.com/issues>
2. Log in with your Atlassian id.
3. Click the **Create** button in the top of the page.
4. Select **Bamboo (BAM)** on Project field.
5. Select **Suggestion** on Issue Type field.
REST - Search for available plan child dependencies - possible values for searchTerm
Asked by Maciej Miklas:

I would like to execute such call:

### /dependency/search/{projectKey}-{buildKey}/child?searchTerm {#toc-hId-1656789409}

<https://docs.atlassian.com/atlassian-bamboo/REST/6.2.3/#d2e1152>

What are possible values of *searchTerm*?


Answers:
author: Maciej Miklas
body: Looks like I'm not the first one having problems with this API: <https://jira.atlassian.com/browse/BAM-18666>

since this API is broken I have no use for it, so the question can be closed.

For now in order to get child plans I'm parsing HTML Page, it works fine.
Why are Bamboo agents still marked online after stopping them?
Asked by Charlie Misonne:

Here is something I've always wondered but never found an explanation for.

When stopping a Bamboo remote agent on the server the process properly stops.

```
systemctl stop bamboo_agent
```

However in Bamboo it will still be displayed under **Online Remote Agents**.

When starting the agent again the *live logs* display:

```
Jan 25, 2019 11:21:52 AM A remote agent is loading on agent.hostname.com (x.x.x.x).
Jan 25, 2019 11:22:05 AM Remote agent [agent.hostname.com] marked as inactive. A new one came in place.
Jan 25, 2019 11:22:05 AM Remote agent [agent.hostname.com] came back after a period of inactivity.
```

For me it is very strange that Bamboo registers the same agent but says **a new one came in place.**

Am I doing something wrong for years now? Or is this just the way it works?


Answers:
author: Daniel Santos
body: Hi [@Charlie Misonne](/t5/user/viewprofilepage/user-id/502263),

Yes, that is how it works by design. Bamboo server has a 10min timeout to consider the agent offline. If the agent goes down and comes back online before that time, you will see the messages you shared. The new agent will be considered a new entry and the old one will become inactive right away. In the end, you will have the same agent online again.

comments: author: Charlie Misonne
body: Hi Daniel

Ok that confirms what I assumed. It's not very intuitive though.

Thanks for your answer.


author: Daniel Santos
body: I've created this feature request to address this issue: [\[BAM-20275\] Reduce the time taken to identify an agent is offline](https://jira.atlassian.com/browse/BAM-20275).  
I suppose the error message would not be an issue if the agent state was updated faster. Let me know if you think we should adjust the feature request to better match your perception of this issue.


author: Charlie Misonne
body: Hi Daniel

Thanks for creating this feature request!

What I had in mind is: as soon as an agent is stopped manually this triggers Bamboo to know about it immediately. I'm wondering why this is time based.

Bamboo and the Bamboo Agents have a two way communication right? Or am I mistaken.


author: Daniel Santos
body: In fact, all communication is always started by the agents. The agent could inform Bamboo that it is shutting down itself, but we would still have the timeout for the cases when the process was killed not gracefully or crashed.  

That feature request had the intention to reduce this time for all the cases, but I will add this gracefull stop suggestion also.

The Bamboo server does not scan for agents, it just waits for requests. The agents use dynamic ports which makes it easy to have multiple of them in the same server without dealing with ports configuration. It is also better on performance perspective if the server didn't have this task to check all the agents (that could be hundreds).

I hope that can clarify this scenario better.
i couldn't create repository link for bamboo
Asked by ram babu:

hey experts,

i successfully able to create application link but i couldn't crate repository link can any one please help me out of it ![Screen Shot 2019-01-24 at 1.32.10 PM.png](/t5/image/serverpage/image-id/43555iB8D6DBC5D1187753/image-size/large?v=v2&px=999 "Screen Shot 2019-01-24 at 1.32.10 PM.png")


Answers:
author: Daniel Santos
body: Hi [@ram babu](/t5/user/viewprofilepage/user-id/2533977),

Can you share the messages you see in the server logs when you try to create the link?  

The server logs are located in the Bamboo installation folder. The files are different depending on the OS used:

* Unix like:

  ```
  <Bamboo_Install>/logs/catalina.out
  ```

* Windows:

  ```
   <Bamboo_Install>/logs/bamboo-stdout.<DATE>.log
  ```

These files are constantly filled with new log entries and we just need the ones created some seconds after you try to create the repo.  
?? Please make sure you remove any sensitive data from them.


Tags: bitbucket
Triggering bamboo build only if there is change.
Asked by radhakrishna swamy K:

As of now we do trigger builds on daily basis based cron trigger. But i would like to get the build triggered only if there is a change in repo. Is there a way to do this?


Answers:
author: Edwin Kyalangalilwa
body: Hi [@radhakrishna swamy K](/t5/user/viewprofilepage/user-id/1481545),

For this you'd use repository polling, under list of triggers. Then you can set how often the repo is checked. Default is 180 seconds.

![Screen Shot 2019-01-24 at 9.41.02 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/43536i42964F6195C6FBD8/image-dimensions/507x344?v=v2 "Screen Shot 2019-01-24 at 9.41.02 AM.png")

comments: author: radhakrishna swamy K
body: HI [@Edwin Kyalangalilwa](/t5/user/viewprofilepage/user-id/255918)

It seems like our forge team has disabled that option on bamboo. I will check with them.

Thanks for the info!!

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/43610i1BA340226C7D6A79/image-size/large?v=v2&px=999 "Capture.PNG")