youngmon/atlassian-qna huggingface dataset:
Unable to queue new build
Asked by bhartendu kumar:

I am trying to queue a new build using API call

### /queue/{projectKey}-{buildKey} {#toc-hId-2115990204}

If the concurrency is set to 1, API call is failing and unable to queue the build.

I want the build to be in queue even if concurrency is set to 1, Let the InProgress build finish and wait in the queue


Answers:
author: Shashank Kumar
body: Hello Bhartendu,

Welcome to Atlassian community.

If you set concurrency to 1, it means at a given time only 1 build can run ( or even get into queue ), basically more than 1 builds can't be trigerred.

If you want to get the build into queue or run parallel you need to increase the concurrency.

You may have a requirement where you don't want build to run in parallel but builds to get queued, in this case you can increase the concurrency and dedicate a agent only for this build plan, in this way build will get queued.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***


author: bhartendu kumar
body: Any suggestions?
I didn't connect H2 database type
Asked by Rajkumar:

I didn't connect H2 database type

![bamboo date base.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/313099i00FD84779F5D7928/image-size/large?v=v2&px=999 "bamboo date base.JPG")![bamboo.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/313100i3BF587139878F8DD/image-size/large?v=v2&px=999 "bamboo.JPG")![jar file h2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/313101i42D92ADB1F295A72/image-size/large?v=v2&px=999 "jar file h2.JPG")


Answers:
author: Shashank Kumar
body: Hello Raj,

If i understand your problem correctly you put the jar for H2 DB in the bin directory and still Bamboo is not able to connect to it.

Can you make sure you provide read/write access to this jar to the user which is running Bamboo service.

Stop and restart the Bamboo service and possibly delete bamboo.cfg.xml file before starting the service if this is new installation.

Let me know if this works.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***

comments: author: Rajkumar
body: Thanks Shashank. it works


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

I am sorry to say that that is not true. Atlassian applications use whatever database you select in the earlier screens. To get this error, you must have selected the H2 embedded database option.

comments: author: Rajkumar
body: Thanks Nic
how to pass values from "Bamboo global" to "Deployment plan script" which is running on windows
Asked by Snehal Jadhav:

wanted to pass values from "Bamboo global" to "Deployment plan script" which is running on windows agent


Answers:
author: Anik Sengupta
body: Hi Snehal,

Thanks for contacting Atlassian community .

You can set up a Global variable as

1. From the top navigation bar select ![](https://confluence.atlassian.com/bamboo/files/289276832/1063170468/1/1620999102820/Cogwheel.png) \>**Build resources** \> **Global variables**.
2. Add, update, or delete the global variables, as desired:
   * **Add** a new variable once you have entered the key and value for it.

Global variables can be accessed by using `${bamboo.globalVarName`}.

![Screenshot 2024-03-18 at 10.56.19 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/312783i13C8EC6D9D855DCC/image-size/large?v=v2&px=999 "Screenshot 2024-03-18 at 10.56.19 PM.png")![Screenshot 2024-03-18 at 10.56.40 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/312784i2C0159D85934B1A7/image-size/large?v=v2&px=999 "Screenshot 2024-03-18 at 10.56.40 PM.png")![Screenshot 2024-03-18 at 10.56.57 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/312785iAA1B5BA14D6D06B3/image-size/large?v=v2&px=999 "Screenshot 2024-03-18 at 10.56.57 PM.png")

Regards,

**Anik Sengupta**

**\*\*please don't forget to Accept the answer if your query was answered\*\***
My pull request is still open after merging the changes
Asked by Mahesh:

Hi There,

I have a pull request which is reviewed and code changes are merged to develop branch, But Pull request is still open.

BTW, we use bamboo plan to merge changes. Bamboo task has script that uses git squash merge commands to merge changes from feature branch to develop branch.

This issue is seen inconsistently. I most of the cases after merging the changes pull request will be closed automatically. But some times it still kept open.


Answers:
author: Shashank Kumar
body: Hi Mahesh,

Welcome to Atlassian community.

I think the first step to check will be to check the builds logs for both where the pull request is closed and where it is not, are you able to see anything different in the build logs ?

Regards,

Shashank Kumar


Tags: bitbucket

bitbucket-cloud

bitbucket-server

git

pull-request
Bamboo detached HEAD
Asked by Peter Drexel:

Regarding the detached HEAD message that sometimes appears in the Bamboo build logs, is there a configuration option that will trigger a failure of the build when this occurs or is there a way to detect that this has occurred so that we know the build is not legit? For the latter, I'm thinking about programmatically "looking" at the build log, "seeing" detached HEAD message and forcing a failure.


Answers:
author: Eduardo Alvarenga
body: Hello **[@Peter Drexel](/t5/user/viewprofilepage/user-id/5382479),**

Bamboo will not fail the build in case of a detached HEAD because whenever you rerun a build that is based on a commit revision that is not the HEAD any longer, it should continue normally.

In your case, if you'd like to avoid that you can add a script task that will check if the current checked-out tree is not in a HEAD state and fail it if so. For example:

```
#!/bin/bash

# Check if we are in a git repository
if git rev-parse --git-dir > /dev/null 2>&1; then
  # Check if HEAD is detached
    if git status | grep -q 'HEAD detached'; then
      echo "ERROR: The current checked out code is in a detached HEAD state."
      exit 127
    else
      echo "HEAD is attached. All is good."
    fi
else
  echo "This is not a Git repository."
fi
```

By adding the steps above after the checkout task, Bamboo will validate if the checked out code is in a HEAD state and exit with a "127" error code in case it is. You can pick the error code you want.

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Peter Drexel
body: Hi Eduardo, thanks for the quick response. Can I use this script in Windows too or do I need to make some modifications?


author: Eduardo Alvarenga
body: Hi [@Peter Drexel](/t5/user/viewprofilepage/user-id/5382479)

You can certainly run in Windows If the Agent has some type of runtime engine such as Cygwin to interpret the bash script. Some recent versions of Windows will support bash natively.

Otherwise, I suggest you migrate the logic to Powershell or Windows Batch language.

Thank you,

Eduardo Alvarenga

Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
How to add H2 Database to Bamboo on Docker
Asked by Ahmet Melih Kara?a?l?:

I set up a Bamboo on Docker. After Bamboo service started, I chose the H2 database, and encountered the following error.

![Screenshot 2024-02-28 at 14.11.03.png](/t5/image/serverpage/image-id/309173iA9C10FD7A7EB32A5/image-dimensions/419x115?v=v2 "Screenshot 2024-02-28 at 14.11.03.png")

After adding the h2.x.x.xxx.jar file to the server in \<BAMBOO_INSTALL_DIR\>/lib and restarting, the jar file gets deleted.

How can I connect the H2 database to Bamboo on Docker?


Answers:
author: Shashank Kumar
body: Hello Ahmet,

Welcome to Atlassian community.

In recent version of Bamboo H2 Jar has been removed by default as it poses security vulnerability, you can try the below steps to copy the jar if you wish.

Below is an example to copy mysql-connector-java.x.y.z.jar to the lib directory here bamboo is the name of the container.

```
docker cp mysql-connector-java.x.y.z.jar bambooo:/opt/atlassian/bamboo/libdocker restart bamboo
```

Can you try the above steps and let me know if it works.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
I need to upgrade to bamboo v8 daatacenter. What is the minimum windows server OS compatible?
Asked by Arthur Parisis:

I need to upgrade to bamboo v8 daatacenter. What is the minimum windows server OS compatible?


Answers:
author: Shashank Kumar
body: Hello Arthur,

Welcome to Atlassian community.

As per <https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html> there is no specific version of Windows mentioned.

You can give a try on any specific Windows OS and see if it works. I've seen people install Bamboo 8 on Windows server 2019 and it has worked fine.

Regards,

Shashank kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***

comments: author: Ayrijit Swain
body: Hello [@Arthur Parisis](/t5/user/viewprofilepage/user-id/5439439) ,

To add to above, although Bamboo does not have any limitations with respect to the Windows OS version, there are limitations on supported Java version, Git versions and Database types and version which are compatible with Bamboo.

Make sure the OS version you select is compatible with these software requirements.

Additionally you can read about **Bamboo Best practises - System Requirements** in the knowledge article: <https://confluence.atlassian.com/bamboo0802/bamboo-best-practice-system-requirements-1103433708.html>

Regards,

Ayrijit
Best way to transfer projects and plans to another bamboo instance.
Asked by Devendar Gangapuram:

HI Team,

We have **on-prem** Bamboo server installed and it has a project with**200+** plans(**Build+Deploy** ). Now we have to move this entire data from this Bamboo server (**windows** )to Bamboo(**Linux**) data center instance, everything including Logs, plans, ... etc information.

Please let me know the best way to transfer our data from Windows Bamboo instance to Linux Bamboo instance .

Already referred this link l<https://confluence.atlassian.com/bamboo/exporting-data-for-backup-289277255.html> , but still need your support.


Answers:
author: Shashank Kumar
body: Hello Dev G,

Welcome to Atlassian Community.

I think for your scenario you can refer this \> <https://confluence.atlassian.com/bamboo/cloning-a-bamboo-instance-289277407.html>

There are two ways to do it, read the above page for detailed steps

1) Use Import and Export

2) Manually transfer the DB and Bamboo Home

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***


author: Anik Sengupta
body: Adding to the above, performing a full export/ import of a Bamboo instance can be very time consuming depending on the amount of artifacts and build logs you have. If your current instance has grown too large and export/ import does not work, you can still migrate your instance by using an alternative backup and restore strategy.

You can refer - <https://confluence.atlassian.com/bamkb/how-to-migrate-a-bamboo-instance-with-a-large-number-of-artifacts-and-build-logs-1093015034.html>

comments: author: Devendar Gangapuram
body: Thank you both,

Now , my requirement is, just need to migrate only 5 apps among 130, How to do it?

Thank you,

Dev G


author: Shashank Kumar
body: Hello Dev G,

When you say Apps, do you mean External third party apps/Plugins which you have installed in your Bamboo system, please clarify.

Regards,

Shashank Kumar


author: Devendar Gangapuram
body: Hi [@Anik Sengupta](/t5/user/viewprofilepage/user-id/4672627) ,

No, our Bamboo applications with all Build and Deployment plans with data.

Thank you,

Dev G,


author: Shashank Kumar
body: Hello Dev G,

You cannot move specific plans and Deployments easily. Import and Export will copy all the data from source to Destination.

If you want to move only specific plans and deployment, you should try Bamboo specs.<https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html>

Regards,

Shashank Kumar


Tags: data-center

migration

server

workflow
How to configure docker runner to authorize the different project specific private docker registry
Asked by Berenberg_io Team:

We've Build and Deploy user which already configured with Docker login on all of our build and deploy agents this works fine for one big private docker registory. But now we've more project specific private docker registry those have different users example (registry1=User1, registry2=User2, registry3=User3 and registry4=User4...etc) and while downloading private docker image from project specific private docker registry giving error "unknown: Authentication is required".

How we can configure Bamboo Job -\> Docker to authorize with different project specific private docker registry?

Here is the example of one project specific docker-staging.docker.comapny.com :

![dockererror.png](/t5/image/serverpage/image-id/308655i91EE65F0829689EC/image-size/large?v=v2&px=999 "dockererror.png")


Answers:
author: Shashank Kumar
body: Hello Team,

I think this request is covered under this feature request I believe <https://jira.atlassian.com/browse/BAM-25259>

Regards,

Shashank Kumar

comments: author: peemoeller
body: Hi [@Shashank Kumar](/t5/user/viewprofilepage/user-id/4693340) , this feature would indeed help us here. But as I understand this currently is only a feature request, is there any kind of ETA available?


author: Shashank Kumar
body: Yes it's a feature request, can't say about ETA, these are prioritized based on number of votes, you can read more about it at <https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html>

As you are following it already, you'll be notified about it on email when any changes are done.

Regards,

Shashank Kumar


Tags: authentication

docker

login

server
I am using bamboo with bitbucket and linked the repository in the project.
Asked by Israel Ganta:

Could not check if existing access key is valid: java.lang.RuntimeException: java.io.IOException: Could not create file: D:\\tmp\\bamboo-ssh.8f69d965.bat

I am getting this error linking the repository![error.png](https://community.atlassian.com/t5/image/serverpage/image-id/307691i3B8D1B795170DFF5/image-size/large?v=v2&px=999 "error.png")


Answers:
author: Ayrijit Swain
body: Hello Israel,

Welcome to Atlassian community.

From the errors, it seems Bamboo does not have sufficient permissions on the target directory. Please ensure that the user that runs Bamboo server has sufficient permissions to access *D:\\tmp* and the sub folders.

Could you confirm if this is a new Bamboo installation?

If the permissions are set correctly and that is not the cause of the issue, we would suggest you to create a Bamboo support ticket(with support zip) to investigate further.

Regards,

Ayrijit

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Not all subscribers want to receive all notifications - can we customize?
Asked by huldar_sigurdsson_origo_is:

Hi

We have a few users that require us to send them notification on major incidents. They do not want to be notified on any upcoming maintainance.

1. Can we select certain users to only receive major incidents, but not the partial incidents?

2. Can we allow subscribers to only subscribe to incidents but not to maintainance?

If not... any chance of a future feature request :) ?

Thank you


Answers:
author: Egor
body: Hey There,  
Thank you for reaching out with your request for enhanced notification customization on the Statuspage.

I want to update you on the steps we've taken so far:  

**Feature Request Submission**: We have filed a feature request with our product team. This request outlines the need for users to selectively receive notifications depending on the type and severity of incidents. This would include the capability to differentiate between major incidents, minor incidents, and maintenance notifications. The internal ticket reference is STATUS-792

Please note that while this feature request is now part of our internal review process, it is not publicly accessible. However, we are committed to keeping you updated on any progress or decisions made in relation to this request.

**Next Steps** : Our product team will assess the feasibility of the suggested solutions and consider them in the context of our development roadmap. We aim to balance customer needs with strategic product development, and your input is invaluable in this process.

Thank you once again for your suggestion and for helping us improve Statuspage. If you have any more questions or need further assistance in the meantime, please don't hesitate to reach out.

Best Regards,  
Egor


Tags: cloud

statuspage-cloud
Statuspage for testing purpose
Asked by Paun, Cosmin:

Hi Statuspage Team,

We have multiple private statuspages for our team and we plan to continue develop the incident process and the integration of statuspage in our process. However, for testing purposes we do need a Sandbox Instance where we can run our tests without influencing production.

What are our options?


Answers:
author: Kevin Paulovkin
body: Been told by Atlassian there is no Sandbox functionality for Statuspage. Instead, they recommended using a free public page.

comments: author: Paun, Cosmin
body: Hi Kevin. Thanks for your answer. Unfortunately is not an option for us to run the tests and all configuration stuff on a public page. I still have hope that we might get something private from Atlassian


author: Kevin Paulovkin
body: Agreed, a private sandbox environment would be preferred.

For our tests in our public "sandbox", we have created test components and use test data that is all non-sensitive.


Tags: cloud

statuspage-cloud
Uploading subscriber lists
Asked by Yat Lau:

Hi there,  
I'm trying to upload a subscriber list (CSV) based on the template provided.

I received a success message and within the success message, it says that I will be emailed once the task of uploading is complete.

However, statuspage has not emailed and it has been more than a week.  

Thanks in advance.


Answers:
author: Shashwat Khare
body: Hello [@Yat Lau](/t5/user/viewprofilepage/user-id/5485278) ,  

This is Shashwat from the Statuspage support team and here to help! :)   

The subscriber upload shouldn't be taking more than a week.  

Could you please log an email ticket with us using [this link](https://support.atlassian.com/contact/) for the issue?  

Kindly attach the subscriber upload file and the page URL for which this issue is observed and we can investigate it further.  

Best,  
Shashwat


Tags: cloud

statuspage-cloud
Can I have 3rd party components taken from my own private status pages?
Asked by Mateo Hermos?n:

Hi to all,

My problem is as follows:

I need to generate several "similar" customer-facing public status pages that rely on a shared baseline of components (others will be different).

My approach is:

- generate one "baseline status page" with the entire list of components I would need for all the customer-facing status pages.

- As indicated in the [User Documentation](https://support.atlassian.com/statuspage/docs/add-a-third-party-component/), ask Technical Support to have this baseline status page shared as 3rd party status page.

- generate the customer-facing status pages as a combination of 3rd party components from the baseline status page.

Questions:

1. does this approach make sense?

2. Any alternative?

3. Can I have my "baseline status page" as private/internal and still be shared for 3rd party component integration?

Thanks in advance


Answers:
author: Tejaswi G
body: Hi [@Mateo Hermos?n](/t5/user/viewprofilepage/user-id/5483501)

This is Tejaswi from Statuspage Team and here to help.

If you wish to reuse the same components on multiple statuspage., You can add them as a third party components and manage them from a single base statuspage and it will be updated in all the other statuspage as well.

Once a Public facing statuspage components can be added as a third party components and we cannot add the components from a private page.

If you have further queries, Please feel free to reach out to us by logging a ticket.

Kind Regards,

Tejaswi

comments: author: Mateo Hermos?n
body: Hi Tejaswi, thanks a lot for your help. I think this approach will work for us.

I will open a ticket to share the base statuspage as 3rd party component once we have created it.

thanks a lot again.

M


Tags: cloud
[ANSWERED] Activate your page I Change to Free Plan
Asked by Tom:

I cannot change my plan to Free:  

(image one)Now I have pressed "Confirm".   

(image two)After I have pressed the button, the display shows that  

<br />

How can I fix it?  

![IMG_3309.jpeg](/t5/image/serverpage/image-id/320657i6A6A3D4107670E92/image-size/large?v=v2&px=999 "IMG_3309.jpeg")![IMG_3310.jpeg](/t5/image/serverpage/image-id/320656i19CE29C713A13723/image-size/large?v=v2&px=999 "IMG_3310.jpeg")


Answers:
author: Dave Rosenlund _Trundl_
body: I'm sorry to hear about your troubles, [@Tom](/t5/user/viewprofilepage/user-id/5484539) ?

However, the Atlassian Community is a peer network for Atlassian customers and users like you. This issue cannot be solved here.

You'll need to [contact Atlassian support](https://support.atlassian.com/contact/#/) to resolve this.

Good luck!

comments: author: Tom
body: Thank you!


author: Trudy Claspill
body: Hello [@Tom](/t5/user/viewprofilepage/user-id/5484539)

How many licensed users do you have for your Jira product?

The limit for the Free plan is 10. If you have more than 10 licensed users that may block you from switching to the Free plan.


author: Tom
body: **How can I fix it?**

comments: author: Dave Rosenlund _Trundl_
body: See above ?


author: Tom
body: Hey [@Dave Rosenlund _Trundl_](/t5/user/viewprofilepage/user-id/1164057)  

It's me again, that's what the support form says:  
![IMG_3311.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/320660iD90EBA80E9A27821/image-size/large?v=v2&px=999 "IMG_3311.jpeg")


author: Dave Rosenlund _Trundl_
body: Hi, Tom. In that case, I think we have to assume your request to transition to the free plan worked (despite the error message).

Otherwise, Atlassian's systems would reflect that you were on a paid plan. Right?


author: Dave Rosenlund _Trundl_
body: That said, I'll ask someone from Atlassian to look at this thread to ensure we aren't missing something.


author: Tom
body: I don't want to bother the staff, I'll delete the page once and recreate it, I haven't added much yet.


author: Shashwat Khare
body: Hello [@Tom](/t5/user/viewprofilepage/user-id/5484539) ,  

This is Shashwat from Atlassian and here to help! :)   

I understand you're deleting and re-creating the page for now.  
Please feel free to log a ticket with us using [this link](https://support.atlassian.com/contact/) for any further technical assistance on this.  

Best,  
Shashwat


Tags: atl-rvw
Can a component state be unknown?
Asked by Perry_Statham:

We need to be able to show components on our pages even when we don't know their status. Can a component have an "unknown" status in addition to the operational, major/partial outpage, etc.?


Answers:
author: Shashwat Khare
body: Hello [@Perry_Statham](/t5/user/viewprofilepage/user-id/4583781)   

No, please note that the statuspage component can have only one of the below 5 states:  

1. Operational  
2. Under maintenance  
3. Degraded performance  
4. Partial outage  
5. Major outage   

We unfortunately don't have the option to add custom states for components as explained in [this document link](https://support.atlassian.com/statuspage/docs/what-is-a-component/)  

Best,  
Shashwat


Tags: cloud

statuspage-cloud