youngmon/atlassian-qna huggingface dataset:
Request to Cancel 14-Day Premium Subscription
Asked by Valeriya Jostin:

To whom it may concern,

Dear Support Team,

I hope this email finds you well. I am writing to request assistance with canceling my 14-day premium subscription. It appears that I have accidentally subscribed to the premium service, and I would like to revert to the standard plan before the trial period ends.

Could you please guide me through the steps to cancel this subscription? Your prompt assistance in this matter would be greatly appreciated.

Thank you for your understanding and support.

Best regards,

V.


Answers:
author: Kian Stack Mumo Systems
body: [@Valeriya Jostin](/t5/user/viewprofilepage/user-id/5300953),

I'm sorry to hear you are having trouble with that. Luckily, the process should be fairly straightforward. Please review the attached [KB](https://support.atlassian.com/subscriptions-and-billing/docs/manage-your-bill-for-standard-and-premium-plans/) and let me know if you run into any issues.

Thanks,

Kian
Trello Android app widget not showing anything
Asked by Juho Korhonen:

None of my cards show up on the Android app widget (on a Samsung Galaxy S20 FE). I've tried logging out and in again, clearing the cache, rebooting my phone, reinstalling the entire app, but nothing helps.  

I've been trying to search for a direct contact to Trello/Atlassian (there isn't one), browse the Trello support site, google, look at Youtube videos... Nothing. Nobody else seems to be experiencing this issue.

![Screenshot_20230824_172710_One UI Home.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/276974iC050C46C93CC832A/image-size/large?v=v2&px=999 "Screenshot_20230824_172710_One UI Home.jpg")


Answers:
author: Damien Dupuy
body: Hi,

I have a similar issue with a samsung s20fe:

The widget wont show the card without me to refresh it many time and open the app manually, then the card where i am affected shows up.

But after i little while, no cards anymore.

I think at first i didnt have this issue and found very practical this widget as i can go with only one touch directly to the card of the project i work on.

Can anyone help?


author: Alex W
body: Hey [@Juho Korhonen](/t5/user/viewprofilepage/user-id/5300691) - if you're still experiencing issues with this, feel free to raise a support ticket at <https://trello.com/contact>


author: Pham Chi Minh
body: Is there any way to change from "My Card" to other?


author: Sal
body: Hey [@Juho Korhonen](/t5/user/viewprofilepage/user-id/5300691)! Just wondering, are you assigned as a member to any of your cards? Because if you aren't, that would explain why you aren't seeing any cards when looking at the widget on Android. Try joining one of your cards and refresh the widget to see if it will populate.

comments: author: Juho Korhonen
body: Yeah, it seems like it. I don't understand why this has to be a requirement for solo projects like for me who uses Trello for personal planning, time management, GTD, etc. It's one more unnecessary click/tap for the user, having to assign yourself to every single card.  

I don't really feel like using that widget anyway, it's not very attractive and useable to be honest. I found the other widget (the bar with a direct access to your boards and adding a card) to be much nicer and more efficient. You can easily access the app itself that way. I started using that.
How to update global variables through a plugin?
Asked by vamsi k:

I'm trying to update a global variable that contains authentication token. This token must be updated every 90 days. what is the atlassian code to do so?

Found from online there is com.atlassian.bamboo.configuration.variable.ConfigureGlobalVariables. how to initialize it and add bamboo plan to run periodically and update authentication token.


Answers:
author: Alexey Chystoprudov
body: For reference you can check com.atlassian.bamboo.plugins.rest.admin.globalvariable.RestGlobalVariableServiceImpl#updateGlobalVariable

```
final VariableDefinition variableDefinition = variableDefinitionManager.findVariableDefinition(variableId);
/*or*/

variableDefinition = variableDefinitionManager.getGlobalVariables().stream().filter(byName).findFirst().get();

String preValue = variableDefinition.getValue();
variableDefinition.setValue("new value");
variableConfigurationService.updateVariableDefinition(variableDefinition, preValue);
```

comments: author: vamsi k
body: How do we initialize variableDefinitionManager?

If I have a global variable

key:fortify.auth.token

value: xxxxxx-xxxx-xxxx-xxxx-xxxxxx

Will String preValue=variableDefinition.getValue(); sets preValue to xxxxxx-xxxx-xxxx-xxxx-xxxxxx?

Will variableDefinition.setValue("yyyyyy-yyyy-yyyy-yyyy-yyyyyy"); save global variable fortify.auth.token to yyyyy-yyyy-yyyy-yyyyyy perimenently {All the plans uses new value instead of previous value}?

_______________________________________________

can you provide me sample code that updates global variable in above case using

* com.atlassian.bamboo.plugins.rest.admin.globalvariable.RestGlobalVariableServiceImpl #
* updateGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId,RestGlobalVariable restGlobalVariable)

How to initialize uriInfo to a link http://xxxxxxx:zzzzz/kfdjg/dfd/

and restGlobalVariable?


author: Alexey Chystoprudov
body: add it

```
@ComponentImport
@Autowired
private VariableDefinitionManager variableDefinitionManager

or in atlassian-plugin.xml

<component-import key="variableDefinitionManager" interface="com.atlassian.bamboo.variable.VariableDefinitionManager" />
```


author: vamsi k
body: It is not reporing variableDefinitionManger bean not found error.

Can you say me jar to be includedin pom.xml?


author: Alexey Chystoprudov
body: ```
<dependencies>
...
<dependency>
  <groupId>com.atlassian.bamboo</groupId>
  <artifactId>atlassian-bamboo-api</artifactId>
  <scope>provided</scope>
</dependency>
...
</dependencies>
```


Tags: atlassian-sdk
How can I further optimise Elastic Agents to use EFS as a shared drive?
Asked by Martin Whittington:

Hi there,

<https://confluence.atlassian.com/bamkb/configuring-elastic-instances-to-use-efs-elastic-file-system-867015018.html>

We have recently implemented using an EFS volume for all our elastic agents to connect to. This enables us to have a shared maven repository. But our teams are complaining in regards to:

- Builds slowing down. Since moving to EFS the builds take longer. Are there ways we can optimise the builds or EFS config to improve this?

- Snapshot creation and access. A lot of our plans create SNAPSHOTS with the same name. Is there a way this could be managed better?

Thanks,

Martin


Answers:
author: Jeyanthan I
body: WRT builds slowing down, you can start investigating by looking at the agent build log and compare it with the previous logs. Different total times can be due to the network latency or Elastic agent memory usage and what not.

WRT plans create SNAPSHOTS with the same name, did you intend to refer release naming scheme? If so, you can specify how Bamboo handles release versioning, and control automatic incrementing between releases.

This page helps you [to name your bamboo releases](https://confluence.atlassian.com/bamboo/naming-versions-for-deployment-releases-361726798.html).


Tags: agent

elastic
Bamboo: Native support for Cucumber Report
Asked by Brent Bae:

I'm trying to integrate Bamboo with Cucumber BDD test reort so that BDD test result gets displayed along with bamboo build plan result.

But there is no built-in task available for Cucumber test report

So I searched such plugins in Atlassian marketplace but all of them are outdated, stopped supportedly recently, and not competible with latest version of Bamboo (v6.1.0)

So is there any other way to acheive this goal rather than install plugin?

Also I'm wondering if there is a plan for Bamboo to provide built-in support for Cucumber test report task in the future.

Thank you


Answers:
author: Jeyanthan I
body: I see [Cucumber for Bamboo](https://marketplace.atlassian.com/plugins/com.mdb.plugins.cucumberforbamboo/server/overview) add-on is responsible for just that. Upon installing, you can create a task and test Builds and Deployments.

As this add-on is not from Atlassian and doesn't support Bamboo 6.1.x yet, I recommend you to contact the vendor [here](https://marketplace.atlassian.com/plugins/com.mdb.plugins.cucumberforbamboo/server/support) to update it.

In the mean time, you can do either of the below.

* If you have the JAR file for the add-on, you can try to [install manually by file upload](https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload) method. It might work sometimes despite its incompatibility. However, doing so is not recommended, as it might break anytime.
* Download and install Bamboo 6.0 from [download-archives](https://www.atlassian.com/software/bamboo/download-archives) to work with this Add-on until an update is released by the vendor.


Tags: cucumber
Bamboo data migration from Postgres to MS SQL Server - tinyInt as boolean
Asked by Justin Bleach:

We're attempting to migrate Bamboo databases from postgres to SQL Server. We noticed that true/false in Postgres needs to be converted to a tinyInt in SQL Server.

What should the values map to? True = 1 and False = 0 ? We tried doing that and are seeing a couple different errors in the log file:

```
'Retrieving MANAGER-CIM' threw org.apache.commons.configuration.ConversionException: 'cleanWorkingDirectory' doesn't map to a Boolean object, aborting.

and

org.apache.commons.configuration.ConversionException: 'triggers.defined' doesn't map to a Boolean object
```


Answers:
author: Justin Bleach
body: During our conversion we accidentally changed some false values to "false" in the build_dscription table and that's where these errors came from.

It appears our assumption to use 1-0 for True-False respectively worked.


author: kiran jonnalagadda
body: better way to do this is using bamboo xml export and import feature.

you can export an entire site xml backup and restore it back after connecting to mssql database


Tags: ms-sql

postgres
Add time stamp to Bamboo plan/stage generated arftifact and push it to git
Asked by Albert Berto:

Hi guy's

I have Bamboo plan to run and generate a report on weekly bese.

Plan/Stage 1

-is checking out selenium script from git folder/folder A,

Plan/Stage 2

- runing selenium script with pom, which generate report into artifact, wher I can see the whole structure of git folde from which it has taken the script and pom.

GOAL:

During run of Stage 2 I want to add to this newly generated report in artifact Timestamp and push it into git folder/folder B.

Any ideas???


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Easiest things would be to use a "Script" tag and then use git commands to push the artifact to the desired repo. Would that work for you?
Unable to locate System Info for Bamboo
Asked by Robert Bryan:

I am running Bamboo 5.15 and I need to locate the System info. I can see it in Jira, but don't see anything for Bamboo.

Thanks for the help,

Robert


Answers:
author: Jeyanthan I
body: Hi, Did you mean this page?

**Cog icon-\> Overview -\>** **System Information** under System section in your **Bamboo administration** page

![BambooSystemProperties](https://community.atlassian.com/t5/image/serverpage/image-id/4839iB23FFB240AB53E65/image-size/large?v=v2&px=999 "BambooSystemProperties")

comments: author: Robert Bryan
body: Yes, that is what I need, However I don"t have a cog to get to that info.


author: Jeyanthan I
body: Don't you have a gear like icon in the top right corner?

Please share with us a screenshot.

You can also go directly by accessing this URL

```
https://your-bamboo-url:8085/admin/systemInfo.action
```


author: Robert Bryan
body: The direct URL worked, thanks
How we integrate stash with Bamboo, and deploy it to S3
Asked by vurukondanaresh:

Hi All,

I am new to Bamboo

I have integrated stash with Bamboo, but I could not deploy the repository to s3 bucket. Could some explain how de we acheive this functionality. Please let me know if you need any additional info.


Answers:
author: Jeyanthan I
body: Did you mean to deploy the artifacts to Amazon S3?

All you need to do is to use a Script task at the end of your build plan and archive the generated build artifacts using [AWS CLI](http://docs.aws.amazon.com/cli/latest/userguide/installing.html).

This [Bamboo Knowledgebase](https://confluence.atlassian.com/bamkb/how-to-automatically-archive-build-artifacts-to-amazon-s-s3-storage-707625682.html) might come handy for setting up the same.

comments: author: vurukondanaresh
body: Thanks a lot Jeyanthan


Tags: aws

bitbucket
Agent checking build queue for executables
Asked by ??????? ????????:

I install the remote agent on my computer. But the installation hangs with a message in the logs:

```
2017-08-15 16:22:22,708 INFO [0-BAM::mycomp::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Agent 5144580 checking build queue for executables...
2017-08-15 16:27:22,911 INFO [0-BAM::mycomp::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Agent 5144580 checking build queue for executables...
2017-08-15 16:32:23,124 INFO [0-BAM::mycomp::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Agent 5144580 checking build queue for executables...
2017-08-15 16:37:23,347 INFO [0-BAM::mycomp::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Agent 5144580 checking build queue for executables...
```

java version "1.8.0_144"

[Continuous integration](http://www.atlassian.com/software/bamboo/) powered by [Atlassian Bamboo](http://www.atlassian.com/software/bamboo/) version 6.0.3 build 60004 - 07 Jun 17


Answers:
author: harryfeng NA
body: I am having the same issue.

Whenever I tried to add a git checkout task, it will stuck at "checking build queue for executables" forever.


author: Jeyanthan I
body: Hi,

This log line is shown when the agent is checking the server for new builds. Your agent is already ready to pick up builds from the queue. If you have the right capability to build a plan, it should just pick from the queue and run it. How did you start the remote agent?

Did you start the remote agent like below?

```
java -jar atlassian-bamboo-agent-installer-x.x-SNAPSHOT.jar http://bamboo-host-server:8085/agentServer start
```

This [documentation](https://confluence.atlassian.com/display/BAMBOO052/Bamboo+remote+agent+installation+guide) explains what wrapper commands can be used other than **start.**


Tags: bamboo-administration

developer
Automatic Plan Branch creation for both pull requests and feature branches
Asked by Maurice F?hner:

Is it possible to automatically create plan branches on both a new pull request and a new feature branch creation?

Environment: Git / Bitbucket, Bamboo, Maven


Answers:
author: Alexey Chystoprudov
body: No, rationale behind this decision was "if you already have plan branch when new branch created in Git, why do you need another plan branch when PR created?"

comments: author: Noel McCrory
body: If the Pull Request was created from a Fork, then a branch plan won't have already been created.


author: Robert Dailey
body: Noel is absolutely correct here. If you use a fork-based contribution model for your team (no branches allowed on central repo), then you do not get builds and feedback from those builds until the PR is created. Much earlier on, you want to push commits to your fork and get build feedback prior to creating your pull request.

I think Bamboo should be trained to monitor new branches on all forks of a central repository and create new branches based on activity on the fork, rather than pull request events which occur near the end of the lifecycle of a feature or bugfix. This will allow better continuous delivery.


Tags: branch

plan
Is additionalBuildConfigurationPlugin module still functional with spring scanner ?
Asked by Julius Hutuleac:

Hi,

I have been trying to migrate to the new spring scanner, all modules of my plugins worked fine just additionalBuildConfigurationPlugin keeps failing - initially templateRenderer was null, now after adding inject for a templateRenderer:

@Inject  
private PlanManager planManager;  
@Inject  
private PluginLicenseManager licenseManager;  
@Inject  
private TemplateRenderer templateRenderer;

I get something new, still no progress:

java.lang.NullPointerException  
\[talledLocalContainer\] at com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin.getEditHtml(BaseBuildConfigurationAwarePlugin.java:84)

Can someone give a hint ?

Thank you,

Julius


Answers:
author: Julius Hutuleac
body: In the end had to copy a piece of code from bamboo itself, getedit and getviewhtml, unfortunatelly the component-import in xml is not working (when using the scanner) and without spring annotations templateRenderer is no longer available for those methods to work.


author: Oleg Efimov
body: [@Julius Hutuleac](/t5/user/viewprofilepage/user-id/1057895)for unknown reason some components (listeners, additionalBuildConfigurationPlugins) aren't scanned for dependencies correctly.  

Workaround is to add injection of the desired bean (in this case TemplateRendeder) to a Service, which is detected correctly.

So creating this bean in your plugin

```
@ExportAsService({DependencyHackService.class})
public class DependencyHaskServiceImpl implements DependencyHackService {
    @ComponentImport
    TemplateRenderer templateRenderer;

    @Inject
    public DependencyHaskServiceImpl() {
    }
}
```

makes TemplateRenderer available and e.g. additionalBuildConfigurationPlugin starts using it normally via setTemplateRenderer.

comments: author: Julius Hutuleac
body: Thanks Oleg, I will try it someday. Currently I have to fallback to previous build methods, component-import xml tags. Spring scanner is causing a mess in my dependencies, especially on the remote plug-in components.

Plug-ins having mixture of components server/agent side are affected badly.

Julius


author: Jonas Pedersen
body: I had the same problem, and this actually solved my issue. Thanks [@Oleg Efimov](/t5/user/viewprofilepage/user-id/1061001)


Tags: bamboo-app
Access build key in deployment plan
Asked by Salmaan Shikari:

I am writing a deployment plan to copy my website binaries a folder in my server.

In this plan I want to access a script that is has been checked into my code and hence is accessible in my build directory.

For example my script is located here:

\\\\usbamboo02\\bamboohome\\xml-data\\build-dir\\TEC-WI3-JOB1\\scripts\\script1.ps1

however when I am in my build plan I can't find the variable for "TEC-WI3-JOB1". I only see this: ${bamboo_planKey} which = "TEC-WI3". I can't find the "JOB1" part and don't want to hard code it in case it changes.

Does anyone konw how to get to the directory that I'm trying to from within the context of a deployment plan?

Thanks.


Answers:
author: Salmaan Shikari
body: Actually after thinking about this it probably makes sense to just push the scripts folder over as an artifact so it is accessible from the deployment plan. Thanks.
Unable to connect to bitbucket cloud
Asked by Gerhard Mudde:

After installing Bitbucket 6.0.2, I was trying to add a repository to our bitbucket cloud. However, when I click the button "Load repositories", I get an error "500 Internal server error" and on Save I see another error.

When I switch to GIT and manually enter all information, I am able to connect and work with it, but this has an error with line-endings that makes it not usable for us.


Answers:
author: Alexey Chystoprudov
body: Hello [@Gerhard Mudde](/t5/user/viewprofilepage/user-id/576370),

500 Internal server error produces some information in Bamboo logs. Please create request at support.atlassian.com and provide Bamboo logs for support engineers to find a solution for issue.


Tags: bitbucket

git
Sql query behind "Global expiry" job
Asked by Sofya:

Hi,

Does anybody can tell me the SQL query behind the "Global expiry" job? I want to have a dry run, just to see what I'm going to delete before I actually run the job.

I'd run it against my database to see the results.

My Bamboo server version is 5.14.3.1, database is MS SQL.

Thank you.


Answers:
author: Jeyanthan I
body: It is a fairly complicated task.

You can listen to the SQL query that it generates by enabling this page - [How to Enable Detailed SQL Logging](https://confluence.atlassian.com/bamkb/how-to-enable-detailed-sql-logging-243794401.html). (there will be a lot of noise though)

If you have a valid license, you can download the [source code](https://my.atlassian.com/download/source/bamboo) and review the corresponding class by yourself or raise a [support ticket](https://support.atlassian.com/contact/) with us.

Nevertheless, this sounds like a good feature request. I have raised one on your behalf. I encourage you to upvote it.

[Preview option before we run Global expiry job manually](https://jira.atlassian.com/browse/BAM-18621)


Tags: bamboo-administration
Can you wait and set Bamboo Variables in an inline script?
Asked by Jeremy Roelfs:

I am trying to fire up an EC2 instance, wait until it is a "running" state, then set a bamboo variable to the newly created instance id for use to deploy.  

Reference: [Bash script](https://gist.github.com/Pablosan/803422) . I know that is .sh and not windows, but it proves it can be done, and I am working on Windows 2012 based EC2 configurations.

So I set a Bamboo Variable via the Plan Configuration -\> Variables(tab)

Name: instance_id, Value: i-xxxxxxx

Then i have a script task (cmd, inline):

```
echo ${bamboo.instance_id}

EC2_RUN_RESULT=aws ec2 run-instances --image-id ami-xxxxxxx --instance-type t2.micro --key-name KeyName --security-groups launchSecurityGroup

set ${bamboo.instance_id}=EC2_RUN_RESULT.id
```

Doesn't work.

```
set ${bamboo.instance_id}="abc123"

echo ${bamboo.instance_id}
```

Only returns "i-xxxxxxx"

How do I set a variable? And how do I setup a loop that will wait until the EC2 Instance is in a running state?

Thank you in advance!


Answers:
author: Jeremy Roelfs
body: So I've answered most of the question(s) except how to pass variable to another task.

\|\|\|\| -\> Storing a variable.

You must use a Windows PowerShell (can be inline or a script)

```
$ec2_result = aws ec2 discribe-instances --instance-id a1234bc567defg --query "Instances[].State[].Name" --output | Out-String
```

Then you can use it where ever you need to

```
Write-Host $ec2_result
```

\*NOTE: make sure you add trim so you don't get errors. I.e.

\|\|\|\| -\> Waiting for an operation

In your Windows PowerShell (inline or script); this is how I did it.

```
$state = "pending"
Do{
? ? ? ? Start-Sleep -s 15
? ? ? ? $state = aws ec2 discribe-instance-status --instance-id $instance_id.Trim() --query "InstanceStatuses[].InstanceState[].Name" --output text | Out-String
} Until ($state.Trim() -eq "running")

```

So how do I pass the $instance_id to another script? I cannot assign it to a bamboo.variable?


Tags: script

variable