youngmon/atlassian-qna huggingface dataset:
Be notified when a customer not invited tried to create a request
Asked by Fiorella Santopietro:

Hi!

I want to create an automation that sends me an email if a customer not included inside the customer list (in a restricted group of my Jira service management) tries to create a request.

Is it possible?

Thanks!

Fiorella

EDIT:

I missed the information that the user opens an issue via email. So if the email is inside the customer's group, he/she can open and create the issue, if not I would like to receive an email.

Consider that I can find this information inside my Jira Service Desk "customer notification logs"![Screenshot 2024-03-18 alle 09.48.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/312637iBA8DE292EF07C0ED/image-size/large?v=v2&px=999 "Screenshot 2024-03-18 alle 09.48.42.png")


Answers:
author: Ste Wright
body: Hi [@Fiorella Santopietro](/t5/user/viewprofilepage/user-id/4601521)

Could you use the User Condition?

For example...

* **Trigger:**Issue Created
* **Condition:** User Condition
  * User = User who triggered the event
  * Check to Perform = is not in group
  * Criteria = *Group Here*
* **Action:**Send Email

\^ You could switch the "check to perform" to a project role, or simply "is not a customer" also.

Ste

comments: author: Fiorella Santopietro
body: The issue is not created because the user is not "allowed" to create an issue since is not inside the customer's group.

Hope it's clear, if not please let me know :)

Thanks,

Fiorella


author: Ste Wright
body: Hi [@Fiorella Santopietro](/t5/user/viewprofilepage/user-id/4601521)

So the user cannot access the form (i.e permissions-based)?

Or they can access the form, and then a validator on the workflow stops them from creating a ticket?

Ste


author: Fiorella Santopietro
body: ok sorry, I missed the information that the user opens an issue via email. So if the email is inside the customer's group, he/she can open and create the issue, if not I would like to receive an email.

Consider that I can find this information inside my Jira Service Desk "customer notification logs"![Screenshot 2024-03-18 alle 09.48.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/312637iBA8DE292EF07C0ED/image-size/large?v=v2&px=999 "Screenshot 2024-03-18 alle 09.48.42.png")

Thanks for your help!

Fiorella


Tags: cloud

jira-service-management

jira-service-management-cloud
Someone has already added that key as an access key to a repository.
Asked by LPMT Software Solution GmbH:

i get this error if i want to add a account based ssh-key although there is no key like this.

What can i do here ?

Adrian


Answers:
author: Nic Brough -Adaptavist-
body: 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 will 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)


Tags: bitbucket-cloud

cloud
Your push failed because the account <Workspace> has exceeded its
Asked by Akhilesh Chourey:

Hi There,

We are having an issue with pushing our changes at the bit bucket. We are getting following error:

```
********************************************************************************
[ALERT] Your push failed because the account '<WorkspaceId>' has exceeded its
[ALERT] user limit and this repository is restricted to read-only access.
[ALERT] To restore write access, ask an account administrator to upgrade their plan.
[ALERT] For more info:
[ALERT] https://confluence.atlassian.com/x/MAFgDQ
********************************************************************************

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

We were on the free plan but we have upgraded to paid plan 2 days back i.e. March 4th.

But we are still not able to push our changes at the Bitbucket.

Can some please help us on this.

Thanks


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

I can see in our system that the billing plan of this workspace was downgraded to the Free plan because there was an issue with the credit card payment.

I see that the billing plan of the workspace has been upgraded again. I would suggest asking the owner of the credit card that is used on Bitbucket Cloud to reach out to their credit card provider and ask for more info on why the payment failed, in order to prevent this issue from occurring again.

If you have any questions, please feel free to reach out.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket server to Datacenter upgrade
Asked by ajaychandar annamlai:

Hi,

We have Bitbucket server with commercial license hosted on Windows server platform. Few months ago we came to know that Atlassian has announced End-of-life for Bitbucket on Windows and we were advised through this [link](https://confluence.atlassian.com/bitbucketserver/end-of-life-for-bitbucket-server-hosting-on-windows-1103070138.html) to either migrate our Bitbucket instance to Linux or cloud. So we were planning to migrate our server to Linux since our license is up for renewal in February 2024. But now when I visit Atlassian website I could see that Bitbucket server is getting scrapped as a whole irrespective of Windows or Linux platform and that we should either migrate to Datacenter or cloud. Could you please confirm whether my understanding is correct and is there any way we can continue using Bitbucket server on Linux after February 2024 ?

Thanks,

Ajay


Answers:
author: Faisal
body: Hi [@ajaychandar annamlai](/t5/user/viewprofilepage/user-id/5162943) ,

Please go ahead with your bitbucket environment migration form Windows to Linux . What need to be done is you need to replace the Server License with datacenter License and you migration is done also you will have the Capability which come with Datacenter license which you can start using .

Hope this answers your query .

Regards


author: Ulrich Kuhnhardt _IzymesCo_
body: I completely agree with the gentlemen who posted here before.

Migrate to linux, whether it's your own server or somewhere in the cloud (AWS EC2 for example)

I wanted to add that your **server** license is **perpetual** (datacenter licenses are not). You can use it indefinitely if you stick to the Bitbucket server version that you licensed, i.e. the release date of the server version installed is **before** or on the license end-date. You cannot upgrade to a Bitbucket server version that's released **after** your license end-date.

Good luck and let us know if you need any more help!

Cheers, Ulrich

// [Izymes](https://marketplace.atlassian.com/vendors/1210584/izymes-pty-ltd)


author: Aron Gombas _Midori_
body: You should:

1. first migrate to Linux otherwise you won't be able to use new Bitbucket versions (Windows is not supported any longer as server-side OS)
2. then use a Data Center license (Server as deployment type is deprecated, it will be replaced by Data Center)

Eventually, you should considering moving to Bitbucket Cloud, but that is totally different service. Different features under the same name. But if you could do that, then it replaces both steps above and you have a Bitbucket instance which will be supported "forever".


Tags: bitbucket-server

server
Atlassian provides PGP or md5 or SHA256 Checksum
Asked by Owen Chen:

Hello everyone,

I will install tools such as Jira on the Linux base.

I would like to ask whether Atlassian provides PGP or md5 or SHA256 Checksum to confirm that the Jira, confluence, bitbucket (Data Center) I downloaded are the correct sources?


Answers:
author: Charlie Misonne
body: Hi [@Owen Chen](/t5/user/viewprofilepage/user-id/5138468)welcome to the Atlassian Community!

When you open a specific version on Atlassian's download page you will see a link to the checksum of the version.

![2023-03-06 14_43_54-Bitbucket Server Download Archives _ Atlassian.png](https://community.atlassian.com/t5/image/serverpage/image-id/243989i4A403EC19EDC7EA1/image-size/large?v=v2&px=999 "2023-03-06 14_43_54-Bitbucket Server Download Archives _ Atlassian.png")


author: Owen Chen
body: Hi [@Charlie Misonne](/t5/user/viewprofilepage/user-id/502263) ,

Thank you for your reply,

Although I didn't find anything similar to the picture above on the download pages of Jira and Confluence.

<br />

But your reply is still the answer I want.

Thanks,

Owen


Tags: bitbucket-server

download

encryption

server
No support for authentication using secrets for webhooks
Asked by Praveen Kamath:

Hey Team,

I am trying to add a new webhook to a repo. The [confluence page](https://confluence.atlassian.com/bitbucketserver/manage-webhooks-938025878.html#:~:text=activity%20every%20minute.-,Securing%20your%20webhook,-You%20can%20secure) says there's support for HMAC authentication using a secret key. But I don't find it in the webhook configuration page.

Kindly help me with this.

Thanks,

Praveen Kamath


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

I'm afraid that this feature is not available in Bitbucket Cloud. The documentation you linked is for Bitbucket Server (self-hosted instance).

We have a feature request for what you are asking in our public issue tracker:

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

The last comment in that feature request is from one of our Product Managers (from Edmund Munday).

I would suggest adding your vote to the feature request (by selecting the **Vote for this issue** link) to further express your interest. 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.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

webhook
Git Buffer Overflow - CVE-2022-41903, CVE-2022-23521
Asked by Ashley Roberts:

We are using Bitbucket v8.1.0 and git version 2.35.1.windows.2, does anyone know where we can get GIT version v2.36.4? We have looked everywhere and can't find it.


Answers:
author: Harald Seyr
body: Hi [@Ashley Roberts](/t5/user/viewprofilepage/user-id/5048444)

please check if [Bitbucket Server Download Archives \| Bitbucket](https://bitbucket.org/product/download-archives) contains a fix for your version.

From [Multiple Products Security Advisory - Git Buffer Overflow - CVE-2022-41903, CVE-2022-23521 \| Atlassian Support \| Atlassian Documentation](https://confluence.atlassian.com/security/multiple-products-security-advisory-git-buffer-overflow-cve-2022-41903-cve-2022-23521-1189805967.html), I guess there are no plans to provide a backport of the fixes to your old version. As I understand, this is not task of atlassian, but is in domain of the maintainers of git windows.

I strongly recommend to update to a current version since only those will be maintained and get security fixes.

Regards,

Harald


Tags: bitbucket-server

server
"Something went wrong" page when trying to import the repository
Asked by Agado System:

Hi,

I tried to import repositories into Bitbucket workspace, and instead of getting an import dialog, I'm getting a :Something went wrong" page with the error code: 5f031603313d420eafe8f3e0fce5425b

If someone from Atlassian support is monitoring this - please advise.

Thanks!


Answers:
author: Ben
body: G'day!

Welcome to the Bitbucket Cloud community :)

I've had a look at the error code you've provided and I can see the following error message reported in the backend:

```
Does not exist.
```

Can you please double-check the repo path that you are importing and ensure it is all correct?

Also, please share the path format you are using to import the repo - please replace any identifying workspaceID/repo slug with X or sample values for privacy purposes as this is a public forum.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Agado System
body: I'm afraid I failed to explain the issue. I do not get to a point where I can enter a repo URL. Just clicking a link to open the repository ++import dialog++ redirects me to an error page.

BTW, after many trials I did succeed importing my repositories, but the problem manifested itself from multiple browsers, when connecting with this account, Other accounts that I tried did not have this issue. And with this account, there was one tab where I was able to import, and several other tabs where I was getting an error.

And yes, I tried to clear cookies, to refresh the page completely and all other usual stuff.


Tags: bitbucket-cloud

cloud
Como fa?o para transfeir a Administra??o do Bitbucket para outro usu?rio e excluir o usu?rio atual ?
Asked by 4kti:

Desejo excluir o usu?rio atual que criou o reposit?rio BitBucket e transferir o reposit?rio para administra??o de outro usu?rio.

Como devo proceder ?   


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

I checked the details of your Bitbucket Cloud account in our system. The repos belong to your account's personal workspace, and it is not possible to remove the access of your user from this workspace. So, I would advise the following steps:

1. Ask the user that you want to be the new admin to create a new workspace (steps on how to create a new workspace here: <https://support.atlassian.com/bitbucket-cloud/docs/create-your-workspace/>)
2. Afterwards, ask them to give you the workspace-id of the new workspace they created, so you can transfer the repos.  
   After you get the new workspace-id, transfer the repositories to the new workspace following this guide: <https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/>
3. The admin of this new workspace then needs to accept the transfer request, in order for the transfer to complete

Please keep in mind that after the transfer is accepted and completed, your account will no longer have access to the repo(s), unless the admin of the new workspace grants you access.

The new admin will need to set up user access in the new workspace and also upgrade the workspace's billing plan (if they need more than 5 users with access). You can then downgrade the billing plan of your workspace to Free so that you don't continue paying for a workspace with no repos.

Please keep in mind that after the repositories are transferred, their URL will change. Users who have a clone of repos you are going to transfer on their local machine will need to update the remote URL in each clone. Details are provided in the last section of the page I shared in step 2. If you have any integrations with third-party tools, these may also need to be updated with the new URL of the workspace and repos.

If you have any questions, please feel free to reach out.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I can't log in to Bitbucket
Asked by woodsmall:

I was using Google's Authenticator for two-factor authentication.  

However, when I changed the iPhone model, I forgot to transfer the data.  

As a result, I can no longer log in to the Bitbucket management screen.  

Please tell me how to log in.  


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

After you log in to <https://bitbucket.org/>, on the screen that asks you for a 2FA code, there is a link with the text **Forgot code?**.

You can select that and ask for a 2FA recovery email. 24 hours after you request it, an email will be sent to your email address. You can follow the link in that email in order to disable Bitbucket 2FA.

If you have any questions, please feel free to reach out!

Kind regards,  
Theodora

comments: author: woodsmall
body: Dear Theodora.  

I was able to log in.  
Thank you very much!


author: Theodora Boudale
body: That's good to hear and you are very welcome!

Please feel free to reach out if you ever need anything else!


Tags: bitbucket-cloud

cloud
How can .ipynb files be viewed from Bitbucket (private repo)?
Asked by Varvara Shershneva:

I cannot find a way to open .ipynb files in Bitbucket. NBViiewer plug-in does not work. Neither is there an App for it on Atlassian Marketplace. Is there another option?


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

You can try the following add-on:

* [https://marketplace.atlassian.com/apps/1218117/ipython-notebook-viewer?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1218117/ipython-notebook-viewer?hosting=cloud&tab=overview)

This needs to be installed by an admin on the workspace that has repos with .ipynb files.

After installing the add-on, open the .ipynb file on our website. You will see an option "Default File Viewer", like in the screenshot:

![Screenshot 2023-03-06 at 14.32.19.png](https://community.atlassian.com/t5/image/serverpage/image-id/243998iD6384D2DB95DD154/image-size/large?v=v2&px=999 "Screenshot 2023-03-06 at 14.32.19.png")

<br />

You can change that to Ipython Notebook.

Please keep in mind that this app is not officially supported and it is provided "as-is". See below the note about all Atlassian Labs apps:

* <https://marketplace.atlassian.com/vendors/33202/atlassian-labs>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
SSH key with passphrase
Asked by Justin Jones:

Hi, I am attempting to use atlasian/scp-deploy and my server requires a passphrase for each key. So how do I pass the passphrase programmatically in a deployment pipeline? I am struggling to find an example that shows this usage.

I know that sshpass can be used but I'm not sure that is what the scp-deploy uses. It could certainly use sshpass if a password is set, but that is not a variable in the list of variables.

```
sshpass -p "password" scp file1.txt root@192.168.1.100:/mnt/
```


Answers:
author: Theodora Boudale
body: Hi [@Justin Jones](/t5/user/viewprofilepage/user-id/4369961),

I'm afraid that it is not possible to use the pipe atlasian/scp-deploy with an SSH key that has a passphrase.

Instead of using the pipe, you can use sshpass with scp in the bitbucket-pipelines.yml file of your repo. If the Docker image you are using as a build container doesn't have sshpass or an ssh client, you can add the necessary commands to install them prior to executing the sshpass command. You can also create a custom Docker image that includes these tools and use that as a build container.

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

Kind regards,  
Theodora

comments: author: Justin Jones
body: ok


Tags: bitbucket-cloud

cloud

scp
Pipeline not trigger after semantic release push tag
Asked by Nadiia Kravchun:

Hello!  
I have a pipeline where tag is created automatically via semantic-release package:

```
pipelines:
   branches:
     develop:
       ....... 
     master:
       .......
         - step:
           name: create tag for deploy prod
           image: node:19-buster-slim
           script: 
            .....
            - semantic-release
            - git push origin --tags
   tags:
      v*:
        .......
```

In my Repo and logs I see that tag was created, but pipeline didn't start.  
Some logs:
> semantic-release  
> [3:00:37?PM] [semantic-release] ? ? Created tag v2.4.0  
> [3:00:37?PM] [semantic-release] ? ? Published release 2.4.0 on default channel  
> git push origin --tags
Everything up-to-date  
`And in Bitbucket Repo I see it.`  
`But when I create tag manually from console, tag pipeline trigger and works.`  

```
git tag v2.5.0

git push origin --tags
```

Any ideas?


Answers:
author: Nadiia Kravchun
body: I find fix. I've deleted package.json and everything start work


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

tag
PUT /rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/browse/{path} error, add or edit
Asked by zeedub:

Hello,

I have been trying for days to add a file from Node VIA REST API. I am 100% sure that I am sending it correct. I am now trying in Postman with the following info

This is bitbucket server btw:

/rest/api/latest/projects/EPS/repos/gm-email/browse/test.html

I am sending form-data

branch

message

content - file, I have also tried string

return:  
{  
"errors": \[  
{  
"context": null,  
"message": "An error occurred while processing the request. Check the server logs for more information.",  
"exceptionName": null  
}  
\]  
}  
if I leave content null  
{  
"errors": \[  
{  
"context": null,  
"message": "Parameter 'content' cannot be null.",  
"exceptionName": null  
}  
\]  
}  
I have structured the content all sorts of ways from file to buffer to plain string no matter what it will not work.  
Any help would be appreciated, I think there may be a bug with this call.  
Thanks!


Answers:
author: Javier AMENGUAL CAMARA (contractor)
body: Did you solve the problem? Because I am having the same problem

comments: author: David Jansons
body: Are you by any chance using a repo HTTP access token to run the REST request?

We recently closed a [bug](https://jira.atlassian.com/browse/BSERV-14425) related to this issue.

If you are using a repo HTTP access token, can you please try with a personal HTTP access token as a work around?

If this is the cause of the issue, I would recommend updating your server to a version that contains the bugfix.


author: David Jansons
body: If the above suggestion doesn't resolve the issue, can you please provide:

* The version of bitbucket you are running. (This can be found at the bottom of the webpage when viewing a screen on your server)
* The error message from the logs (You may need your admin to get this for you if you don't have access to the server)

If we can't resolve the issue with the extra two bits of above data, the next step would be raising a support [request](https://support.atlassian.com/contact/#/).


Tags: bitbucket-server

server