youngmon/atlassian-qna huggingface dataset:
Create Teams chat for an incident - How to add participants?
Asked by Maor Levinas:

Hi All,

Do someone knows the logics that displays the list of users than can be added to the chat in the 'Participants' fields of the 'Create Teams chat or meeting' window?

What if you have to add multiple users? Can you add group?

Do you manage that after the creation of the chat in Microsoft Teams?

Kind regards,  
Maor


Answers:
author: Marc - Devoteam
body: Hi [@Maor Levinas](/t5/user/viewprofilepage/user-id/1277918)

According to the documentation and test I did, you can only add the people specified in the "participants" field.

You can add multiple users to the participant field, but not groups.

**Create Teams chat or meeting for an incident**

1. From the navigation on the left, select **Incidents**.
2. Open the incident you'd like to create the chat or meeting for.
3. In the **Details** section, find the **Microsoft Teams** field and select **Create chat or meeting**.
4. Under the **Type** field, select **Chat** . To start a video call with your team, select **Meeting**.
5. You can edit the auto-filled **Chat name**.
6. Add a **Chat description**.
7. Add people to your chat using the **Participants**field.
8. Select **Create**.

The group chat you've created will be linked to the incident's details section. Select **Open \[chat/meeting name\]** from the**Microsoft Teams** field in the **Details** section of the incident.

comments: author: Maor Levinas
body: Thanks [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

Any way to use automatin to fill the **Participants** field?

Kind regards,  
Maor


author: Marc - Devoteam
body: Hi [@Maor Levinas](/t5/user/viewprofilepage/user-id/1277918)

Sure.

Simplest rule is when issues is to use issue created trigger in automation and then edit action to add pick request participants field and set the participants.


Tags: cloud

incident

incident-management

jira-service-management

jira-service-management-cloud
Asset management APIs are not returning "RETRY-AFTER" header in throttling 429 error scenarios
Asked by Nijas Rawther:

As per Atlassian documentation, APIs should be sending "Retry-After" header during 429 Error throttling scenarios.  

However, upon testing we have figured that, asset endpoints like say <https://api.atlassian.com/jsm/assets/workspace/>\<workspaceId\>/v1/objectconnectedtickets/\<objectId\>/tickets etc. are not returning "Retry-After" header during 429 Error throttling scenarios.  

Any idea why ?


Answers:
author: Marc - Devoteam
body: Hi [@Nijas Rawther](/t5/user/viewprofilepage/user-id/5079290)

I would address this issue with Atlassian Support.

But it also could be that this doesn't apply on this API part as assets (formerly Insight), is not completely integrated.


Tags: asset-management

assets

cloud

documentation

jira-service-management

jira-service-management-cloud

retry

zzz
General Query regarding Bitbucket Large File Handling
Asked by Kunal Saraf:

Hi Community,

I wanted to know, How are large files are handled in Bitbucket Data Center?, Are there size limits, and if so, are they based on the file size, commit size, or something else?

Regards,  
Kunal


Answers:
author: Kurt Klinner
body: [@Kunal Saraf](/t5/user/viewprofilepage/user-id/4734654)

Hi Kunal

have you already checked <https://confluence.atlassian.com/bitbucketserver/git-large-file-storage-794364846.html>?

Cheers

Kurt


Tags: bitbucket-server

server
Mirroring Repo with Github Only Pushes 1 Branch
Asked by David Rogers:

Hi There

I'm trying to sync our repository on Bitbucket with a fresh repository on Github, such that when I push code to origin (Bitbucket), it pushes that commit on to the "mirrored" Github repository.

To do this, I created the Github repo and set up the ssh keys etc. I then added a Pipleline to Bitbucket called `bitbucket-pipelines.yml` which has the following code:

    clone:  depth: fullpipelines:  default:    - step:        script:          - git push --mirror git@github.com:orgname/nameofrepo.git

This brought over every commit and tag and the branch which I was currently on, but it did not bring over the other branches.

Do you know how to achieve this?  
Thanks


Answers:
author: David Rogers
body: OK. I worked through this and will leave the answer here for the community.  
The first step is to get an updated version of GIT.

As pipelines are run in docker containers, you just need to specify an updated image. (The images are on Docker Hub). That's the 1st line in my yml below.

The clone only creates/tracks the branch which you are currently on. So, you need to track all the other branches. You can also filter out branches which were already merged.

You do this with a *for-each-ref* statement (a git thing). Then, handle master and develop separately, because for some reason, the *--no-merged* flag excludes them.

Then, do the mirror statement as before.  

<br />

```
image: atlassian/default-image:4.20230131

clone:

  depth: full

pipelines:

  default:    

    - step:

        script:

          - 'for i in $(git for-each-ref --format="%(refname:short)" --no-merged=origin/HEAD refs/remotes/origin); do echo $i; git show-ref --verify --quiet refs/heads/${i#origin/} || git switch --track $i; done; git switch --track origin/master; git switch --track origin/develop; git push --mirror git@github.com:nameOfYourOrganization/nameOfYourRepository.git'          
```

And that will push all your branches to Github.

comments: author: Vladi Iancu
body: This works for pipelines running on all commits on all branches, except the master one.

So if you do a PR the pipeline will do it's thing and pass.

But once you merge the PR and the pipeline runs agains (this time it will git clone --branch="master") the pipeline fails when trying to git switch to master.


author: David Rogers
body: na


Tags: bitbucket-cloud

cloud
Does Bitbucket v7.21.9 Datacenter have bitbucket pipelines
Asked by Steven Corpus:

I am using Bitbucket v7.21.9 Datacenter and my repository doesn't have a pipelines option. It just has build, and clicking that tells you to link to Bamboo or Jenkins. Was bitbucket pipelines introduced in a later version, or is there a way for it to be enabled that I am not seeing. I am an admin and have searched through many options and have not found where this might be done.

Any help would be greatly appreciated.


Answers:
author: Kurt Klinner
body: [@Steven Corpus](/t5/user/viewprofilepage/user-id/5149139)

Hi Steven

welcome to the Atlassian community.

Bitbucket Pipelines is only available for Bitbucket Cloud. There was a feature request which got closed [BSERV-9245](https://jira.atlassian.com/browse/BSERV-9245). So you will need watch out for integrating a CI server like Jenkins or Bamboo. <https://confluence.atlassian.com/bitbucketserver/integrated-ci-cd-1032257989.html> is a good starting point

Hope that helps

Cheers

Kurt


Tags: bitbucket-server

server
I reset twice my password but still authentification faild
Asked by simtechnologies:

$ git clone <https://{username}@bitbucket.org/{workspace-id}/{repo}.git>  
Cloning into 'sws-back'...  
Logon failed, use ctrl+c to cancel basic credential prompt.  
remote: Login failed due to incorrect login credentials or method.  
remote: If you are unsure of which login details or login method to use, visit:  
remote: <https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/>  
fatal: Authentication failed for '<https://{username}@bitbucket.org/{workspace-id}/{repo}.git>'

I need to deploy my code from yesterday i'm stuck at that point!

What can i do ?


Answers:
author: Theodora Boudale
body: Hi [@simtechnologies](/t5/user/viewprofilepage/user-id/5148914) and welcome to the community!

Bitbucket Cloud has deprecated the use of account passwords for Git over HTTPS. Your account's password can only be used for logging into our website from browser. If you want to clone, pull, or push to a repo via HTTPS, you can generate an app password and use that instead of a password:

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

Alternatively, you can also set up SSH personal keys for your account and use SSH instead of HTTPS:

* <https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/>

If you have any questions, please feel free to let me know.

Just a heads up, I removed the repo url from your post to comply with our privacy policy.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Is there a way to enable concurrent builds when deploying
Asked by Ammar Karabeg:

We want to enable deploying concurrent builds to develop from different branches but no matter what we try bitbucket is pausing second build, anyone has any idea how to enable deploying as many concurrent builds as we want


Answers:
author: Theodora Boudale
body: Hi [@Ammar Karabeg](/t5/user/viewprofilepage/user-id/5148834) and welcome to the community!

We have concurrency control in place because deploying multiple things to an environment can cause problems:

* <https://support.atlassian.com/bitbucket-cloud/docs/concurrency-control/>

Could you perhaps explain why you want to do multiple concurrent deployments to the same environment? What are these builds doing, are they deploying to the same server?

Builds can run concurrently if you are deploying to different environments. You can also remove the keyword **deployment:** from a step; the builds will then also run concurrently but you won't be able to make use of the deployments features, and you may run into issues if you're deploying to the same location.

Kind regards,  
Theodora

comments: author: Ammar Karabeg
body: Hey, thank you for the fast answer. The biggest problem we are having is that bitbucket is not letting us deploy new stuff to the environment even if the previous deployment is finished. A new pipeline gets paused and when we click on another pipeline is deploying link it navigates us to one that is done


author: Theodora Boudale
body: Hi [@Ammar Karabeg](/t5/user/viewprofilepage/user-id/5148834),

Thank you for the info.

So, if you click on 'another pipeline' in build #1316, it takes you to pipeline #1308? This doesn't look right, as #1316 shows to have been triggered 31 minutes ago, while #1308 is from 3 days ago.

We have a bug where sometimes a deployment pipeline fails to unlock the deployment environment: <https://jira.atlassian.com/browse/BCLOUD-22330> However, even in this case, the lock should be removed automatically after a few hours.

Since your workspace is on a paid billing plan, I would suggest creating a support ticket for further investigation. I cannot access your repos and pipelines builds logs, but if you open a ticket, the engineer working on your ticket will be able to access them and investigate further.

You can create a ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. Please make sure to provide the URL of the builds and also mention that the 'another pipeline' link links to a deployment days before the current one. The support ticket will be visible only to you and Atlassian staff.

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Pipelines are failing continuously due to eslint node module
Asked by Syed Murtaza:

Pipeline started to fail suddenly though it was working fine before. No dependency gets updated.

![Screenshot 2023-02-16 162055.png](/t5/image/serverpage/image-id/240591iD4041853C715A348/image-size/large?v=v2&px=999 "Screenshot 2023-02-16 162055.png")


Answers:
author: Theodora Boudale
body: Hi [@Syed Murtaza](/t5/user/viewprofilepage/user-id/5148804) and welcome to the community!

You can check the steps in the following knowledge base article, "Scenario 1: Builds were successful earlier, but started failing recently":

* <https://confluence.atlassian.com/bbkb/troubleshooting-bitbucket-pipelines-1141505226.html#TroubleshootingBitbucketPipelines-scenario1>

It includes the steps you can follow in order to figure out what is causing the failures.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Multiple Products Security Advisory - Git Buffer Overflow - CVE-2022-41903, CVE-2022-23521
Asked by Zeller:

Hello,  
I have a question about CVEs:  
CVE-2022-41903  
CVE-2022-23521  
we are currently using the versions (without docker)  
bitbucket 7.17.10 LTS  
and  
bamboo 8.0.9  
in the article from Atlassian it is said that you should update to the latest version. Does this mean you should upgrade to  
bitbucket 8.8.1  
bamboo 9.2.1  
or  
bitbucket 7.17.15 LTS  
bamboo 8.2.7  
update

best regards Dima

Translated with [www.DeepL.com/Translator](http://www.DeepL.com/Translator) (free version)


Answers:
author: Vedant Kulkarni
body: [@Dmitrij Zeller](/t5/user/viewprofilepage/user-id/5148733) , you should first upgrade the Git version if it is mentioned in the affected version. Which versions of Git are you using?

comments: author: Zeller
body: [@Vedant Kulkarni](/t5/user/viewprofilepage/user-id/1734051) Hello, we are using 2.7.4


author: Zeller
body: Thanks [@Vedant Kulkarni](/t5/user/viewprofilepage/user-id/1734051)

I got it wrong, I have now updated it


author: Vedant Kulkarni
body: [@Dmitrij Zeller](/t5/user/viewprofilepage/user-id/5148733)

you should upgrade Git to 2.39.2 and compatible Bitbucket version 8.8.1


Tags: bamboo

bitbucket-server

server
how to disable a user in bitbucket using database or rest api
Asked by Manoj:

Hi,  

We are trying to disable the users who are inactive on bitbucket for a certain period of time. Using Rest API we are able to fetch the users who are inactive. Users are from an external directory and they are licensed users because of the groups. Can anyone please suggest how to disable the user either by using an API or database?


Answers:
author: Kurt Klinner
body: [@Manoj](/t5/user/viewprofilepage/user-id/5148597)

Hi Manoj

welcome to the Atlassian community.

One option is to remove the user from all groups he is member of

POST to this endpoint for removing users from groups (see also <https://docs.atlassian.com/bitbucket-server/rest/7.21.0/bitbucket-rest.html#idp36>)

* `/rest/api/1.0/admin/users/remove-group`
* Example POST request body:

    {    "context": "username",    "itemName": "groupname"}

Let me know if you that works

Cheers

Kurt


Tags: bitbucket-server

server
How can i download the monthly subscription invoices
Asked by Kelvin Conrad Siu:

**Bill estimate (based on current usage)**


Answers:
author: Theodora Boudale
body: Hi [@Kelvin Conrad Siu](/t5/user/viewprofilepage/user-id/5143692) and welcome to the community!

For Bitbucket Cloud specifically, the invoices can be found at <https://my.atlassian.com/billing/paidorders>, if you are the billing or technical contact for the workspace in <https://my.atlassian.com>

If you are not listed as technical and billing contact you will not be able to see the invoices there. However, if you are an admin of the workspace in Bitbucket Cloud, you can reach out to our customer advocate team and ask them to

* provide you with the invoices for the workspace
* add you as a billing contact for that license, so you can view the invoices yourself in the future in <https://my.atlassian.com/>

You can create a ticket with our customer advocate team via <https://support.atlassian.com/contact/>, in "What can we help you with?" select "Billing, payments, and pricing", in "Select a topic" select "Finding invoices". Please make sure to provide in the details the URL of the Bitbucket Cloud workspace you want to find invoices for.

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora


author: Harald Seyr
body: Hi [@Kelvin Conrad Siu](/t5/user/viewprofilepage/user-id/5143692)

at least in my accounts, I can navigate to "Administration", select my organisation and then go to "Billing". In the billing part, I can then manage my settings and this also has a "billing history" where I can download invoices from the past.

Please note that there are two different billing engines used by atlassian at the moment, there is some transition period from old to new billing. This means there are two different technical implementations so you have to find your way thru navigation depending on old or new engine.

Regards,

Harald
Can't add ssh because it was already added
Asked by brunocasarotti:

Hello, I am trying to configure my ssh key but when I do that I receive the following error:

Someone has already added that key as an access key to a repository.

can someone help me?


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

There's no easy way to work this out because the keys that belong to other accounts should not be shared.

If you shared the key with someone or used it with a different account, you should already know who it is. If someone gave you the key, you would need to ask them.

If you have no luck chasing it down, you can raise a support request with Atlassian, and they can search out the key for you and identify the account you shared it with.

If you don't want to spend ages chasing down the share, you can (and should) create a new key for your account and use that instead.

For a better explanation, see Theodora's answer on [![](https://community.atlassian.com/html/@D429FEBDA9386F85E874453DCFFCC546/assets/favicon-16x16.png)Problem adding SSH key: "Someone has already added that key as an access key to a repository."](https://community.atlassian.com/t5/Bitbucket-questions/Problem-adding-SSH-key-quot-Someone-has-already-added-that-key/qaq-p/2166987)

comments: author: brunocasarotti
body: where do I open a support ticket?


author: Nic Brough -Adaptavist-
body: <https://support.atlassian.com/contact>


Tags: bitbucket-cloud

cloud
Is userlimits concurrent active users?
Asked by Andrew Brockerhoff:

Hi,

I have a 10 user starter license for the Atlassian JIRA, Confluence, and Bitbucket products.

When I sign into JIRA, I see the following message at the top of the screen in red.

"Your JIRA Software license user limit is exceeded."

I was wondering, what limitation does this impose? Is the user limit for 10 CONCURRENT users signed into the application at the same time? Or just, 10 users max - period the end.


Answers:
author: Jeroen Poismans
body: It is 10 users who have access to the application(s), not concurrent.

Regards,

Jeroen


Tags: bitbucket-server

jira-software

server
lftp - mirror: Login failed: 534 Policy requires SSL.
Asked by Mike Beaton:

I am newly seeing this error at the end of CI when trying to upload files using \`lftp\`.

Nothing has changed on our server: I can successfully issue and complete a \`mirror\` command within \`lftp\`, using the same login as used in the CI, from another server external to our company.

Is Bitbucket somehow, intentionally or otherwise, newly blocking the required ports?


Answers:
author: Igor Stoyanov
body: [@Mike Beaton](/t5/user/viewprofilepage/user-id/5147905) hi.

Maybe you could try to use Atlassian [ftp-deploy](https://bitbucket.org/atlassian/ftp-deploy/src/0.4.0/) pipe:

```
script:  - pipe: atlassian/ftp-deploy:0.4.0    variables:      USER: my-ftp-user      PASSWORD: $FTP_PASSWORD      SERVER: 127.0.0.1      REMOTE_PATH: /tmp/my-remote-directory
```

Regards, Igor


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

continuous-delivery

deployment
Teams webhook does not send out commit status updates
Asked by Petrus Hakakoski:

So, we have old webhooks in our Teams done with the Incoming webhooks as described in the <https://www.moveworkforward.com/blog/how-to-get-microsoft-teams-notifications-from-atlassian-bitbucket-cloud>

In the project where this was already setup it works as it should and does send messages on pipeline statuses. I imported these webhooks into two of our newer repos where we didn't have pipelines before. The webhook works for pull requests, and does notify of their updates, but they do not message about the pipelines. I even made a new connector in Teams, but it's still all silent.

Anything I'm missing here?


Answers:
author: Patrik S
body: Hello [@Petrus Hakakoski](/t5/user/viewprofilepage/user-id/4725937) ,

Thank you for reaching out to Atlassian Community!

I will raise an internal support ticket for this case, using the same e-mail as your community account, as we would like to better understand your current webhook setup.

You should be receiving the link for the ticket in your e-mail so. In case you don't receive it, let me know so I can share it here.

Thank you, [@Petrus Hakakoski](/t5/user/viewprofilepage/user-id/4725937) !

Patrik S


Tags: bitbucket-cloud

cloud

connector

ms-teams

webhook
What are some options to provide global or project scoped pipeline configurations?
Asked by chris.kraus:

I have a project which has many repositories within it. I want to use a singular OIDC credential provider for all of them in order to help with deployment automation toward cloud service providers. Currently, these configurations are being supplied within each repository rather than at some project or global space so that I can simply refer to them within each repository's pipeline configuration.


Answers:
author: Patrik S
body: Hello [@chris.kraus](/t5/user/viewprofilepage/user-id/5147702) ,

Welcome to Atlassian Community!

Currently, the OIDC configuration has to be enabled individually at the repository level as each repository will get unique identifiers. I went ahead and raised a feature request to implement the OIDC configuration at the project/workspace level :

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

We also have a feature request - already in progress - to provide the ability to share the YML file across different repos, and have the option to define a "template" for the yml that could be used by multiple repos :

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

I would suggest you to add your vote on those feature requests, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from those tickets. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Thank you, [@chris.kraus](/t5/user/viewprofilepage/user-id/5147702) !

Patrik S

comments: author: chris.kraus
body: Thank you [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) , let's see if I had a good enough idea or if there's already a solution on the way. Either way, I'd be happy to improve our build settings and/or structure so we don't have so many places to keep track of things like credentials and so on.


Tags: bitbucket-cloud

cloud