youngmon/atlassian-qna huggingface dataset:
How can I add a manual stage to a build queue?
Asked by Bernie Schelberg:

We have a deployment job in a build plan which is configured as a manual stage. Our problem is that usually more changes are committed to the source code repository before the latest build has finished, so there's nearly always a compilation or automated tests running. Thus, when we click the button to execute the manual stage and deploy, we get the error "Build requested but not started, you have reached the maximum number of concurrent builds allowed.".

I see the Administration option to allow concurrent builds, and this may help us in some situations, but that's really dependant on how many agents we can configure to run concurrent builds, and hope that we can stay ahead of the commits somehow.

Ideally, we'd like to be able to "queue" the deploy stage, but that doesn't seem to be possible. Or have I missed an option somewhere?


Answers:
author: Przemek Bruski
body: If you enable/bump up concurrent build setting, the build will be queued if there are no agents available. Try it, I think it will do what you want. You can also enable that per plan.

comments: author: Bernie Schelberg
body: I enabled concurrent builds and allowed two concurrent builds. So now I have two Compile / Test stages running and I still can't run my deploy stage. Are you suggesting I just keep increasing the allowed number of concurrent builds? We have 5 agents on this server, and we share it with other teams. I don't think we would be very popular if we clogged up all the agents with concurrent builds of our project, just so that we have enough bandwidth to manually start a deploy stage.

This is not a solution.


author: James Dumay
body: Bernie, would something like this [feature request](https://jira.atlassian.com/browse/BAM-3491) help you in your situation?


author: Bernie Schelberg
body: Sort of. We can already do that by setting Server Capabilities and Plan Requirements. But then we lose the advantage of being able to run the build on whatever agent is available. It's a band-aid on top of a band-aid on top of a problem.

Should I create a new Feature Request, because from what you're saying what I want to do isn't possible, and it's not that I've missed an option somewhere..?


author: James Dumay
body: If it doesn't work for you please feel free to create a feature request :)
Error installing plugin
Asked by Louie Penaflor:

Hi,

I'm on Bamboo 4.1.2 and I'm getting an error trying to install the Sauce Labs on demand plugin (<https://marketplace.atlassian.com/30134>).

The error exception I get is:

java.lang.NoClassDefFoundError: java/nio/channels/SeekableByteChannel

The forum link below says it could be a missing jar for java. Do I need to just download that jar separately? Or is it a java version issue?

I'm on openJDK Runtime Environment (build 1.6.0-b22).

<http://support.saucelabs.com/entries/20843062-bamboo-plugin-installation-issues>

Thanks and I look forward to your replies!


Answers:
author: Julien Bouetard
body: Hi,

I have the same issue on Mac OS X with Oracle Java 6.

java.lang.NoClassDefFoundError: java/nio/channels/SeekableByteChannel

(error.txt)

Thanks for any help,

Julien


author: Przemek Bruski
body: OpenJDK 6 is not supported. You need to install OpenJDK 7 or Oracle Java 6. See <https://confluence.atlassian.com/display/BAMBOO/Supported+platforms> .
Bamboo and Fisheye experiences?
Asked by Karie Kelly:

We are an OnDemand customer and are considering Atlassian's Bamboo and Fisheye products. If you have or are using these tools, what has been your experience - the good and the bad :-) What do you believe the best value propositions of using these tools vs others that do something similar?

I've read somewhere that Crucible isn't supported in the current versions and OnDemand is at the most recent. So, i understand that is not an option.


Answers:
author: LucasA
body: Hello,

Fisheye and Crucible (FeCru) + Subversion, are no longer sold bundled with OnDemand instances. Actual subscriptions wil be supported until October, 15th, 2013. We offer a new product, OnDemand Bitbucket. If really need to still use Subversion and FeCru, you can do it, connecting a standalone FeCru installation with your OnDemand instance (JIRA, Confluence, etc.), since now this setup is fully supported.

Lucas Lima

Atlassian Support


author: EddieW
body: I undertsand your interest int he products, and the desire for feedback, but I do not feel this is the approprioate platform. If you want positive reviews, Atlassian's product site has testimonials and case studies.

If you want the negative side just google the product name and "bad", "poor", or "failed".


author: Karie Kelly
body: My preference was to here the pros and cons from actual user with the current versions. For example, do they work better with certain repos? What are the benefits that a CTO or a CIO would care about?

Yes, I can google. But, this forum has active users. I can also search these forums and pull in a list of all issues which is mostly the problems ...but, expected these users to be more objective on both sides (at least that has been my experience thus far).

And, the internet can give me old information that may or may not be relevant any more (e.g. Atlassian has fixed things or added features). Yes, Atlassian is going to have testimonials, as all companies do. I was wondering what really matters to folks that actually are using it on a daily basis vs making assumptions about what is posted on the internet. If I am looking for information, that means we're actully looking to invest more into Atlassian products vs less...

I suppose if Atlassian believes this to be inappropriate, they can pull it.


author: EddieW
body: I undertsand your interest int he products, and the desire for feedback, but I do not feel this is the approprioate platform. If you want positive reviews, Atlassian's product site has testimonials and case studies.

If you want the negative side just google the product name and "bad", "poor", or "failed".


Tags: cloud
Bamboo backup fails (manual & schedule)
Asked by Oliver Pereira:

Hi,

Since upgrading to Bamboo 4.1.x all my backups are failing both the manual export as well as the overnight schedule backup.

I am getting the following error message.

**Export has failed. Errors encountered while exporting: Timeout exceeded waiting for service - com.atlassian.activeobjects.spi.Backup.**


Answers:
author: Przemek Bruski
body: Are you using Tomcat 7 (which is currently [unsuported](https://confluence.atlassian.com/display/BAMBOO/Supported+platforms))? If so, downgrading to Tomcat 6 will help.
How can Bamboo Plan Spread Unit Tests across multiple systems?
Asked by Peter Kahn:

Hi all,

I have a maven build on x64lin/x64win with compilation/packaging taking about 45m and tests an additional 2-3 hours. I'd like to be like Atlassian's jira team and improve speed by spreading the tests across multiple systems.

What's options does bamboo provide for this kind of thing? Would I break my "build" into steps with one plan per step or is there something more elegant?

I'm using bamboo 2.6.1 and plan to upgrade to most recent. In 2.6.1, many individual plans managed by hand or a script seems the only option. I'd like to have something like quickbuild's cascading configurations where I'd define a top level workflow of steps and then override parts in per branch builds (much like how maven configurations work).

How do you handle complex builds that involve steps across many systems


Answers:
author: Przemek Bruski
body: With newer Bamboo version, you have Stages and Jobs. With Stages, you can create sequential steps. Within a Stage, you have multiple Jobs that execute in paralllel. For example, you could have a packaging stage and then use the packaged artifact in a couple of Jobs that would run in parallel.

The simplest setup will involve splitting your UTs into several Jobs. JIRA team uses a much more complicated setup - but you will need to restructure your tests anyway.

comments: author: Peter Kahn
body: Thanks, now it's time accelerate my upgrade plans


author: Thomas Bachmann
body: Does this work out of the box with Bamboo On-Demand or do I need to enable parallel Job execution somewhere?
Facing bit bucket error "we can't let you see this page"
Asked by SreedeviModupalli:

HI Team,

Recently, i am not able to access my bitbucket account to access the projects/repositories. I am facing the error "we can't let you see this page" after signing in with my credentials. Help to resolve this issue is highly appreciated.

Thanks,

Sreedevi


Answers:
author: Theodora Boudale
body: Hi Sreedevi,

This message shows when you are trying to access a private repository that your Bitbucket Cloud account doesn't have access to.

You will need to contact the administrators of the workspace this repo belongs to and ask them to send an invitation to the email of your Bitbucket Cloud account so that you can access any repositories you need to access for your work.

In case you were already invited to this repo but to a different email address (e.g. if you have multiple Bitbucket Cloud accounts), you can log out from this Bitbucket Cloud account and log back in using the email that has access to the repo.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bamboo session terminated
Asked by Andrew Morin:

When I am working on building a new plan in Bamboo 4.0.1 I am constantly being logged out. I will go through a page of configurations and hit save and it will ask me to log in again and I lose all my updates. I check the "Keep me logged in" box every time. Not sure if the hibernate.c3p0.timeout has anything to do with this. I have never had to increase this before. Any idea's?


Answers:
author: Przemek Bruski
body: hibernate.c3p0.timeout has nothing to do with it. Do you have any other web application on the same host?

comments: author: Andrew Morin
body: No the server is dedicated to being the Bamboo master. I have 10 remote agents. Hopefully increasing the session timeout will help though it was timing out in less then 5 minutes earlier before I made the change.


author: Andrew Morin
body: I am increasing the session timeout in the web.xml. Not sure why I couldn't find this earlier. See if that helps...
Pipeline Failed
Asked by fatma_elbehi:

Hi Team,

Sometimes when I tried to run my pipeline it fails and I received the following error

Then I rerun it again and it works fine.

Any idea plz ![capt.png](https://community.atlassian.com/t5/image/serverpage/image-id/166237i5C0723D066482444/image-size/large?v=v2&px=999 "capt.png")about this weird behavior?

Thanks,

Fatma


Answers:
author: Patrik S
body: Hello, [@fatma_elbehi](/t5/user/viewprofilepage/user-id/4100334)

Thank you for reaching out to Atlassian Community!

In order to better understand the intermittent issue you're facing with your Pipeline builds, let me confirm a few questions with you :

* From the logs on the screenshot that you've attached it's not clear what step is failing and what host it's trying to establish a connection. Would you be able to confirm if there's any issue with the server you're trying to connect to ?

<!-- -->

* Pipelines build environments can assume a range of IP addresses when running. Would you mind confirming if your server is behind a firewall? If so, could you please check if all of the following IPs are correctly whitelisted ?   
  * [Pipelines IPs](https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/#Valid-IP-addresses-for-Bitbucket-Pipelines-build-environments)
  * [Atlassian IP ranges](https://ip-ranges.atlassian.com/)

Hope to hear from you soon!

Best regards,  
Patrik S  
Atlassian Support Engineer


Tags: bitbucket-cloud

cloud
Cannot update my bitbucket repository
Asked by josecarlosbcn:

Hi!!!

Right now, I'm not able to upload a new version of my code to BitBucket **git push origin master** . I make a "push" but when it's asked to me the password dispite of I inform correctly I've got an error of authentication: **remote: Invalid username or password**

I don't know what happend because I'm doing the same thing than other times and other times I could access to Bitbucket but right now it's imposible to me.

Am I doing somethin wron? Is there any technical problem to login in the platform?

Best regards,

Jos? Carlos


Answers:
author: josecarlosbcn
body: Hi, [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) !!!

Finally, I could access to my account. I changed my password and I could entry to my account.

I was trying to access to my account through the console of Linux.

Now, everything works fine!!!

Thanks!!

Best regards,

Jos? Carlos


author: Caroline R
body: Hi, [@josecarlosbcn](/t5/user/viewprofilepage/user-id/4608210)! Welcome to the community!

Could you please confirm if you are using your UI password while pushing the code to your repository or an app password?

If you are not using an app password, could you please create a new app password as per the following document and try to push the code again?

* <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud

login
Who can add users to a Repo in a Workspace
Asked by Julian Governale:

I know as a workspace admin i can add users to my repo's and groups, but can repo's Admin role add users outside of our workspace into their repo?


Answers:
author: Caroline R
body: Hi, [@Julian Governale](/t5/user/viewprofilepage/user-id/1147654)!

Thank you for reaching out to Atlassian Community!

Yes, a user who is added to a repository as an Admin will be able to add users outside of your workspace into this repository with direct access.

They won't be able to add users into a group as this is at the workspace level, but they will be able to access the **Repository settings** \> **User and group access** \> and add users to this repository.

I hope this clarifies your question, but please let me know if have any other concerns related to this subject.

Kind regards,  
Caroline

comments: author: Julian Governale
body: Thank you so much, that dose indeed answer my questions! Thank you very much [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) for the information.


author: Caroline R
body: You are welcome, Julian!

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Connection attempt failed for Elasticsearch
Asked by Rohit Dalvi:

I created this BitBucket server and when started it does show that the elasticsearch started, see below logs,

Starting Atlassian Bitbucket as the current user

Starting bundled Elasticsearch

Hint: Run start-bitbucket.sh --no-search to skip starting Elasticsearch

Bundled Elasticsearch started successfully

The output shows that the elasticsearch started when bitbucket service was started.

But I am not able to test the connection. Even when I do (ps -ef \| grep bitbucket ) I do not see any service running for elasticsearch.

![Screen Shot 2021-10-21 at 3.40.18 PM.png](/t5/image/serverpage/image-id/166119i5FD941B82A28E985/image-size/large?v=v2&px=999 "Screen Shot 2021-10-21 at 3.40.18 PM.png")


Answers:
author: Rohit Dalvi
body: The issue was, I was starting the server with root user, for some reason the root user prevents the starting on elastic cache. I switched to the recommended user and the elastic search service started on its own.


Tags: bitbucket-server

elastic-search

migration-customer-care

server
How to setup Webhooks from Bitbucket to Jenkins ?
Asked by fpanichi:

Hi Everybody !

I need some help to solve an issue that I have on Bitbucket.

I have created my pipeline in Jenkins (Jenkinsfile) and I have setup the webhooks section according to the documentation.

I can build manually from Jenkins (success) but the webhook does not work at all (no communication between both platforms)

My jenkins pipeline cannot be trigged from the webhook if I make a change in bitbucket directly.

Here is what I have done so far:

++**Bitbucket =\> Webhooks**++

*URL : <http://myjenkinsserverurl/bitbucket-hook/>*

OR

URL: *<http://Username:Password@myjenkinsserverurl/bitbucket-hook/>*

*Status: Active*

*SSL/TLS: unchecked*

*Triggers: Push*

++**Pipeline configuration in my jenkins job**++

*Build trigger: Build when a change is pushed to BitBucket*

*I have been searching on internet and I have followed all the tips that I could find, nothing works.*

*Any bright idea ?*

*Thank you !*

*Kind regards !*


Answers:
author: Syahrul
body: Hi [@fpanichi](/t5/user/viewprofilepage/user-id/4606814)   

Welcome to the community!  

To investigate a webhook trigger I would suggest you enable the webhook logs by navigating on the webhook tabs \> click on **View request** beside your webhook trigger \> then click **Enable History.**

This will enable history logs on your webhook trigger, you can then create a push to see if that triggers the webhook and view the logs to see if it's sending to your Jenkins server accordingly.

I hope this helps, let me know how it goes.

Cheers,  
Syahrul


Tags: jenkins
Bibucket Cloud member's username or email id using API
Asked by dhiman.das:

How to find the username or email id of a member using the Bitbucket Cloud API?


Answers:
author: Caroline R
body: Hi, [@dhiman.das](/t5/user/viewprofilepage/user-id/4080407)!

Thank you for reaching out to Atlassian Community!

Currently, we don't return usernames or emails with that endpoint. For usernames, we removed them from the API to comply with GDPR:

* <https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/>

And for visibility of emails of team members, we have the following feature request:

* [https://jira.atlassian.com/browse/BCLOUD](https://jira.atlassian.com/browse/BCLOUD-13143)

I would suggest that you add your vote there (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Caroline


author: ABEL MASILA
body: From the docs, seems you can only get the username, display_name, and nickname.

```
The API endpoint is /2.0/users/{selected_user} 
```

selected_user: This can either be the UUID of the account, surrounded by curly-braces, for example {account UUID} OR an Atlassian Account ID.

<https://developer.atlassian.com/bitbucket/api/2/reference/resource/users>


Tags: bitbucket-cloud

cloud
Did they remove fetch &&& checkout from new branch page?
Asked by Augusto Amaral Pereira:

I use to have the entire **git check \&\& git checkout branch_name** but It seems that it has changed... Is this configurable? Is there any way that I can roll back it?

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


Answers:
author: Caroline R
body: Hi, [@Augusto Amaral Pereira](/t5/user/viewprofilepage/user-id/2562635)!

Thank you for reaching out to Atlassian Community!

Recently, this command has been removed from our UI due to vulnerability reasons. We understand that this may impact the workflow of some developers, so we have already created a feature request to add the git checkout command to the UI again as you can check here:

* <https://jira.atlassian.com/browse/BCLOUD-21422>

I would suggest that you add your vote there (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link), this way you will receive updates about this request.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Caroline

comments: author: Kevin Coy
body: This ticket only addresses \`git checkout \[branch\]\` missing. Which will not work for a brand new branch. You have to do a \`git fetch \&\&\` in front.


author: Kilian Pfeifer
body: we are interested, too. We are missing this feature


author: Veronika Priesner
body: We would also be interested in this.


Tags: bitbucket-cloud

cloud
Bitbucket service is not starting
Asked by Balaji Ellaiah:

:   Old Ticket reference: SSP-50461

:   Dear team,

    BitBucket service is not starting and even after restart the server and service.

    Kindly help on the issue.

    Our New SEN was not updated on the myatlassian portal, so raised request with old SEN. Kindly look into this on priority

Priority
:   Level 1

Affects Version/s
:   7.6.7

Phone Number
:   +91 9941007850


Answers:
author: Apoorva
body: Hi [@Balaji Ellaiah](/t5/user/viewprofilepage/user-id/4462593)

Thank you for reaching out! Could you share the Bitbucket logs we requested on this ticket <https://getsupport.atlassian.com/servicedesk/customer/portal/24/SSP-50461> and we can help you further.

Thanks,

Apoorva


Tags: bitbucket-server

server
I am unable to enable the pipeline as pointer is spinning for endless time
Asked by Vik:

I am unable to enable the pipeline as pointer is spinning for endless time


Answers:
author: Caroline R
body: Hi, [@Vik](/t5/user/viewprofilepage/user-id/1153965)!

Thank you for reaching out to Atlassian Community!

Could you please confirm which pointer is spinning for endless time? We do have an open bug related to enabling pipelines in a repository and you might be being affected by this.

You can check the bug here:

* <https://jira.atlassian.com/browse/BCLOUD-20669>

If that's the case, as a workaround, you can manually create a bitbucket-peipelines.yml on your main directory and add the following dummy steps to start your first pipeline:

    # This is an example Starter pipeline configuration# Use a skeleton to build, test and deploy using manual and parallel steps# -----# You can specify a custom docker image from Docker Hub as your build environment.image: atlassian/default-image:2pipelines:  default:    - parallel:      - step:          name: 'Build and Test'          script:            - echo "Your build and test goes here..."

Once created, you will be able to select "edit" to see the list of the available templates and you can click on any of them, it will automatically remove the old one and replace it with the template.

Please let me know if this is the problem and feel free to correct me in case I have misunderstood something here.

Kind regards,  
Caroline


Tags: bitbucket-pipelines

cloud
SFTP deletes files or no?
Asked by EricH:

When you delete files from your git-based bitbucket repo, does the SFTP pipeline delete files?

I removed a few files, did PR, and then pipeline deployed. Files are still there. Did I miss something?


Answers:
author: Igor Stoyanov
body: [@EricH](/t5/user/viewprofilepage/user-id/553982) Hi. Thanks for your question. Current pipe implementation only recursively copy multiple files. This pipe does not delete any files.  

Regards, Igor.


Tags: bitbucket-pipelines

cloud

sftp