youngmon/atlassian-qna huggingface dataset:
ould not create file: D:\Bamboo\temp\bamboo-ssh.41538fd5.bat
Asked by achantasrinivas:

Hi,

I have installed Bamboo server and tried to run a maven project from bitbucket. But getting the below error. Gave all the permissions to temp folder. Still it is getting overridden and states permission denied. This is on windows laptop.

Recording an error: Plan 'MP-MP' could not be started. Exception: java.lang.RuntimeException: java.io.IOException: Could not create file: D:\\Bamboo\\temp\\bamboo-ssh.41538fd5.bat : MP-MP : java.lang.RuntimeException: java.io.IOException: Could not create file: D:\\Bamboo\\temp\\bamboo-ssh.41538fd5.bat


Answers:
author: Rafael Pinto Sperafico
body: Hi [@achantasrinivas](/t5/user/viewprofilepage/user-id/3019441) ,

Please, make sure permissions were granted to the user running Bamboo's process.

If you are running Bamboo as a Windows Service, please make sure that "local" user as described in <https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html> has permissions over the given directory.

Alternatively, you can define a different temporary directory by adding a property to the JVM:

    -Djava.io.tmpdir=/path/to/tmpdir

If you are running Bamboo as a Windows Service, this property must be added to the service as described in <https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html>

Otherwise, you can add the property to *\<bamboo-install\>/bin/setenv.bat*

Kind regards,  
Rafael
Changing language in Bamboo or Outside
Asked by Tarek Liedtke:

Hi i run bamboo inside a docker container. Currently all things seems to work but the only thing that not work is to change the language. There are no options to modify it, but if i choose the express installation it will give german as default, but in our case we used a custom installation and now all things are per default sets to english.

We also modify the JAVA_OPTS, there are now also including -Duser.timezine=Europe/Berlin -Duser.language=de -Duser.country=DE

If we now restart bamboo it stays in english but if we look into the system information in bamboo control panel the Timezone, Country and Language are set correctly. What we need to do ?


Answers:
author: Victor Debone
body: Hello [@Tarek Liedtke](/t5/user/viewprofilepage/user-id/1288154) :)

Currently the only supported language for Bamboo interface is English.

You can follow. give your feedback, and as well describe your requirements for Bamboo in another language in the suggestion <https://jira.atlassian.com/browse/BAM-13988>.

Victor


author: Tarek Liedtke
body: it means -Duser.timezone=Europe/Berlin -Duser.language=de -Duser.country=DE sry for the mistake
Cannot find vstest.console calling from command line
Asked by Greg Polito:

I am trying to use vstest.console, because I need to use the runsetting parameters. I am using the command prompt, because I am needing to call the runsetting file to grab the parameter, instead of getting the deprecated command that I can't think of right now.

Here is the command line script,

vstest.console.exe cit-xxx-automatedtesting.dll /settings:e:\\development\\cit\\cit-xxx-automatedtesting\\code\\dev-default.runsettings /TestAdapterPath:e:\\development\\cit\\cit-xxx-automatedtesting\\packages\\mstest.testadapter.1.4.0\\build\\_common (Executable is powershell)

This works on the server from any directory, because it is in the path. But when running from bamboo, it cannot find vstest.console. We are using the system user, not the localadminuser. Do we need to use the local admin user (and why?), or what can I be missing? Thanks for the help.


Answers:
author: Daniel Santos
body: Hi [@Greg Polito](/t5/user/viewprofilepage/user-id/343704)

I'm afraid that your **PATH** variable does not have the same value when Bamboo is running as LocalSystem account. You could check this through:

1. Add the command **SET** right before the **vstest.console.exe** call.
2. Run the command **SET** in the server terminal with a normal user account that can execute vstest.
3. Compare the results.

You need to make sure the **PATH** variable will have the needed reference to find the program you are trying to use.

?? Please keep in mind that you need to restart Windows when a change in system variable is performed and you want it to show up for in the service environment.  
Reference: [Changes that you make to environment variables do not affect services that run under the Local System account until you restart Windows](https://support.microsoft.com/en-us/help/821761/changes-that-you-make-to-environment-variables-do-not-affect-services)

We do recommend that Bamboo is run as a **local admin account** ([Running Bamboo as a Windows service as the local user](https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html)) to make sure apps running from it can have access to the user interface. Apps like **Selenium** have trouble to work when running with a LocalSystem account.  
> Services running in an elevated security context, such as the LocalSystem account, should not create a window on the interactive desktop because any other application that is running on the interactive desktop can interact with this window. This exposes the service to any application that a logged-on user executes. Also, services that are running as LocalSystem should not access the interactive desktop by calling the [**OpenWindowStation**](https://msdn.microsoft.com/library/windows/desktop/ms684339) or [**GetThreadDesktop**](https://msdn.microsoft.com/library/windows/desktop/ms683232) function.

Reference: [Interactive Services - Windows applications \| Microsoft Docs](https://docs.microsoft.com/en-us/windows/desktop/services/interactive-services)

I hope that answers your question.


Tags: developer

selenium
Upgarde Bamboo Server
Asked by Mustafa Said:

Hi there,

We need to upgrade our Bamboo Server from 5.15 to Latest Version 6.8 or is there an enterprise release version available?

What should I pay attention to if I upgrading to 6.8?

Thanks an regards


Answers:
author: Marcin Gardias
body: We've introduced some big changes to how user management works in Bamboo 6.6, so if there's anything that I would recommend verifying post upgrade, that would be it, especially if you use LDAP, Active Directory or Crowd server.

And, as always, backing up bamboo_home and the DB prior to upgrading is strongly recommended.


author: Gonchik Tsymzhitov
body: Hi!

1. Please, check your license

2. Just upgrade to latest :)

3. As I Know Bamboo don't have Enterprise release, just everything is for build :)

We are using 6.8 since Feb. Looks like ok :) We are waiting 6.9 release
Don't see license in my.atlassian.com
Asked by j.reitermayer:

My company bought a Bamboo license for me which is not shown in my.atlassian.com:

SEN-13741066

purchase AT-74680523

Please advice how to get access to the license key?


Answers:
author: Tansu Akdeniz
body: Hi [@j.reitermayer](/t5/user/viewprofilepage/user-id/3027095) ,

Welcome to community.

You should login to my.atlassian.com system with the ***technical contact e-mail address***which were used in purchase process. So, please learn from the responsible whether your e-mail was used or not. If your e-mail wasn't registered, it can be added by technical contact.

If you have any question, please check this [link](https://www.atlassian.com/company/contact/purchasing-licensing).

Regards,
Cipher.key_0 broken
Asked by Vinh Tran:

Hello, I had to do a restore of my bamboo server as the original server crashed. I was able to get everything back up and running but now when I try to access my repository it's giving me the following

Unknown cipher data id 0

java.lang.IllegalArgumentException: Unknown cipher data id 0

I checked and my cipher.key_0 is there but it may not match what's in the db. The version of bamboo i am running is 5.15.3

Can you let me know what i can do to resolve this?


Answers:
author: Daniel Santos
body: Hi [@Vinh Tran](/t5/user/viewprofilepage/user-id/8845)

Two things you need to check:

1. Is this cipher file the exact same one when you created the backup?
2. Does the user or service running Bamboo at the moment have ownership on this file?  
   Please check this document for this case: [Unknown cipher data id 0 when performing certain actions in Bamboo on Windows after switching Bamboo to run as a Service](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)

Please let me know if one of those can help you moving forward.
Is it possible to override password in Bamboo SSH task
Asked by Ashish Panwar:

Hi All,

We have a situation in our Bamboo plan , where we need to do ssh to two different Linux machine based on release branch ( build for older code happens on lets say BuildMachine1 and for new code happens on BuildMachine1 ).

Bamboo Server connect via ssh to build server in order to execute this.

Now for 2 different release we need to connect to 2 different machine ,keeping the jobs/tasks same.

In SSH task, we can over ride SERVER_HOSTNAME , but its not possible to provide password on run time.So in this case somebody has to update all the ssh tasks manually to run build for 2 different branches.

Not at all a good option !!

Can you please help in case we can achieve this in some other way.


Answers:
author: Foong
body: Create two different SSH tasks and then use this app [Conditional tasks for Bamboo](https://marketplace.atlassian.com/apps/1219706/conditional-tasks-for-bamboo) to disable one of it depending on the branch
Having issues Connecting Bamboo to SQL Server
Asked by Michael Castro:

I am trying to finish setting up Bamboo and have it connect to a SQL Database but I am getting this error?  

Error accessing database: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "\<Bamboo\>" requested by the login. The login failed. ClientConnectionId:9e14b776-7543-4bce-9be9-f3e0ce4f4a9e  

I gave the user db_owner and reset the password.


Answers:
author: Victor Debone
body: Hello [@Michael Castro](/t5/user/viewprofilepage/user-id/1805504)

This error only tells that Bamboo could not access the database. Do you have any firewalls blocking or different ports configured for your MSSQL?

Victor

comments: author: Michael Castro
body: I added an Inbound firewall rule to allow this server to talk to the server with the database.


author: Victor Debone
body: Did it fix the connection issue?


author: Michael Castro
body: No, we uninstalled it added more memory to the server and started over and for some reason, it worked...


author: Avinash_Mishra
body: How did you setup CICD for SQL Server Deployment using Bamboo ?


Tags: connect

database

sql
Allure for Bamboo Plugin
Asked by Sujith Shajee:

The allure for bamboo plugin seems be removed from marketplace and is redirecting to version history. Could someone please let me know if you are aware about why the plugin has been removed from the marketplace

<https://marketplace.atlassian.com/apps/1217177/allure-for-bamboo>

It auto redirects you to : <https://marketplace.atlassian.com/apps/1217177/allure-for-bamboo/version-history>


Answers:
author: Victor Debone
body: Hello [@Sujith Shajee](/t5/user/viewprofilepage/user-id/3016649), welcome to the community ?

The Allure for Bamboo app has been hidden due missing GDPR requirements, the vendor needed to provide an EULA and privacy statement. The app is still functional and can be downloaded as usual. Once the vendor provides the missing requirements the app will be made public again.

Did it answer your question? :)

Victor

comments: author: Sujith Shajee
body: Thank you Victor for the response. This certainly answers my question :)


Tags: app

atlassian-marketplace

bamboo-app
rest api to create a release after successful stage
Asked by robin:

Hi,

Can rest api of bamboo, create a release after successful stage of a build? I am using rest api to create a release in bamboo, but the issue is it requires the build result key. But artifacts are available after the first stage and the subsequent stages are so much time consuming. Is there any way to create release after the successful stage. I am aware of the "after successful stage" trigger, but in our case lot of branches are getting created. So we can't add trigger for all branches manually.

Thanks in advance


Answers:
author: Victor Debone
body: Hello [@robin](/t5/user/viewprofilepage/user-id/2935093) welcome to the Community :)

If I understood you correctly, the problem you are having is that the stages after the first one are slow and need a lot more time, while you would like to have a release right after the first stage.

Did you consider the alternative to have the plan split into two plans? The first plan after success would trigger both the second plan with slow stages and the deployment.

Victor

comments: author: robin
body: Thanks for the response [@Victor Debone](/t5/user/viewprofilepage/user-id/1892075) !!!

I will go with this approach. I would like to know if there is any undocumented REST available to add the "after successful stage" trigger in deployment project environment or even to change the branch of existing trigger. When I inspected the network calls, I found one POST call is going to 'http://url/deploy/config/updateEnvironmentTrigger.action' . But it doesn't worked for me. :(


author: Victor Debone
body: You are welcome [@robin](/t5/user/viewprofilepage/user-id/2935093) :)

Currently we don't have a REST endpoint to alter environments triggers, you can follow this suggestion at [BAM-20107](https://jira.atlassian.com/browse/BAM-20107).

Victor


author: robin
body: Okay, Thanks [@Victor Debone](/t5/user/viewprofilepage/user-id/1892075) :)
Is there a way to check out a specific branch in "Source Code Checkout" of deployment tasks?
Asked by Jake Huneau:

Hello,

I am doing deployments using Ansible tasks, which are called in a deployment task on Bamboo as a script. Before this, the Ansible repository needs to be checked out. I'm doing this using a "Source Code Checkout" task to bring it to the current directory. It seems that it only checks out the master branch. I have a deployment plan that needs to use a different branch of this repository. Is there any way to do this?


Answers:
author: Victor Debone
body: Hello [@Jake Huneau](/t5/user/viewprofilepage/user-id/1619766) welcome to the Community ?

What you are missing is the branch option on the repository side. When you are configuring the "Source Code Checkout" you are able to select a repository, so what you need to do is to create a new repository that is configured to the correct branch.

Did it help? :)

Victor

comments: author: Jake Huneau
body: Hi [@Victor Debone](/t5/user/viewprofilepage/user-id/1892075)

I actually went a different route. I added script tasks to have it do \`git checkout \<branch\>\` and that seems to work.

Thank you though!


author: jvelapol
body: That's what we did, too. Just make sure that your "linked repo" configuration has the "Fetch whole repository" option checked in the Advanced tab. We had issues until we realized that part *wasn't* checked.

It'd be *nice* if Bamboo offered a "override default branch" option in the "Source Code Checkout" field in Deployments. Until then, \`git checkout \<branch\>\` is the way to do it, as far as we've been able to tell.


author: Vyacheslav
body: +1
If master is updated with new commits and one of its child branch ( hotfix ) is outdated
Asked by Dineshmathiazhagan:

Scenario : Master got new commits merged from INT however hotfix branch which was created long back has old master commits ( excluding the new master commits came from INT ) So if we merge or delete the hot fix branch and still the bamboo plan consider those commits which came from int as new commits and takes those files. So is there a way to make bamboo to just get those commits but not to consider in the build.


Answers:
author: Daniel Santos
body: Hi [@Dineshmathiazhagan](/t5/user/viewprofilepage/user-id/1531254)

If you delete the source repository branch, Bamboo will not run a build for it but It will disable its related plan branch.

If you want to merge it to master and not have a build triggered for it, you can:

1. Use the Bamboo **Exclude Changesets** feature **Repository \>\> Change Detection Options \>\> Exclude Changesets** with the following pattern:  

   ```
   .*\[skip\].*
   ```

2. Edit the merge commit to having "**\[skip\]**"on its message

Please let us know if that is what you need.


Tags: bitbucket

jira

jira-service-desk
SAML user on request form widget
Asked by ?lvaro Larrea:

Good afternoon,

I have integrated the widget for ticket creation and I would need to connect it with SAML, so that the User field appears complete with the user who is logged in on the platform where the widget is integrated.

Thank you very much in advance, best regards,


Answers:
author: Dave Rosenlund _Trundl_
body: There are many considerations here, [@?lvaro Larrea](/t5/user/viewprofilepage/user-id/5466029). I.e., a lot of variables.

So this is not an easy question for the community to answer. I suggest you start here:

#### [Configure SAML single sign-on](https://support.atlassian.com/security-and-access-policies/docs/configure-saml-single-sign-on/) {#toc-hId-323741197}

to get a better feel for what you'll need to do, then come back with any clarifying questions you may have.

Alternatively, you can [ask the Atlassian team](https://support.atlassian.com/contact) for site-specific help on any part of this that may be giving you trouble.

I hope this helps,

-dave


Tags: cloud

jira-service-management

jira-service-management-cloud
Enable "share" button on customers portal
Asked by Kyana Campos:

Hello,

Our customers soometimes need to Share their request with others, but the "Share" button is only able for agents.

Is there a way to enable this button for all customers?

![Jira.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/323404i41DB7FD3639B5314/image-size/large?v=v2&px=999 "Jira.jpg")

Thanks

Kyana


Answers:
author: Mikael Sandberg
body: It all depends on what customer permissions you have set in the project. If you go to Project settings \> Customer permissions you can enable sharing

![Screenshot 2024-05-13 at 11.08.50?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/323407i683487D20B70621F/image-size/large?v=v2&px=999 "Screenshot 2024-05-13 at 11.08.50?AM.png")


Tags: cloud

jira-service-management

jira-service-management-cloud
Custom Screen not working
Asked by Vijay Dadi:

Dear Community,

I have created a custom screen for change requestion to capture the reason for rejection. I have added this screen in workflow transition to Rejected. But I am not getting a screen pop-up to enter rejection notes.

Am I doing something wrong here?


Answers:
author: Vijay Dadi
body: I just found out that, there is restriction of custom pop-up screens while the changes are going though approval phases.

Wish they could remove this restriction.

comments: author: Derek F.
body: You and me both. They did it in Data Center: <https://jira.atlassian.com/browse/JSDSERVER-4789>

If you find the issue for implementation in Cloud, lmk!


author: Joseph Chung Yin
body: [@Vijay Dadi](/t5/user/viewprofilepage/user-id/5408989) -

Is the Rejected Note a custom field that you included in the custom screen? Can you provide a screenshot of the pop-up screen for us to assist you further.

Lastly, please ensure that the screen is associated with the proper WF transition for the issue type (used for your Request Type) correctly?

Best, Joseph Chung Yin

comments: author: Vijay Dadi
body: [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739) ,

Attached is the screenshot of the rejection screen, which includes one field.

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

Also attached is the screenshot which shows it is attached to the proper workflow and added in the status transition in workflow.

![rejection.png](https://community.atlassian.com/t5/image/serverpage/image-id/323434i38C2A8D606519A40/image-size/large?v=v2&px=999 "rejection.png")![rejection 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/323435i76354A301B8D24EA/image-size/large?v=v2&px=999 "rejection 1.png")


author: Bastien Delourmel
body: Hello [@Vijay Dadi](/t5/user/viewprofilepage/user-id/5408989),

Are we talking about a screen that should appear on the agent view?

Then, can you double check, if the screen is associated to the right workflow (which is associated to the right issue type)?

Plus can you double-check that you've correctly associated the custom screen with the transition to the "Rejected" status?

When double checking those, can you add screenshots?

Thanks,

comments: author: Vijay Dadi
body: [@Bastien Delourmel](/t5/user/viewprofilepage/user-id/5262912)

Here are the screenshots.

Screen is associated with proper workflow and workflow is associated with proper issue type which is change.

![rejection.png](https://community.atlassian.com/t5/image/serverpage/image-id/323425iC2AD9C0E1BA9D4F9/image-size/large?v=v2&px=999 "rejection.png")![rejection 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/323426i71E5E872D1844F68/image-size/large?v=v2&px=999 "rejection 1.png")


author: Vijay Dadi
body: I just found out that, there is restriction of custom pop-up screens while the changes are going though approval phases.

Wish they could remove this restriction.


Tags: cloud

jira-service-management

jira-service-management-cloud

screen
Migrating from Halp to JSM
Asked by Scott McDonald:

Does Atlassian provide documentation for migrating Halp tickets to JSM?

Is Atlassian sunsetting Halp? When will that be? Will users still be able to access the system or will it be completely powered down?

Is there any financial incentives we an give customers to apply towards JSM?


Answers:
author: Joseph Chung Yin
body: [@Scott McDonald](/t5/user/viewprofilepage/user-id/5441819) -

Take a look at this FAQ link from Atlassian on Halp, hope this helps.

<https://www.atlassian.com/licensing/halp#general>

I would also recommend that you contact Atlassian Support directly (<https://support.atlassian.com>) for further support on addressing your asks.

Best, Joseph Chung Yin

comments: author: Dave Rosenlund _Trundl_
body: To add a little to what [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739) , Atlassian also provides[a migration tool](https://support.atlassian.com/jira-service-management-cloud/docs/migrating-from-halp-to-jira-service-management/) for Halp \> Jira Service Management.

-dave


author: Alper Saglam _actioner_
body: Hi [@Scott McDonald](/t5/user/viewprofilepage/user-id/5441819)  

I am afraid you are right. Halp is sunsetting, and Assist is replacing it. If the main benefit you derive from Halp is integrating Jira Software or JSM with Slack to make your service more conversational and improved, you can [follow this post,](https://community.atlassian.com/t5/Jira-questions/How-to-create-the-jira-ticket-from-slack/qaq-p/956315#M1017265) which previously discussed the options for creating and managing ticket creation within Slack.

-alper


Tags: cloud

halp

jira-service-management

jira-service-management-cloud
Can Jira remove records in accordance with our Records Retention Schedule?
Asked by esteinberg:

Hello:

Does Jira have the ability to apply our company's records retention schedule to help desk tickets?

Thank you,


Answers:
author: Dave Rosenlund _Trundl_
body: Hi, [@esteinberg](/t5/user/viewprofilepage/user-id/5496088). Welcome to the community ?

This simple answer is yes. You'll do this with [Atlassian Automation](https://www.atlassian.com/software/jira/guides/automation/overview#what-is-automation).

That said, we don't know how complicated your company's records retention schedule is ?

Let us know if you don't think Automation will be able to handle this.

Best,

-dave


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud