youngmon/atlassian-qna huggingface dataset:
Apply existing automation rules to new project
Asked by Kip Woods:

I have a set of automation rules that are applied to multiple similar projects. Whenever a new project of similar type is created, or one of the existing projects is archived, I'd like to apply or remove the entire automation rule set scope accordingly. Is this possible?

Currently, I have the rule set grouped via a label and use that to identify each rule that has to be updated whenever the scope changes. This isn't terribly tedious today as the scope doesn't need to change frequently, but it feels like a grouped update mechanism could exist to make life easier and I am just unaware of it.


Answers:
author: Laurie Sciutti
body: Hi [@Kip Woods](/t5/user/viewprofilepage/user-id/4653493) \~ what about using the project category?

comments: author: Kip Woods
body: Hi [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433),

Are you referring to the Project Type list? I'm not aware of how to modify that as I thought it was a system-managed value.

These are the only Scope options I see for Automation:

![Screenshot 2024-01-23 at 2.34.22?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/302070i15E7A0A5BCC340A5/image-size/large?v=v2&px=999 "Screenshot 2024-01-23 at 2.34.22?PM.png")

And these are the only Project type options:

![Screenshot 2024-01-23 at 2.33.34?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/302071i11FAA8ED635FA688/image-size/large?v=v2&px=999 "Screenshot 2024-01-23 at 2.33.34?PM.png")

If you're referring to the Project Category options under a project's Details settings page, those don't appear to be exposed to Automation as a scope item.


author: Kip Woods
body: Hello again [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433),

Using your suggestion I created a new Project Category, then added a JQL filter on my Automation looking for that category. Then I switched the rule scope to Global, and it worked for my needs.

![Screenshot 2024-01-24 at 12.24.02?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/302333iAD4A1D2EAEB90DC2/image-size/large?v=v2&px=999 "Screenshot 2024-01-24 at 12.24.02?PM.png")

Thank you for the recommendation! I've accepted this as the answer.


author: Laurie Sciutti
body: Hi [@Kip Woods](/t5/user/viewprofilepage/user-id/4653493) \~ awesome! That's exactly what I was thinking \~ would have responded sooner but I didn't see your previous response from yesterday. Glad you got this working!


Tags: cloud

jira
Automations
Asked by Irina Harutiunian:

How can I automate sending the same message in Telegram channel every Monday.

Already have integration with telegram.  
Also my message have to contain information from confluence, is that possible to automate? (As alternative I can save needed information in other place if there is no chance to take information from confluence).

Thank You in advance!


Answers:
author: M Rizwan
body: To automate sending a message in your Telegram channel every Monday, you can use a combination of scheduling tools and integrate them with your Telegram channel. Additionally, if you want to include information from Confluence in your message, you can explore Confluence's API to fetch the data programmatically. Alternatively, you can save the required information in a designated location, and then automate the process of retrieving and sending that information along with your message.

comments: author: Irina Harutiunian
body: Thank You!


author: Bill Sheboy
body: Hi [@Irina Harutiunian](/t5/user/viewprofilepage/user-id/5411297)

Just following up to ask if the suggested answer solved your question. If so, please consider marking this one as answered to help others find solutions to similar needs faster. Thanks!

Kind regards,  
Bill
Cannot push due to repository size is to big
Asked by Tr??ng Th? H?ng Th?o:

git push Enumerating objects: 350, done. Counting objects: 100% (350/350), done. Delta compression using up to 16 threads Compressing objects: 100% (116/116), done. Writing objects: 100% (191/191), 2.42 MiB \| 1.82 MiB/s, done. Total 191 (delta 91), reused 55 (delta 16), pack-reused 0 remote: Resolving deltas: 100% (91/91), completed with 67 local objects. remote: Checking connectivity: 185, done. remote: Repository is over the size limit (4 GB) and will not accept further additions. remote: remote: Learn how to reduce your repository size: <https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits>. To <https://bitbucket.org/hongthao1306/nlt_sc.git> ! \[remote rejected\] main -\> main (pre-receive hook declined) error: failed to push some refs to \[REDACTED\]


Answers:
author: Ben
body: Hi Tr??ng,

I have successfully executed a garbage collection against that repository - it has reduced the size down from 4.0GB to 681MB.

Please have yourself and your team perform a fresh git clone to ensure that old refs are not accidentally pushed back to the repository (as this could inflate the size again).

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Is it possible to provide the ability to filter all the branches that I have created?
Asked by Jyoti Varade:

Is it possible to filter the branches by the creator? I am working on a project with almost 13-15 developers, and we create a new branch for each ticket. For example, if I need to delete all the branches I have created, it is a bit difficult to search for those branches.


Answers:
author: Theodora Boudale
body: Hi Jyoti and welcome to the community.

As Saxea _Flowie_ already mentioned, there is no creator linked to a branch in Bitbucket Cloud.

We have a feature request about this in our issue tracker:

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

The request has been closed as it is unlikely to be worked on in the near future. However, you can still leave a comment with your feedback, as our product managers continue to monitor even closed requests.

Kind regards,  
Theodora


author: Saxea _Flowie_
body: Hi [@Jyoti Varade](/t5/user/viewprofilepage/user-id/5550260)

No, this is not available; in fact, there is no 'creator' linked to a branch. You could determine the creator based on who was the last or first to commit, maybe? But you would have to do this manually and regularly via the Git command line.

A common way to avoid having these dangling branches is to set 'delete branch' on PR creation or during merge. However, this requires developers to remember to do so. The good news is that we [provide a plugin](https://flowie.app/docs/en/plugins/merge#restricting-merge-options-and-default-values) for Bitbucket where you can enforce this setting, so it always closes the branch for you.


Tags: bitbucket-cloud

cloud
iam trying to trigger the webhook but aim getting 403 error code
Asked by Ashok Jetti:

iam able to trigger the jenkins job with node.js but unable to trigger with webhook


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

I checked the webhooks logs for your repo and the reason for the 403 error is that you are using a private IP in the webhook URL. Private IP addresses are assigned to computers in an internal network, e.g. your home network or your office network. Bitbucket webhooks send requests over the internet, and it is not possible to connect to other devices on the internet with a private IP address. You will need to use a public IP address or domain name.

If the server where Jenkins is running is behind a firewall, you will also need to whitelist the IPs that Bitbucket uses for webhook delivery. These can be found here in the section "Outgoing Connections":

* <https://support.atlassian.com/organization-administration/docs/ip-addresses-and-domains-for-atlassian-cloud-products/#Outgoing-Connections>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I have an account. I am not receiving teh recovery email for this account.
Asked by Shakti:

I have an account . I am not receiving teh recovery email for this account. Could Atlassian Team help in this regard. its urgent. Please need help


Answers:
author: Andy Heinzer
body: Hi [@Shakti](/t5/user/viewprofilepage/user-id/5552141)

I have cleared the suppression on our side for that account. You can now try to resend the recovery email. It should be received now.

Andy


author: Vicknesh Shanmugam
body: Hi Shakti.

I would recommend your spam folder to see if the recovery email is there. In case it's not in spam folder, please raise a support ticket in <https://support.atlassian.com> so a support engineer can assist with your issue.

Regards,

Vicknesh \[ServiceRocket\]


Tags: bitbucket-cloud

cloud
I would like to know the end of life for Bitbucket Datacenter version 7.21
Asked by JishaThomas:

Hi,

Has Atlassian published the end of life for BB datacenter 7.21 version.

Thanks!


Answers:
author: Laurie Sciutti
body: Hello [@JishaThomas](/t5/user/viewprofilepage/user-id/5552892) and welcome to the Community! Have a look here: <https://confluence.atlassian.com/bitbucketserver/end-of-support-announcements-776640855.html>

comments: author: Laurie Sciutti
body: And according to that version's release notes, it was released in March 2022 so it would have reached EOL March 2024 according to the 2-year support window. Ref: <https://confluence.atlassian.com/bitbucketserver/bitbucket-data-center-and-server-7-21-release-notes-1115129015.html>


Tags: bitbucket-data-center

data-center
Creating a repo: Bitbucket asks for default branch name and then doesn't use it
Asked by mehov:

I'm on <https://bitbucket.org/MyOrganisation/workspace/create/repository>

It is asking me for "*Default branch name*", I enter \`master\`.

When the new repository is created, I see the "*Let's put some bits in your bucket* " page suggesting \`git push -u origin main\` under "*Get your local Git repository on Bitbucket*".

What's the point of asking me for my preferred branch name if it's going to use \`main\` anyway? Shouldn't it follow what I input?


Answers:
author: Theodora Boudale
body: Hi [@mehov](/t5/user/viewprofilepage/user-id/4112070),

I am not able to reproduce the issue you are reporting. I have tried creating empty repos in several different workspaces, using different accounts, and the **git push** command in the "Let's put some bits in your bucket" page always shows the name of the branch I enter as a default one.

I would like to ask for some additional information to better understand the issue and help you:

1. Could you please post a few screenshots that show the repository creation page, the branch name you enter, and then the page "Let's put some bits in your bucket" from the same repo? (Please make sure you blur info like the workspace id)  

2. Could you try creating an empty repository in a different project of the same workspace, for testing purposes (you can delete it afterwards), and let me know if you see the same issue?  

3. Could you try creating an empty repository in a different workspace, for testing purposes (you can delete it afterwards), and let me know if you see the same issue?  

   I would like to understand if the issue seems to be specific to a project in your workspace or specific to a certain workspace.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Lost admin access on Bitbucket
Asked by Akshay Marale:

Hello team,

We have lost admin access to our workspace, although we have the user access and we can perform push, pull operations.

We want to recover the admin access as there was only one user with admin access and unfortunately that user is no longer associated with us and we have lost admin access to the workspace.

Request Atlassian support teams assistance to let us out of this scenario. We do have the name of person who created it but not sure about which email he used.


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

We cannot make any changes in a workspace's user access, such as assigning or changing administrators, and we also cannot share other users' email addresses.

You will need to speak with the user who is admin and ask them to add a new admin to the workspace.

If this is not possible, you can create a new workspace, transfer the repositories to this new workspace, and set up user access there:

* <https://support.atlassian.com/bitbucket-cloud/docs/transfer-repositories-and-groups-to-a-workspace/>

You need to have admin permissions to a repository in order to be able to transfer it. If you don't, you can create a new empty repo in the new workspace, take a mirror clone of the existing repo, and then push to the newly created empty repo.

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
MY Create drop down does not have the options to create projects and repositories
Asked by Daniel Birnbaum:

\<image_removed\>


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

The reason that you don't see these options is that you don't have enough permissions to create repositories or projects.

Projects can be created only by workspace administrators. Repositories can be created by administrators or by users who have been granted **Create** permissions in one of the workspace's projects.

If you are an Org admin in <https://admin.atlassian.com> for the Org where this workspace is linked, please ensure that your user is added to a group with **Product admin** permissions. Otherwise, you will need to speak with an admin and ask if they want to give you **Product Admin** permission or **Create** permission in a project.

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora

comments: author: Theodora Boudale
body: Just a heads up, I removed the screenshot from your post for privacy reasons, as the workspace name was visible. Please ensure you blur any such data in screenshots you share since community is a public forum.


Tags: bitbucket-cloud

cloud
When will the Docker Engine v25 rollout complete?
Asked by Moritz Friedrich:

The [infrastructure changes documentation](https://confluence.atlassian.com/bbkb/infrastructure-changes-in-bitbucket-pipelines-1142431176.html) mentions the Docker Engine has been started to roll out in February 2024:
> Starting on **Feb 2nd** , we will be progressively rolling out an update to the Pipelines Docker in Docker service from 20.10.24 to 25.0.2. For details of the security and bug fixes between these docker versions, visit: [Docker Docs --- Docker Engine release notes.](https://docs.docker.com/engine/release-notes/25.0/#2502) For common issues related to the upgrade, visit: [Recent docker service upgrade in Bitbucket Pipelines](https://community.atlassian.com/t5/Bitbucket-articles/Recent-docker-service-upgrade-in-Bitbucket-Pipelines/ba-p/2603987)

**Since then, 174 days have passed.**

Yet, docker --version in a Pipeline still reports Docker version 20.10.24, build 297e128.

Will this rollout ever complete? Is it even happening? Is there any way to sign up for the list? Is there a single poor soul deep in the trenches of Atlassian updating the servers by hand? So many questions.

Not only is this a security problem, but lots of important and useful features have been implemented since then, none of which we can use: Among them is the ability to cache BuildKit layers to a filesystem directory, which we could use to fix Pipeline Docker Cache ourselves (since yours is useless with BuildKit). And by now, we're actually at engine version 27...


Answers:
author: Theodora Boudale
body: Hi Moritz,

The Docker Engine v25 rollout has been completed. The output of the command **docker --version** will show the version of the Docker client, not the Docker Engine. You can use the command **docker version** to see the version of both the client and the Docker Engine.

At the moment, we don't support docker clients greater than v20.10.24 for Pipelines builds running on Atlassian's infrastructure.

If you have a Linux server where you can run builds, you could use a self-hosted Linux runner, a custom dind image for the docker service, and install a different docker client:

* <https://support.atlassian.com/bitbucket-cloud/docs/runners/>
* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/>
* <https://support.atlassian.com/bitbucket-cloud/docs/configure-your-runner-in-bitbucket-pipelines-yml/#Custom-docker-in-docker-image>

Kind regards,  
Theodora

comments: author: Moritz Friedrich
body: Yeah, I have a Linux server; I just don't understand why I have to pay you if I also spend the compute myself?


author: Syahrul
body: Hey [@Moritz Friedrich](/t5/user/viewprofilepage/user-id/4209820)

You don't have to pay to use the Runner. Essentially, runners allow you to run builds in Pipelines on your own infrastructure, and you won't be charged for the build minutes used by your self-hosted runners.

Regards,  
Syahrul


author: Moritz Friedrich
body: 175 days.


Tags: bitbucket-cloud

cloud
Please run GC on our repo (inside)
Asked by theflywheelgroup:

\[REDACTED\]

Please run GC on the above repo


Answers:
author: Ben
body: G'day!

Welcome to the Bitbucket Cloud community!

I've executed a gc against that repository, but it has not reduced the size. It's likely you still have large files present in your repository that will either need to be converted to GIT LFS or removed from your repository.

Please execute the below command to view those larger files and then follow the documentation below to reduce the size of your repository:

```
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| awk '/^blob/ {print substr($0,6)}' \
| sort -r --numeric-sort --key=2 \
| numfmt --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
```

* <https://rtyley.github.io/bfg-repo-cleaner/>
* <https://support.atlassian.com/bitbucket-cloud/docs/use-bfg-to-migrate-a-repo-to-git-lfs/>

Let me know if any issues.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Run Garbage Collection
Asked by Buannic Arthur:

Hi,  

Our team just sadly discovered the 4Gb size limit on a repository, as well as the 1Gb size limit for LFS files (on Free plan)  

We have since cleared our entire history (all commits, tags and branches), ready to start versioning again from scratch, but our git commands are still frozen from the repository (which wrongly considers itself above the 4Gb limit)  

We didn't find any option to manually trigger the garbage collection logic (though from other topics here, we gather it simply does not exist), and have struggled with removing our LFS remaining files (we could delete those 1 by 1, but we have like 500+ and removing them all that way seems... inconvenient)  

Any help in this situation would be very welcome!  

Thanks in advance


Answers:
author: Syahrul
body: G'day, [@Buannic Arthur](/t5/user/viewprofilepage/user-id/2587866)

Welcome to the community!

I have triggered Git GC on the affected repository, and it has been reduced to 1.1 GB. Please review them and let me know if this is the expected size?

Regards,  
Syahrul

comments: author: Buannic Arthur
body: Hi !  

Thanks a lot for the fast response and Git GC :), although as you may have guessed our repository still weighting 1.1 GB sounds a bit weird since it only contains a 1kb Readme file  

At first I thought it may have been caused by our non-cleared LFS artifacts, but those two storage seem independent (we've begun clearing the LFS remnants and the repo size does not reduce). I'd be curious if you have insights as to where that Gb of excess data comes from?  

(I'd also like to point out that having to clear LFS files 1 by 1 is really inconvenient, having at least the option to bulk clear would definitely help)


author: Syahrul
body: Hey [@Buannic Arthur](/t5/user/viewprofilepage/user-id/2587866)

I have raised a support ticket on your behalf to continue the investigation. You can view the ticket at our [Suppor portal](https://support.atlassian.com/requests).

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
BitBucket issue key link not displayed in Jira
Asked by Dean Columbaro:

The BitBucket issue key link is not being displayed in Jira. Instead I see a link to "Create Commit" with options to "Copy issue key" and "Copy sample Git commit". I typically commit the work using GitExtension but also tried with command line and the resuts were the same.

This has only become an issue as of this week; last week this was NOT an issue. Also, this occurs for some users and not others.

I don't have admin rights to either BitBucket nor Jira, is there anything I can do here to resolve the issue?


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

Based on your description, the link to a certain commit is missing in the Jira development panel. Can you please confirm if you are seeing something like the following in the Jira issue's development panel?

![Screenshot 2024-07-26 at 14.21.39.png](https://community.atlassian.com/t5/image/serverpage/image-id/338164iDE56C74A92F4EC9B/image-size/large?v=v2&px=999 "Screenshot 2024-07-26 at 14.21.39.png")

<br />

I would also like to ask the following to better understand the scope of the issue and help you:

**1.** If you do the following:

* Open the Bitbucket repository on your browser
* Select **Commits** from the left sidebar
* Select the link **Show all** next to the branches dropdown
* look for the commit that references this Jira issue

Is the Jira issue key in this commit's message a link to this Jira issue? I would like to understand if the problem occurs only in Jira, or if the issue key is not a link in Bitbucket either.

**2.**
> it happens to me and no one else on my team

Can you please clarify the following: if your team members open the ++same++ Jira issue on their browser, are they able to see in the Development panel the commit you are not seeing?

Kind regards,  
Theodora


author: Valeriia_Havrylenko_SaaSJet
body: Hi [@Dean Columbaro](/t5/user/viewprofilepage/user-id/2534660)   

Solution {#toc-hId--351520773}
------------------------------

If the Pull Request is already created without the issue key in the commits or the title, you must decline the Pull Request and create a new one with the Issue key present this time. As mentioned above, the Issue key is only picked up if the key is present at the creation time.

<br />

<br />

Full article - [Jira Issue keys do not show on Pull Request Jira tab](https://confluence.atlassian.com/bbkb/jira-issue-keys-do-not-show-on-pull-request-jira-tab-1188779808.html)

comments: author: Dean Columbaro
body: Hi [@Valeriia_Havrylenko_SaaSJet](/t5/user/viewprofilepage/user-id/5162664)   
Thanks for the response.  
The issue key was present at the create time of the commit.  

This is a really strange thing happening here, it happens to me and no one else on my team. This was not an issue last week, now it is and as far as I can tell, nothing has changed to causes this issue. I'll have to keep digging but thanks again.


Tags: bitbucket-cloud

cloud
source tree requires either "bitbucket server" or "bitbucket". Which am I using?
Asked by SH:

When you download sourcetree, it forces you to register. It gives two options:

1. bitbucket server

2. bitbucket.

How do I know which of these to choose? We use bitbucket, and searching the web I cant find the difference.

our bitbucket repos start with bitbucket.org


Answers:
author: Hans Polder
body: [@SH](/t5/user/viewprofilepage/user-id/5513522) ,

I don't know SourceTree myself, but I would assume the difference is:

* Bitbucket Server = the version 'Bitbucket Data Center' that is hosted on premise, on any link other than 'bitbucket.org/\<workspace\>/\<repository\>'
* Bitbucket = likely the Cloud version of Bitbucket, so any repository on a link starting with bitbucket.org ?


author: Robert Wen_ReleaseTEAM_
body: If you're on Bitbucket Cloud (URL is "bitbucket.org"), you should choose the Bitbucket option.


Tags: bitbucket-cloud

cloud