youngmon/atlassian-qna huggingface dataset:
Automation rule for tickets with Due date in past
Asked by Rohit Agarwal:

Need to create an automation rule to trigger an email to Assignee for tickets with Due Date older than 7 days from current date. I can do that form manually triggered rule but hoping to get some help for system to send email in order to avoid any manual intervention.


Answers:
author: David Leal
body: I guess you can create a Schedule rule as follows:

![Screenshot 2023-09-09 at 4.28.57 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/279684iA756DD1C4B9BBC14/image-size/large?v=v2&px=999 "Screenshot 2023-09-09 at 4.28.57 PM.png")

The JQL should be more precise:

```
duedate != EMPTY AND duedate < -7d AND status not in (Done)
```

Then define the email notification as follows:

![Screenshot 2023-09-09 at 4.30.48 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/279685i4CEF593873E3A9A5/image-size/large?v=v2&px=999 "Screenshot 2023-09-09 at 4.30.48 PM.png")

You can play with that to adjust it to your specific needs, I guess you get the idea.

I hope it helps,

David
Why did font colors on all BitBucket Cloud wikis and issue trackers suddenly become unreadable?
Asked by Dan Bonachea:

Sometime in the past few hours (Jun 28, 2024, between 4:00 and 7:30 PT) the rendering of apparently all wiki body text content and issue tacker content on BitBucket Cloud changed from a sane "black text on white background" color scheme, to a ridiculous "light grey on white background" color scheme.

I'm really hoping this is some kind of accidental defect, because the new color scheme is almost completely unreadable. Example from [our repo](https://bitbucket.org/berkeleylab/upcxx/wiki/ChangeLog):

![bb-cloud-wiki.png](/t5/image/serverpage/image-id/332558i889C03E590E0393B/image-size/large?v=v2&px=999 "bb-cloud-wiki.png")

Here is a second [random example](https://bitbucket.org/nark/wired-wiki/wiki/Home)

![bb-cloud-wiki2.png](/t5/image/serverpage/image-id/332559i4AD98A13797B03FF/image-size/large?v=v2&px=999 "bb-cloud-wiki2.png")

I've checked numerous other BB cloud repos not affiliated with my workspace and they all show the same defective color scheme.

How can we get this fixed ASAP?


Answers:
author: Dan Bonachea
body: Atlassian support has just acknowledged this problem and entered a public ticket in their bug system.

**Bitbucket users experiencing this problem should go vote on ticket BCLOUD-23301**:

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

**Watch this bug** ticket for future updates and click **This Affects My Team** to improve its visibility with regard to affected users.


author: tc8989
body: To BitBucket management team:

**you should put reliability as top priority** not other fancy stuff.


author: PHHargrove
body: See [here](https://www.w3.org/TR/WCAG21/#contrast-minimum) for W3C recommendations regarding minimum contrast ratio of text.  
Currently Atlassian is falling *far* short of those guidelines.


author: furrykef
body: Please fix this soon. I use Bitbucket wikis nearly every day. They're by far the biggest reason I use Bitbucket as opposed to competing sites. Code snippets on wikis are especially unbearable because they use light gray on dark gray.

For those of you who want a short-term workaround, you can use your browser's inspect feature to turn off the text color under body.adg3. But you have to do it again every time you visit a page unless you want to use a browser add-on that can do it automatically.


author: RoseSilverSoftware
body: I'm seeing the same thing, and it seems to be very recent, as in since yesterday afternoon. All text is now in a very light gray color and is nearly unreadable. Hoping this will be addressed quickly.


Tags: bitbucket-cloud

bug

cloud

color

defect

issue-tracker

regression

wiki
Can't create workspace
Asked by Piotr Grzegorzewski:

![error.png](/t5/image/serverpage/image-id/332581iB6062092269CE1BD/image-size/large?v=v2&px=999 "error.png")  

hey there! i created an account and am trying to create a workspace for myself (<https://bitbucket.org/workspace/create/> ). after clicking Create I get the message Resource not found is there a bug or has something changed in private workspaces?


Answers:
author: studiopence
body: Hey [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) - how about you actually fix this. Several users reporting an issue, myself included. You're just going to leave us in the dark?


author: rcpilotp51
body: Is there a solution to the 404 error to create a resource?


author: Patrik S
body: Hello [@Piotr Grzegorzewski](/t5/user/viewprofilepage/user-id/5532214) ,

and welcome to the Community!

Checking internally I can see that you were able to create a workspace. Could you please confirm if you followed the same path, and it eventually worked after some time, or have you created it from a different page?

comments: author: Piotr Grzegorzewski
body: hello Patrik! successful in admin.atlassian.com, I created an organization, to it I added bitbucket there I added workspace. personal spaces still cannot be created using bitbucket.org/workspace/create/


author: Ernest Pasour
body: Yep, me too (new user).


author: David
body: Same thing here, in my case I created the account years ago, but I have the same issue. Can't create workspaces, showing a "Resource not found"


Tags: bitbucket-unknown-hosting-type

unknown-hosting-type
my repositories were gone
Asked by dnguyenminh:

I have add my code to many repositories in Bitbucket and now I come back. I can log in by my account but most of the repositories were gone. The 3 repositories left are empty.

How I can get back my code ?

for example:

<https://bitbucket.org/workspace-id/workspace/overview/>


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

The workspace you shared was created around the same time that you posted this community question. So, it was new, and no new repositories had been created in it.

Please follow these steps to view all workspaces your account has access to and see the repos in each one:

1. Log in to <https://bitbucket.org/>
2. Select your avatar (top right corner) \> select **All workspaces**
3. Select a workspace from this list (maybe open it in a new tab)
4. Then, select **Repositories** from the menu at the top
5. Repeat steps 3 and 4 for each workspace listed on the **All workspaces** page

Can you find your repositories after following these steps?

Just a heads up, I edited the workspace URL to protect your privacy, as this is a public forum.

Kind regards,  
Theodora


author: Dave Rosenlund _Trundl_
body: Welcome to the community, [@dnguyenminh](/t5/user/viewprofilepage/user-id/5531698) ?

[The Atlassian Support team](https://support.atlassian.com/contact/#/) can help recover core repository content only if it was created within the last seven days.

Beyond that, you would have to look to your own backups.

Hope this helps,

-dave


Tags: bitbucket-cloud

cloud
I'm not receiving bitbucket invitations on my mail
Asked by Gerlad Nartey:

Hi  
Please my colleagues have been trying to send me an invitation mail to access the repository and i'm still not receiving the mail  

Pls help  
Gerald


Answers:
author: Syahrul
body: G'day, [@Gerlad Nartey](/t5/user/viewprofilepage/user-id/5531443)

Welcome to the community!

Could you please check your spam folder, others, or any folder in your mailbox? I can see we had no issue sending the email, so it's likely that the email we sent is being redirected somewhere in your mailbox.

Potentially, if you have a filter, this may redirect the invite email, so I suggest running a search on all your folders within your mailbox or trying to search for the "@am.atlassian.com" domain for a sender email.

Let me know how it goes.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Failing to run bitbucket pipeline for deployment to fly.io
Asked by Tino Rachui:

Hello,

I'm trying to setup and run an bitbucket pipeline to deploy to fly.io. This is how my bitbucket-pipelines.yml looks like:

image: flyio/flyctl

definitions:  
steps:  
-step: \&deploy-staging  
name: Deploy the staging BFF to fly.io  
script:  
- flyctl deploy --remote-only -c staging.fly.toml -t ${FLY_DEPLOY_STAGING_TOKEN}  
pipelines:  
branches:  
staging:  
- step: \*deploy-staging  
When I execute it I get the following error:  
"failed to create containerd task: failed to create shim task: the file /bin/sh was not found: unknown"  
Has anybody a solution for the given image (flyio/flyctl) or do I have to create my own docker image to fix this issue?  
Thanks in advance  
Tino


Answers:
author: Hariharan Iyer
body: Hi [@Tino Rachui](/t5/user/viewprofilepage/user-id/5531300) ,

I don't think you'll be able to use the flyctl image as it doesn't have sh inside it. Instead, you can use a golang image and flyctl CLI as described here - <https://fly.io/blog/continuous-deployment-with-gitlab/>

HTH!

\~ Hariharan


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
i want to create multiple repository privately and want to give access only specific users
Asked by Saurabh Tiwari:

I wan to create different repository privately under binnysportal and want to give access only specific users although i have group of 9 users who have access under binnysportal.

Please help using google meet or mobile- \[redacted\].

ThankYou

Regards,

Saurabh Tiwari


Answers:
author: Syahrul
body: G'day, [@Saurabh Tiwari](/t5/user/viewprofilepage/user-id/5531295)

Welcome to the community!

Please check our guide on [How to create Bitbucket workspaces](https://support.atlassian.com/bitbucket-cloud/docs/create-your-workspace/) as a start and then [How to organize your workspace groups](https://support.atlassian.com/bitbucket-cloud/docs/organize-workspace-members-into-groups/).

In short, create a workspace and then create groups, then assign them to specific projects according to what type of permission you wish to grant the groups.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
I am getting 429 api limit issue with bitbucket in my account although I have a premium plan
Asked by Testing:

Can I get from bitbucket getting request to my account so that I can disable or block that ip


Answers:
author: Ben
body: Hi Testing,

Please raise a support ticket using the URL for your Premium workspace so that we may assist you further. We aren't aware of the workspace/user account you are referring to and this would not be appropriate to share with us on a public forum:

* <https://support.atlassian.com/contact/>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
convert the following static pipeline to dynamic pipeline
Asked by Siva Abbannagari:

I already have the static pipelines with number of steps, now I wnated to convert that to the dynamic pipeline, can somebody suggests how to convert the following steps of my static pipeline into dynamic

*** ** * ** ***

```
steps:    - step: &commonstep         runs-on:           - 'self.hosted'           - 'mylocalrunner'           - 'linux'         clone:           enabled: false         name: Get Tag         image: atlassian/default-image:3         script:           - cd ${BITBUCKET_CLONE_DIR}           - git clone git@bitbucket.org:mywkspace/init-repo -b master           - chmod +x ./init-repo/commonstep.sh           - bash ./init-repo/commonstep.sh         artifacts:           - common_artifact.txt    - step: &Buildmyimage         runs-on:           - 'self.hosted'           - 'mylocalrunner'           - 'linux'         name: BUILD my image         script:           - apk add jq           - export devops_branch=$(cat common_artifact.txt| grep devops_branch|awk -F':' '{print $2}')           - git clone git@bitbucket.org:mywkspace/mydevops.git -b ${devops_branch} && sh mydevops/setup-oci.sh           - cd ${BITBUCKET_CLONE_DIR}           - bash ${BITBUCKET_CLONE_DIR}/mydevops/build.sh myimage         services: [small-memory-build]         artifacts:           - common_artifact.txt         condition:            changesets:              includePaths:                  - "my-code-dir/**"                  - "my-common-code/**"
```


Answers:
author: Theodora Boudale
body: Hi Siva,

We have the following tutorial app:

* <https://bitbucket.org/atlassian/forge-bbc-dynamic-pipelines-provider-tutorial/src/main/>

This app adds a step to the default pipeline, so you can check its source code.

You can also check the documentation of Forge here (dynamic Pipelines operate by utilizing Atlassian's Forge extensibility platform):

* <https://developer.atlassian.com/platform/forge/>

If you need assistance with the implementation, I suggest posting your question to this group (this group is specifically for Forge with Bitbucket Cloud):

* <https://community.atlassian.com/t5/Forge-for-Bitbucket-Cloud/gh-p/bitbucket-cloud-forge>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

dynamic-pipelines
OpsGenie Migration - Pipelines
Asked by Curtis:

I just received notice that OpsGenie is being decommissioned and replaced with Jira Service Management Ops. We are using the Pipe for OpsGenie in Bitbucket Pipelines. Is there a similar Pipe going to be created for alerts to Jira Ops?


Answers:
author: Igor Stoyanov
body: [@Curtis](/t5/user/viewprofilepage/user-id/734074) hi. We released a new pipe[jsm-ops-send-alert.](https://bitbucket.org/product/features/pipelines/integrations?search=jsm&p=atlassian/jsm-ops-send-alert)  

Example:

```
script:
  - pipe: atlassian/jsm-ops-send-alert:0.1.0
    variables:
      JSM_API_TOKEN: $JSM_API_TOKEN
      JSM_CLOUD_ID: $JSM_CLOUD_ID
      JSM_USER_EMAIL: $JSM_USER_EMAIL
      MESSAGE: 'Hello, world!'
```

You could try it, waiting for your feedback.  

Regards, Igor


author: Igor Stoyanov
body: [@Curtis](/t5/user/viewprofilepage/user-id/734074) : please take a [look at this question](https://community.atlassian.com/t5/Opsgenie-questions/OpsGenie-decommission/qaq-p/2659161).  
Also [according to this page:](https://support.atlassian.com/jira-service-management-cloud/docs/start-shifting-from-opsgenie-to-jira-service-management/)

* Opsgenie APIs will continue to work even while you move to Jira Service Management. However, once you complete your move, we recommend that you start using the [Jira Service Management Ops REST API](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/intro/#jira-cloud-platform-apis).  

Answering your question about alerts to Jira Ops pipe: currently there is no such pipe, but we will consider to implement it.  

Regards, Igor


author: Igor Stoyanov
body: [@Curtis](/t5/user/viewprofilepage/user-id/734074) , thanks for your question. We are investigating this now and we will notify you.  

<br />

Regards, Igor


Tags: bitbucket-cloud

cloud

pipes
Pull Request merge on required number of approval
Asked by Abhishek:

![Screenshot 2024-06-27 104836.png](https://community.atlassian.com/t5/image/serverpage/image-id/332189iED75F6F510A5C972/image-size/large?v=v2&px=999 "Screenshot 2024-06-27 104836.png")

Hello,

I tried to setup a feature to deny merge request when the required number of reviewers approve the PR. But its not getting enforced by the bitbucket, as only with 1 reviewer it is allowed to get merged. Is there a way to enforce this security feature in bitbucket. PFA a screenshot of the settings for my branch restrictions.

Thanks for the help!!!


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

The only way to enforce merge checks is with a Premium subscription, as can be seen in your screenshot - the bottom option that is greyed out "Prevent a merge with unresolved checks" is the option for your use case, but is only available with a Premium Bitbucket plan.

For more information comparing Bitbucket plans see our documentation below:

* <https://www.atlassian.com/software/bitbucket/pricing>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Suggestions on how to migrate to BitBucket from 3rd party GIT hosting service
Asked by G_ W_:

Hello,

We are thinking of migrating some GIT repositories that is currently hosted by a 3rd party GIT hosting service to Bitbucket cloud, We are looking for more information on how to do this properly and see if there's any migration tools that would be available to us.

Also, my understanding is that if a file's size exceeds 100MB, it would trigger GIT LFS in BitBucket. What are the implications of triggering GIT LFS?

Best and thank you in advance for your help!

G. W.


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hi [@G_ W_](/t5/user/viewprofilepage/user-id/5531002) ! Welcome to the Atlassian Community!

Have a look at this if all you're doing is just repo data. <https://www.atlassian.com/git/tutorials/git-move-repository>

Here's more information on Git LFS. <https://support.atlassian.com/bitbucket-cloud/docs/manage-large-files-with-git-large-file-storage-lfs/>

comments: author: G_ W_
body: Thank you Robert!

If I may ask a few follow up questions:

1. How does Bitbucket calculate the file size in the LFS system? Say that there is a 200MB file in the GIT history. If it is modified and committed 3 times, would Bitbucket consider 200 x 3 =600MB used towards the LFS storage? Am I correct to assume that if the 200MB file remains un-changed in future commits, there wouldn't be any increase in file size?

2. How can we add additional storage to the LFS storage? (we are currently on the Academic plan)


author: Robert Wen_ReleaseTEAM_
body: 1. Yes, each commit would consume storage as you outlined.

2. Here's the link with instructions on purchasing additional storage. <https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/>


author: G_ W_
body: Thank you so much Robert!


author: G_ W_
body: Hi Robert,

If you don't mind me asking another question regarding LFG:

When migrating GIT repositories to BitBucket, does BB automatically detects repos that needs LFS and automatically converts them to repos with LFS enabled? Do we have the ability to choose which repo(s) will have LFS enabled? From what I read so far, it seems that we need to use 3rd party tools such as [BFG](https://support.atlassian.com/bitbucket-cloud/docs/use-bfg-to-migrate-a-repo-to-git-lfs/) or [git-lfs-migrate](https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-migrate.adoc#options) tools to first re-write git history and then add large files to the GIT LFS? If that's true, do you have a recommendation on choosing BFG vs git-lfs-migrate or other tools?

Thank you again!

G.W.


author: Robert Wen_ReleaseTEAM_
body: The two are pretty equivalent. I'm going to side with BFG only because git-lfs-migrate does this on a branch basis.

I think it's better if you have further questions you should create them as new questions.


Tags: bitbucket-cloud

cloud
tags disappeared from commits page
Asked by Igor Efrem:

Hi suddenly all tags disappeared from all our projects on commits page. but they were there till yesterday. Could someone help how to get them back?  

Tags was not deleted, and if i navigate to commit it appears on tags section.


Answers:
author: Olivier SIMON
body: For you information:  
[Bitbucket Cloud is removing tags links and lozenge... - Atlassian Community](https://community.atlassian.com/t5/Bitbucket-articles/Bitbucket-Cloud-is-removing-tags-links-and-lozenges-from-the/ba-p/2721140)  

Sad, but true...


author: Igor Efrem
body: Thats indescribably baaad decision!


Tags: bitbucket-cloud

cloud
can i get the migration aproch for Bitbucket server to bitbucket cloud without BCMA
Asked by Bala Arjun K P:

can i get the migration aproch for Bitbucket server to bitbucket cloud without BCMA


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hi [@Bala Arjun K P](/t5/user/viewprofilepage/user-id/5523321) ! Welcome to the Atlassian Community!

The short answer to this question is "not exactly". The git repo data will migrate over easily. Where BCMA really helps is migrating the pull request data that's in the database.


Tags: bitbucket-cloud

cloud
Email notification not receiving
Asked by Shoaib:

I add my developer that email is

\<email_redacted\>

<br />

When I pushed a code to our repo my developer can not receive email notification.


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

The user's email address is not in any of our suppression lists.

The user most likely hasn't subscribed for notifications on commits to this repo. Please ask the user to check the following:

1. Open the repository on Bitbucket Cloud website
2. Select **Source** from the left sidebar (in case a page other than the Source opens by default)
3. On this page, select the 3 dots at the top right corner (next to the **Clone** button) \> select **Manage notifications**
4. In the new dialog that shows, select **Watch this repository** and ensure that the checkbox **Commits** is checked

If they have access to multiple repos, they will need to do the same for each repo.

Additionally, ask them to double-check that notifications are not disabled on this page:

* <https://bitbucket.org/account/settings/notifications/>

Just a heads up, I removed the user's email to protect their privacy, as this is a public forum.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
We couldn?t log you in
Asked by reasv NA:

I can't log into my bitbucket account. I keep getting this message:

You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.  


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

Your Bitbucket Cloud account was in a dormant state, which is the reason for the error you were seeing.

I went ahead and reactivated it. Could you please try logging in when you have some time and let me know if the issue is resolved?

Kind regards,  
Theodora


author: Tushar Gohel
body: Hello [@reasv NA](/t5/user/viewprofilepage/user-id/5530649) Welcome to the Atlassian Community.

There could be several reasons why you are encountering this error. Often, it's related to prolonged inactivity on your account. As a first step, I recommend trying to access your account using an incognito or private browsing window. This can sometimes resolve the issue.

If this doesn't rectify the problem, I would advise you to contact the Atlassian support team. They have extensive experience with these types of issues and should be able to assist you further.

<https://community.atlassian.com/t5/Bitbucket-questions/We-couldn-t-log-you-in-problem/qaq-p/2242551>

<https://community.atlassian.com/t5/Bitbucket-questions/I-m-getting-the-error-quot-We-couldn-t-log-you-in-quot/qaq-p/1793606>

Thanks,

Tushar


Tags: bitbucket-cloud

cloud
Get all Pull requests, reviewers, reviewers and who approved
Asked by GrDevTech:

I would like to export/get all from repo or project the pull request information like it:  

"project":"projectName"

"pullrequests": \[

{

"pull-request-id": "fiwjf982f3jf",

"owner":"user3",

"reviewers":\["user1","user2"\],

"users-approvals":\["user1"\],

"isMerged": true

}

\]


Answers:
author: Aron Gombas _Midori_
body: This is the primary REST API end-point you will need: <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-get>

If it doesn't supply all the information you request, check out other REST API end-point as you may need to make multiple calls.


Tags: bitbucket-unknown-hosting-type

pull-request

unknown-hosting-type