youngmon/atlassian-qna huggingface dataset:
Can we create invalidation request for multiple distributions
Asked by Ivo Vangelov:

Looking to invalidate multiple distributions. Is it possible to list them all.


Answers:
author: Theodora Boudale
body: Hi Ivo and welcome to the community!

Your question has the tags **pipes** , **aws** , and **cloudfront**, so I assume you are referring to the following pipe, atlassian/aws-cloudfront-invalidate?

* <https://bitbucket.org/atlassian/aws-cloudfront-invalidate/src/master/>

If so, the pipe can only invalidate one distribution, as per [aws boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cloudfront/client/create_invalidation.html) and [aws cli](https://docs.aws.amazon.com/cli/latest/reference/cloudfront/create-invalidation.html). If you want to invalidate multiple distributions, you can use the pipe multiple times in your yml, one for each distribution id.

Kind regards,  
Theodora


Tags: aws

bitbucket-cloud

bitbucket-pipelines

cloud

cloudfront

pipes
git push returns 500 server error
Asked by ivanhoe011:

I've suddenly this morning started getting 500 response from the bitbucket when I try to push my code. I don't remember changing anything on my side, and this all worked fine previously. The Atlassian status page is all green, so I'm not sure if it's just my repo, or what.  

Here's the output of the \`git push -v\` command:  

Pushing to [https://bitbucket.org/\*\*\*\*\*\*\*\*\*\*\*\*\*](https://bitbucket.org/*************)   
Enumerating objects: 25, done.  
Counting objects: 100% (25/25), done.  
Delta compression using up to 8 threads  
Compressing objects: 100% (17/17), done.  
POST git-receive-pack (chunked)  
**error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500**   
**send-pack: unexpected disconnect while reading sideband packet**   
Writing objects: 100% (17/17), 1.64 MiB \| 2.47 MiB/s, done.  
Total 17 (delta 8), reused 0 (delta 0), pack-reused 0  
**fatal: the remote end hung up unexpectedly**   
Everything up-to-date


Answers:
author: ivanhoe011
body: OK, nevermind, it turns out it was an issue with the git's buffer size (which is 1MB by default ). One image was around 500KB, and probably that was too much for it. I'd never figure it out without ChatGPT honestly...  

To change the buffer size (to 500MB):  
\`git config --global http.postBuffer 524288000\`  


Tags: cloud

fatal

rpc-failed
User 2fa not working
Asked by richardmcgavigan:

Hello,

A member of my team hasa bitbucket log in with 2FA but they have a new phone so are unable to log in and my recovery key didn't work. So yesterday they asked to "send a recovery email" and it said it would be with them in 24 hours.

They have received my one-time log in today.

"This recovery link will only work for the account for 24 hours after it was sent. For security reasons, you can only use it once. When you log in to your account, we'll direct you to your two-step verification settings page."

However, when they click the link it asks me to log in and then asks for 2FA - which they are unable to do.

They just seem to be stuck in a loop of not being able to log in.

Are you able to help with this please?

Thanks


Answers:
author: Ben
body: Hi [@richardmcgavigan](/t5/user/viewprofilepage/user-id/5589707)

There is a chance that the customer has 2FA enabled at both the Atlassian account level and the Bitbucket Cloud level.

We have an article that highlights which level the 2FA is configured at (based on the appearance of the 2FA prompt) and provides steps to reset/disable at both levels:

* <https://confluence.atlassian.com/bbkb/how-to-disable-reset-2fa-on-bitbucket-cloud-and-atlassian-account-1236932929.html>

Please follow the above article and let us know if any issues.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
How we can assign users or groups to bit bucket workspace using REST API
Asked by Raj Shekhar:

Bitbucket Cloud workspaces won't include built-in user or group management for newer workspaces created after February 5th, 2024. Instead, we need to manage users and groups through Atlassian Admin. This is part of Atlassian's plan to unify user management, as explained in their blog

<https://bitbucket.org/blog/unified-user-management-is-generally-available-for-new-bitbucket-cloud-workspaces>.

We can use SCIM to manage users and groups, but how can we assign users or groups to a workspace using REST API?


Answers:
author: Kieren _SmolSoftware_
body: You could use the API [@Raj Shekhar](/t5/user/viewprofilepage/user-id/5589586), or use a Marketplace app like [Admin Automations](https://marketplace.atlassian.com/apps/1234013/admin-automations-for-jira-and-user-management?hosting=cloud&tab=overview) (assuming you also have Jira) to automate adding your users into groups, such as adding users to the default Bitbucket group...


author: Ben
body: Hi [@Raj Shekhar](/t5/user/viewprofilepage/user-id/5589586)

Please refer to our Cloud Admin REST API documentation - you can perform user management for your organisation here:

* <https://developer.atlassian.com/cloud/admin/about/>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
The requested repository either does not exist or you do not have access. If you believe this reposi
Asked by Ankit Singh:

Please give an solution of it

The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.


Answers:
author: Patrik S
body: Hello [@Ankit Singh](/t5/user/viewprofilepage/user-id/5589533) ,

and welcome to the Community!

This error is usually returned when trying to perform a git operation when using invalid credentials for authentication (assuming that your account does have access to the said repository).

In this case, could you please share with us the full command you're executing that is showing this error?

When sharing the command, make sure to sanitize any sensitive information (username, workspace,repository, etc) to protect your privacy, as this is a public forum.

Thank you, [@Ankit Singh](/t5/user/viewprofilepage/user-id/5589533) !  
Patrik S


Tags: bitbucket-cloud

cloud
Manual triggering pipeline from the step I want
Asked by Sena Turku Cakmak:

Hello Community,

I have couple of questions:

1. Is it possible to trigger a certain step in bitbucket whenever I want, without running the whole pipeline?
2. If I have 2 steps parallel to each other and one of them has manual trigger setup, and then the pipeline continues with sequential steps, , is it possible to make pipeline keep running the next steps without triggering that manual step?

Thanks in advance,

Sena


Answers:
author: Saxea _Flowie_
body: Hi [@Sena Turku Cakmak](/t5/user/viewprofilepage/user-id/5436154) ,

You can probably use variables in a custom pipeline to control the steps you want to skip.

You might also want to check out [Flowie](https://flowie.app/docs/en/plugins/pipelines), a [Bitbucket addon](https://marketplace.atlassian.com/apps/1231101?tab=overview&hosting=cloud) we provide, that adds a lot of flexibility for pipelines, such as support for triggering pipelines with different events, in parallel, based on conditions, and pre-defined values for variables.


author: Patrik S
body: Hey [@Sena Turku Cakmak](/t5/user/viewprofilepage/user-id/5436154) ,

thanks for reaching out to Community!

Let me respond to your questions individually for better clarity:
> 1. Is it possible to trigger a certain step in bitbucket whenever I want, without running the whole pipeline?

Unfortunately, it's not possible to trigger a single step only, the whole pipelines will be executed when it is triggered. However, you can have a pipeline defined with a single step, so once you trigger the pipeline, that single step will be executed. That might be an option depending on your use-case.
> If I have 2 steps parallel to each other and one of them has manual trigger setup, and then the pipeline continues with sequential steps, , is it possible to make pipeline keep running the next steps without triggering that manual step?

The pipeline will continue to the sequential steps only after all the steps in the parallel block have been completed. In you example, only after the manual step is triggered and complete, the rest of sequential steps will be executed.

I hope that helps! Should you have any questions, please let us know!

Thank you, [@Sena Turku Cakmak](/t5/user/viewprofilepage/user-id/5436154) !

Patrik S


Tags: bitbucket-cloud

cloud
This site can?t be reached
Asked by Sanjay.Maduri:

Hi Team,

I am unable to connect to bitbucket from my office laptop since this morning however i was able to login till yesterday from last 2 months.

This site can't be reached {#toc-hId--328313463}
------------------------------------------------

The connection was reset.  
Try:

* Checking the connection
* [Checking the proxy and the firewall](chrome-error://chromewebdata/#buttons)
* Running Windows Network Diagnostics  
ERR_CONNECTION_RESET

<https://bitbucket.org/yooralla2/workspace/repositories/>


Answers:
author: Patrik S
body: Hey [@Sanjay.Maduri](/t5/user/viewprofilepage/user-id/5535809) ,

and welcome to the Community!

I noticed you have created a support ticket for this issue and one of our support engineers is already investigating the issue with you.

Once the ticket is resolved, feel free to share the solution here in community to assist other users that may come across the same issue.

Thank you, [@Sanjay.Maduri](/t5/user/viewprofilepage/user-id/5535809) !

Patrik S


Tags: bitbucket-cloud

cloud
When to use Auto-Add versus Dynamically add reviewers to PR using ScriptRunner Listener?
Asked by Scarlett Jones:

Is the only difference between them that dynamically add will update when a PR is updated, while auto-add will only add when a PR is created?

If using dynamically add, if the members of a mandatory reviewer group are updated (new members added), and the PR is updated, will it get the new members added to the PR?

Does updating a PR refer to only adding/removing commits? What about editing the PR description/title or anything else you can edit without making a new commit?

Documentation:

<https://docs.adaptavist.com/sr4bib/8.34.0/features/listeners/built-in-listeners/auto-add-reviewers-to-a-pull-request>

"Using this script, you can automatically add reviewers when a pull request (PR) is created."

<https://docs.adaptavist.com/sr4bib/8.34.0/features/listeners/built-in-listeners/dynamically-add-reviewers-to-a-pull-request>

"Using this script, you can dynamically add default and mandatory reviewers based on a script when a pull request (PR) is created or updated."


Answers:
author: Max Lim _Adaptavist_
body: The main difference is that, for dynamically add reviewers listener, the "configuration script" field allows you to script more complicated logics on adding the reviewers.

For example, you might want a reviewer from same time zone as mandatory, reviewers from different time zones as normal reviewers.

For time zone use case, there is an related [merge check example](https://docs.adaptavist.com/sr4bib/latest/features/script-merge-checks/built-in-merge-checks/custom-merge-check) for enforcing reviewers in several timezones.

Hope this helps.


Tags: adaptavist

bitbucket-server

event-listener

listener

script-listener

scriptrunner

server
I can't create a new workspace
Asked by mazedmike:

I can't create a new workspace. The button is missing. I have looked at this post and I don't have an option to add or create one anywhere in my profile or anywhere in the interface.

<https://community.atlassian.com/t5/Trello-questions/Can-t-create-workspace/qaq-p/2721286>


Answers:
author: Saxea _Flowie_
body: Hi [@mazedmike](/t5/user/viewprofilepage/user-id/1352350)

Check out [this answer](https://community.atlassian.com/t5/Bitbucket-questions/Re-Re-Create-Workspace-button-is-absent/qaq-p/2782760/comment-id/106796#M106796)


Tags: bitbucket-cloud

cloud
Editing the question as not able to post reply
Asked by Chetan Patidar:

[@Mark C](/t5/user/viewprofilepage/user-id/1210823) ,  

still getting the git clone issue for repos in which one central repo has dependency of another 20+ repos .  

even after changing the git user to my own which have access to all the other repos  

<br />

Resolving dependencies...  
Host key verification failed.  
13
fatal: Could not read from remote repository.


Answers:
author: Mark C
body: Hi [@Chetan Patidar](/t5/user/viewprofilepage/user-id/5582702)

Thank you for reaching out to the community.

Would it be possible for you to try to configure the same at the repository level?

```
git config user.name "ABC"
git config user.email "abc@gmail.com"
```

Let me know how it goes.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Renovate pipe does not support private S3 repositories
Asked by b_lagerweij:

We are using Bitbucket pipelines in combination with a private repository hosted on S3. Although the renovate product supports S3 hosted repositories just fine, it does not work for the pipe. The reason is that the pipe.yaml does not propagate the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.

```


  - name: AWS_ACCESS_KEY_ID

    default: $AWS_ACCESS_KEY_ID

  - name: AWS_SECRET_ACCESS_KEY

    default: $AWS_SECRET_ACCESS_KEY

  - name: AWS_REGION

    default: $AWS_REGION

  - name: AWS_DEFAULT_REGION

    default: $AWS_DEFAULT_REGION
```

Could you please update the pipe.yaml file, and add the above lines ?


Answers:
author: Igor Stoyanov
body: Hi [@b_lagerweij](/t5/user/viewprofilepage/user-id/4612448) . Thanks for your feature request.  

We will think about adding support of pre-execution script, so will have the ability to implement your custom logic before the pipe execution.  

We will notify you when this feature will become available.  

Regards, Igor


author: Ben
body: Hi [@b_lagerweij](/t5/user/viewprofilepage/user-id/4612448)

I am reaching out to the pipes development team for clarity on this.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

pipes

renovate

scan
Linking bitbucket with atlassian and IDP solution
Asked by Ujjwal Jha:

Hi team,

my current bitbucket instance is managed separately along with my other atlassian product like jira and confluence.

is it possible to link both service in one account.

Also, i want to enable IDP login in bitbucket which i am not able to see any option.

Is it possible to achieve it via Atlassian guard service so that user account can be managed from one single source.


Answers:
author: Syahrul
body: G'day, [@Ujjwal Jha](/t5/user/viewprofilepage/user-id/5588553)

Welcome to the community!

The existing workspace created before the announcement [here](https://bitbucket.org/blog/unified-user-management-is-generally-available-for-new-bitbucket-cloud-workspaces) will be unable to manage their user from the Admin hub until FY25.

However, it's possible to redirect your user login through SAML/SSO via Atlassian guard, but you won't be able to provision or manage your user in Bitbucket workspace yet.

If you have a paid workspace and need further assistance, please raise a support ticket via our Support portal.

Regards,  
Syahrul

comments: author: Ujjwal Jha
body: I have opened support request as well however they did not provided any concrete answer.

however, from above thread, it seems that we have to wait till 25 for feature to be released.

is there any possibilities for way sooner.


author: Syahrul
body: Hi [@Ujjwal Jha](/t5/user/viewprofilepage/user-id/5588553)

Thanks for the update.

Unfortunately, we don't have any update yet on the possibility of a much sooner migration. I suggest keeping an eye on our blog for any latest news:

<https://bitbucket.org/blog/>

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Issue: Bitbucket Data Center Dhttp.nonProxyHosts ignored by Wehbook
Asked by limboonchia:

I am using outbound proxy for Bitbucket DC for external network, while bypassing proxy for internal network with below option in the _start-webapp.sh

```
 -Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*?    

OR

 -Dhttp.nonProxyHosts=\"localhost|127.0.0.1|192.168.*.*\"
```

However, when i was testing connection in wehbook plugin, both localhost and 127.0.0.1 are working and bypassing proxy, while 192.168.x.x server is not reachable . So this seems like ignored by webhook.

Then if I use below option instead, then it works with bypassing proxy.

```
 -Dhttp.nonProxyHosts=192.168.1.2?
```

Anyone has any resolution on this or encountered before on how to setup multiple target ip addresses ?

-Dhttp.nonProxyHosts=localhost\|127.0.0.1\|192.168.\*.\*


Answers:
author: Aman Shrivastava
body: Hi [@limboonchia](/t5/user/viewprofilepage/user-id/5587148)   

I think instead of using -Dhttp.nonProxyHosts=localhost\|127.0.0.1\|192.168**.\*.\*** , if you use -Dhttp.nonProxyHosts=localhost\|127.0.0.1\|192.168**.\*** , it may work.   
The wildcard character generally doesn't work in the segments of dot notation so you can user it in the beginning or the end.   

Regards,  
Aman


Tags: bitbucket-data-center

data-center

java

proxy
Server not able to start
Asked by haarrvin96:

Hi,

I'm currently working server migration, I noticed when start crucible services its hangs at crucible on control port. Anyone knows how I can fix this? Thanks.  
![crucible stuck.JPG](/t5/image/serverpage/image-id/195976i32BE34B1FBB5AC8F/image-size/large?v=v2&px=999 "crucible stuck.JPG")


Answers:
author: Jim Butler
body: Check the permissions on your data/ and installation files (I extracted the zip as root, and the log showed that the crucible user couldn't write into the dir (a chown -r to the service account on the tree worked.).

(not sure if that is it), but the other thing is that you have some reference to nfs. You may have a contention on the server while its trying to migrate during the post-config (bump the servers for you nfs (ps -ef \| grep nfs ) and subtract 2, then look for that number in /etc/default/nfs and bump it (I run 512, 2048, sometimes more, depending on how many thousands of connections i have).

good luck.
Lost emergency key
Asked by yang:

I have jira account and enabled the two factor authentication. But I lost my emergency key, so I can't login.

I refer to <https://support.atlassian.com/atlassian-account/docs/login-issues-related-to-two-step-verification/#Your-emergency-recovery-> key-doesn--x27-t-work-or-you--x27-ve-lost-it, but I don't see "Send recovery email", and the administrator didn't find how to recover my account.

How can I recover my account?


Answers:
author: Ste Wright
body: Hi [@yang](/t5/user/viewprofilepage/user-id/4912732)

Looks like you have a few similar questions on the Community - including:

* <https://community.atlassian.com/t5/Bitbucket-questions/Lost-emergency-key/qaq-p/2021200>
* <https://community.atlassian.com/t5/Jira-questions/Lost-emergency-key/qaq-p/2022155>

You only need to post your question once to get help from our Community members!

Please use one of these, which both have an answer :)

Ste
svn and fisheye
Asked by mcote:

while indexing an existing repo I am getting errors about spaces in the filenames for very old versions of files. These have since been removed from the repo. I keep restarting the indexing at later and later versions, but then other errors occur. When the repo was originally indexed about 4 months ago, we did not see these problems starting the index at the default location which I believe is version 1. So, why am I seeing them now and what can I do to fis this? Developers who are creating reviews are missing diffs, etc.


Answers:
author: mcote
body: I opened a ticket with support.
How do you change icons of custom links in the Application Navigator?
Asked by EJD799:

How do you change icons of custom links in the Application Navigator?


Answers:
author: G subramanyam
body: Hi [@EJD799](/t5/user/viewprofilepage/user-id/5221625) welcome to the Atlassian community.

If you have administrator rights in your Jira application, you can *edit the links* on the application navigator to meet your specific needs.
Project Intake
Asked by BP:

Hello,

I am wondering if Atlassian has any Project Intake and prioritization software? Or if there are addons.

Where a user can submit a (simple) business case. It can be reviewed and prioritize. Before becoming a full project.

thanks


Answers:
author: Mikael Sandberg
body: Hi [@BP](/t5/user/viewprofilepage/user-id/5220772),

Welcome to Atlassian Community!

You may want to take a look at [Jira Product Discovery](https://www.atlassian.com/software/jira/product-discovery) which lets you capture and prioritize ideas.


Tags: atlassian-platform
is there any support for zabbix
Asked by Vysakh Vtk:

I have an issue with zabbix, before that i want to know that zabbix support also provide through this community


Answers:
author: Brian Trepto
body: You can find the vendors email and Service Desk through the marketplace listing.

[https://marketplace.atlassian.com/apps/1215171/zabbix-plugin?tab=support\&hosting=server](https://marketplace.atlassian.com/apps/1215171/zabbix-plugin?tab=support&hosting=server)


Tags: atlassian-platform
Do apps become free when going below 10 users?
Asked by MIchael Franck:

The question says it all.

We implemented Jira for our project management and development efforts.

Our team has since lowered in size. Originally we had 12 people working in Jira, this has since been reduced to 8.

Does anyone know if apps in your site acknowledge the move below 10 and adjust their pricing to the 1-10 range ?


Answers:
author: Mikael Sandberg
body: Hi [@MIchael Franck](/t5/user/viewprofilepage/user-id/5206302),

Welcome to Atlassian Community!

It all depends on the app, some apps are free for 10 users or less, while others charge a set amount. But yes, they should all adjust if you go below 10 users if you you are on a monthly subscription.


Tags: atlassian-platform
Projector Help
Asked by Pablo G:

Hi,

This is my very first enquiry related to Projector. When I access Projector Help and want to dig in a bit further I'm send here, to this community. But when I try to find Projector within Atlassian products I can't find it.

So where should I post this?

Thanks.

Pablo.-


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

I think you may be in the wrong place. I suspect "Projector" is documenting or supporting their application(s) with Atlassian software, and you have clicked on "help with Atlassian stuff" instead of "help with Projector".

If it is not that, then you'll need to explain which Atlassian application your "projector" is based on.