youngmon/atlassian-qna huggingface dataset:
When a label is added to a task in one project can it be a trigger for other actions
Asked by Pete Robbins:

We have two company-managed projects: a **SWdev** project and a **relatedDocs** project. If *label1* is added to any task, epic, subtask, etc. in **SWdev** , we want *label2* to get added automatically to the **SWdev** object.

We already have automation in place such that when *label1* or *label2* is added to **SWdev** tickets, the system creates a ticket in the **relatedDocs** project. Currently adding *label1* creates a ++releaseNotes++ ticket in the **relatedDocs** project. When *label2* is added, a ++userDocs++ ticket is created in the **relatedDocs** project. It is thought that this automation will ensure that we don't miss any documentation of SW features.


Answers:
author: Bill Sheboy
body: Hi [@Pete Robbins](/t5/user/viewprofilepage/user-id/4655850)

From what you describe, you have a rule in place which is triggered by the addition of labels to issues in the SWdev project and then creating issues in the relatedDocs project. And now you want to add those specific labels to the issues.

If that is the case, what is not working as you expected?

For a question like this, context is important. Please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!

Kind regards,  
Bill
Automation - IF Subtask includes specific characters
Asked by Victor:

I would like to create an automation that creates a QA subtask in an issue, but only:

* IF there is not already subtask in the issue with a summary starting with "QA Task - "

I already built the subtask creation piece but need help with this specific piece. Any thoughts?


Answers:
author: Tharaka_Hettiarachchi
body: Hi [@Victor](/t5/user/viewprofilepage/user-id/5482747) ,

You can use a 'Related issue Condition'. Refer the attachment

![Screenshot 2024-04-24 at 15.29.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/320279iDF92FC0C924CF13C/image-size/large?v=v2&px=999 "Screenshot 2024-04-24 at 15.29.01.png")

Cheers!


author: Bill Sheboy
body: Hi [@Victor](/t5/user/viewprofilepage/user-id/5482747) -- Welcome to the Atlassian Community!

Without seeing your entire rule...

Perhaps try using the related issues condition with JQL, checking for no issues matching, and use the exact-phrase syntax for the CONTAINS operator to escape the quotation marks:

<https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#CONTAINS---->

For example:

```
project = yourProjectName
 AND summary ~ "\"QA Task - \""
 AND issuetype = Subtask
```

Kind regards,  
Bill


Tags: cloud

jira

jira-cloud
How can i use Jira automation to update a date field based on another date field
Asked by Sameer Mohamed:

Hi Everyone,  

I have a field A "date field" and i want to auto populate field B " Which is also a date field".  

Example : Field A = Resolution Date then i want to auto update Field B = Closed date.

Whichever date is resolution date i want it to automated as closed date too.

Please share your views on how to do it.


Answers:
author: Sameer Mohamed
body: Hey everyone,  

I have figured out the solution.

I used Trigger as "Field Value Changed"  
Then : Edit issue -\> Copy "field Value A" to "field Value B"


author: Sameer Mohamed
body: Requirement is,  

Whenever Resolved Date (custom field with dates) is updated then Closed Date field should be automatically updated as same as Resolved Date field.  

To achieve this, please guide me.


author: Sameer Mohamed
body: Hi [@Tim Perrault](/t5/user/viewprofilepage/user-id/165835)   
Thanks for sharing your insight. I tried something with Field Value change as trigger

When : Value Changes for - Resolved Date "2024/04/24"

Then : Edit issue fields - Closed date {{now}}

Is this right?


author: Tim Perrault
body: Hi [@Sameer Mohamed](/t5/user/viewprofilepage/user-id/5438085)

You could try setting the date field to Now when the issue's resolution field is set or the issue is transitioned to resolved. You can't copy the date, but you could set the date as the relative "now" which would give you as close a date as you could get without the ability to copy.

comments: author: Sameer Mohamed
body: Hi [@Tim Perrault](https://community.atlassian.com/t5/user/viewprofilepage/user-id/165835)   
Thanks for sharing your insight. I tried something with Field Value change as trigger

When : Value Changes for - Resolved Date "2024/04/24"

Then : Edit issue fields - Closed date {{now}}

Is this right?


author: Sameer Mohamed
body: Additionally what will happen is Resolution date is updated as 2 days later and if we use {{now}} will it pick current date or 2 days later?


author: Tim Perrault
body: Just want check some things. Is Resolution date the system field or is this a custom field? Is the Resolution date manually set or is it set when you resolve the ticket through the workflow? Is Closed date a custom field?


author: Sameer Mohamed
body: Resolved date is a custom field \& Closed date is also a custom field.  
Resolution date is manually set, more like updating ETA. If can be current date or week later. Whatever date is set in custom field (Resolved date) then it should reflect in (Closed Date) custom field. All are date fields.  

Thanks in advance [@Tim Perrault](/t5/user/viewprofilepage/user-id/165835)


Tags: cloud

jira

jira-software-cloud
Filter repositories by name doesn't find repository without scrolling first
Asked by carlosonline:

The filtering on the bitbucket project page doesn't work at all. Typing in characters just clears the list of repositories despite typing in full repository names.  

How can this be fixed. I am using latest Microsoft Edge browser on latest windows.  

<br />

![filter.png](/t5/image/serverpage/image-id/342594i5FD096D1F7A55329/image-size/large?v=v2&px=999 "filter.png")  

<br />

![filter2.png](/t5/image/serverpage/image-id/342595iB74DB6192F914066/image-size/large?v=v2&px=999 "filter2.png")


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

Welcome to the Bitbucket Cloud community!

May you please share the URL (please censor your workspaceID) where you are searching for repositories?

Is it <https://bitbucket.org/>\<workspaceID\>/repositories ???

I would also like you to test using another supported browser such as Firefox/Chrome in case this is a browser/add-on related issue.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Cleanup of Unreferenced Files in Git LFS
Asked by Anton Liashkevich:

Hello everyone,

I'm facing an issue with Git LFS and would appreciate some guidance. I have a Git LFS repository where I've been working on a branch that involved several commits, each modifying a binary file. This resulted in multiple versions of the file being stored in LFS. Before merging this branch into `main`, I squash the commits to maintain a clean history and, more importantly, to reduce the LFS storage usage.

However, I've noticed that even after squashing, the unreferenced file versions are not automatically deleted, which still consumes LFS space.

Is there a way to automate the cleanup of these unreferenced files rather than having to do it manually? Perhaps through a post-merge hook or another method?

Thanks in advance for your help!


Answers:
author: Syahrul
body: G'day, [@Anton Liashkevich](/t5/user/viewprofilepage/user-id/5571760)

Welcome to the community.

I believe there's a way to delete the LFS via a script you can check them out at:

[Delete LFS script](https://bitbucket.org/bbcloud-support-scripts/delete-lfs-files-python/src/master/)

You'll have to get the list of LFS OID and save it as oids.txt and the script will use them to delete the LFS files.

Regards,  
Syahrul

comments: author: Anton Liashkevich
body: Thank you!


Tags: bitbucket-cloud

cloud

git

git-lfs
I can't login to bitbucket
Asked by Conrad Tran:

I am getting this error message when trying to login to bitbucket. I don't have any extensions that block id.atlassian.com

*** ** * ** ***

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: Nikola Perisic
body: Welcome to the community [@Conrad Tran](/t5/user/viewprofilepage/user-id/5571683)

This usually happens when you haven't logged in to the BItbucket for a long time and your account becomes inactive. [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) or [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) could you assist us here? Thanks!

comments: author: Ben
body: Hi [@Conrad Tran](/t5/user/viewprofilepage/user-id/5571683)

I've just unlocked your account, so you should be able to login now :)

Please let me know if any issues.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Python interface for the endpoint "List explicit user permissions for a project"?
Asked by Jitendra Nair:

Hello Team BitBucket

The Python bitbucket cloud interface doc at [bitbucket-cloud-docs](https://atlassian-python-api.readthedocs.io/bitbucket.html#bitbucket-cloud) does **not** list a method for the REST-API endpoint "[List explicit user permissions for a project"](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-projects/#api-workspaces-workspace-projects-project-key-permissions-config-users-get) Please point me to the document if any that shows the usage of the Python interface for the endpoint ["List explicit user permissions for a project"](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-projects/#api-workspaces-workspace-projects-project-key-permissions-config-users-get).

Note I am aware of using the "requests" python package to make a raw request to the endpoint ["List explicit user permissions for a project"](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-projects/#api-workspaces-workspace-projects-project-key-permissions-config-users-get). What I want is the interface(method) to use from the Python Bitbucket package.

Thanks ! Jitendra


Answers:
author: Patrik S
body: Hello [@Jitendra Nair](/t5/user/viewprofilepage/user-id/5571415) ,

welcome to the Community!

The API library you mentioned isn't developed or maintained by Atlassian, which means we have limited information about its implementation.

I recommend posting your question in the official repository of that library, where the community or maintainers can provide more specific assistance and where you also can suggest improvements/new feature to the library:

* [atlassian-python-api](https://github.com/atlassian-api/atlassian-python-api)

As you mentioned, one alternative is to execute the API call manually, without using the that particular library. You can find the list of all available API endpoints in the[Bitbucket Cloud Public API documentation](https://developer.atlassian.com/cloud/bitbucket/rest/).

Thank you, [@Jitendra Nair](/t5/user/viewprofilepage/user-id/5571415) !

Patrik S

comments: author: Jitendra Nair
body: Thanks Patrik S !


Tags: bitbucket-cloud

cloud

rest-api
Build failed
Asked by Harsha M:

Build failed for project docs-data-platform-feature error in bitbucket-help me to solve this issue


Answers:
author: Patrik S
body: Hello [@Harsha M](/t5/user/viewprofilepage/user-id/5571367) ,

welcome to the community!

Could you please share more details about this issue so we can try to help you in the investigation?

It would be helpful if you could share the logs with the error message and the commands you're executing in the build that are currently failing.

Thank you, [@Harsha M](/t5/user/viewprofilepage/user-id/5571367) !

Patrik S


Tags: bitbucket-cloud

cloud
`Couldn't load activity` and failure submit review
Asked by moshe rootshtain:

we have multiple pull-requests in the repo

what can cause a persisting \`Couldn't load activity\` for just a specific pull-request

also when trying to submit a review for that PR, i get a the message "submitted successfully", but all the comments remains pending.  

any help will be welcomed


Answers:
author: Patrik S
body: Hello [@moshe rootshtain](/t5/user/viewprofilepage/user-id/5571281) , and welcome to the community!

As you mentioned just a specific pull request is not loading, it might be the case that a particular pull request is exceeding the [Bitbucket Cloud Limits for viewing content and diffs](https://support.atlassian.com/bitbucket-cloud/docs/limits-for-viewing-content-and-diffs/).

If a huge amount of changes were introduced in a single pull request that causes it to exceed the above mentioned limits, Bitbucket will not be able to render the diff in the UI, and you'd have to check the diff locally.

We suggest keeping the pull request concise for easy review while ensuring it provides enough context about the changes.

Also, one other possibility is that your browser extensions or cache might be playing a role in this issue and affecting the page load. In this case, you can try opening the same pull request in your browser's Incognito mode and check if it then works.

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

Thank you, [@moshe rootshtain](/t5/user/viewprofilepage/user-id/5571281) !

Patrik S


Tags: bitbucket-cloud

cloud
Upgrade plan "Unable to continue"
Asked by Caroline:

HI,

When trying to subscribe to a plan I get the message below:  

![Screenshot 2024-08-19 at 11.44.05.png](/t5/image/serverpage/image-id/342428iE75ACEF540BBD36E/image-dimensions/314x141?v=v2 "Screenshot 2024-08-19 at 11.44.05.png")

When clicking the "contact support" I get "**support.atlassian.com** refused to connect".

How can I upgrade a plan?  

Thank you!


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

Welcome to the community!

Have you tried using a different web browser and incognito windows? This is to eliminate any potential issue with the browser configuration or third-party add-on that might prevent the payment from going through.

Let me know how it goes.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud

subscription
Execute a script in every step without write it everytime
Asked by LAMTARGI MEHDI:

I want to install dependencies in each steps and I don't want to add in every step the script "yarn install". How can I do please ? I've seen the use of definitions but I can't set this up


Answers:
author: Aron Gombas _Midori_
body: Do you realize that you can use Bitbucket cache to save container images between two steps? It will not only make things simpler, but will accelerate your builds and save you build minutes.

<https://support.atlassian.com/bitbucket-cloud/docs/cache-dependencies/>


Tags: bitbucket-cloud

cloud
How can I find out whether I own an existing workspace?
Asked by William Lupton:

I recently created a bitbucket.org workspace but my preferred name was already taken and I had to use a different name. My preferred name is not very common, and I wonder whether I might have created it some time ago but somehow lost access to it.

Is there any way to check this? I could share some more specific details if that would help.


Answers:
author: Ben
body: Hi William,

I can confirm that there is an existing workspaceID (without the 1) and the email associated with it has a ".co.uk" domain suffix. I can't reveal more than this on a public forum.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
24 hour reset access email for nonfunctional 2FA doesnt work
Asked by Martin ?i??nek:

I have lost access to the bitbucket because of 2FA.   
I don't have a recovery codes, so I opted for 24 hour recovery email with one time access link.  

Email comes fine after 24 hours but when I click the link and log in it still requires 2FA immediately. Tried it several times, using different browser, also incognito window.

I cant get access to bitbucket.


Answers:
author: Ben
body: Hi [@Martin ?i??nek](/t5/user/viewprofilepage/user-id/3990066)

I can see that you have 2FA enabled at both the Atlassian Account level and the Bitbucket Cloud level. To authenticate with Bitbucket, you must first authenticate at the Atlassian Account level - so it's likely that you have reset the 2FA for your Atlassian Account, but your Bitbucket Cloud 2FA remains.

Please refer to the article below:

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

If you have further issues - please raise a support ticket directly with our support team using the Premium company workspace URL that you are a member of, as personal information should not be shared on a public forum such as community:

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

If you have issues raising a ticket, please let me know your timezone so I can ensure I raise one on your behalf with the team that works in your geolocation.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Repo Over Size Limit: Please Run Garbage Collection
Asked by Jeff Mangum:

I believe that my history has caused my repo to exceed the size limit. In the past I have been instructed to have support run garbage collection manually. Would it be possible to run gc on my repo again? Thank you.

Jeff Mangum


Answers:
author: Ben
body: Hi [@Jeff Mangum](/t5/user/viewprofilepage/user-id/4540881)

I've executed a gc against your repository, but it has not reduced the size. Could you please let me know what timezone you are in so I may raise a support ticket on your behalf and troubleshoot further?

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Jeff Mangum
body: Thank you [@Ben](/t5/user/viewprofilepage/user-id/4537226) . My timezone is US EDT.

-- Jeff


author: Ben
body: Hi [@Jeff Mangum](/t5/user/viewprofilepage/user-id/4540881)

Not a problem - I've raised a ticket with our AMER team :)

Cheers!

- Ben (Bitbucket Cloud Support)


author: Robert Wen_ReleaseTEAM_
body: Contacting Atlassian Support for this.


Tags: bitbucket-cloud

cloud
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 fatal: the remote end hung
Asked by Nikita Bessmertnyy:

Hi!   

From today started to get this error on all repositories while making push.   
No ideas why, nothing was changed.   

From console:  

<br />

error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 fatal: the remote end hung up unexpectedly  

Total 28 (delta 20), reused 0 (delta 0) fatal: the remote end hung up unexpectedly


Answers:
author: Camila
body: This is still an issue for me. It started happening on Thursday. Getting this error:

```
Pushing <branch name>
Enumerating objects: 99, done.
Delta compression using up to 20 threads
Total 87 (delta 20), reused 0 (delta 0), pack-reused 0
Error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503
send-pack: unexpected disconnect while reading sideband packet
Failed to push to the remote repository. See the Output window for more details.
Error encountered while pushing to the remote repository: Git failed with a fatal error.
Git failed with a fatal error.
the remote end hung up unexpectedly
```


author: dimsumthinking
body: I'm seeing this same issue - it started at the same time as what you are reporting and is still a problem for me today

comments: author: Nikita Bessmertnyy
body: For my issue helped this command to increase buffer.   
<https://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning>


author: vikram
body: Hi [@Nikita Bessmertnyy](/t5/user/viewprofilepage/user-id/5570122)

Welcome to Atlassian Community

Please check the below url, their was some problem but it should be fixed now.

<https://bitbucket.status.atlassian.com/incidents/mn08j05ms7wx>

Vikram P

comments: author: Nikita Bessmertnyy
body: Thank you. As I see this article was from the last year.


Tags: bitbucket-cloud

cloud
How to create a user group to grant Admin access just for a branch instead of the whole repository?
Asked by Anand Dosapati:

Need a way to grant Admin access at the branch level. Instead of the repo level.


Answers:
author: Saxea _Flowie_
body: HI [@Anand Dosapati](/t5/user/viewprofilepage/user-id/5123723)

I'm afraid this is not supported. Would mind sharing a bit more context and what you are trying to achieve?


Tags: bitbucket-cloud

cloud
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
Asked by Mak David:

Hi team,   

Before yesterday, this issue comes suddenly.  

When i push files as usual, this error will be showed always, but i can pull updates from my colleagues. Is it an issue from my account setting or something?  

Thank you for your support\~

![image.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/342259i939DC0A7D44DB18D/image-size/large?v=v2&px=999 "image.jpg")


Answers:
author: iDev7
body: Try increasing your buffer in your project with the following command:

\`git config http.postBuffer 524288000\`  
This will set it to 500MB.

comments: author: Mak David
body: It works. Many thanks for the prompt reply\~\~


author: Nsubis Genesis
body: I was getting the same error. This solution worked for me as well.


author: Faydee
body: I got the same error. And I use this to fix on Mac Terminal

    git config --global http.postBuffer 157286400

<https://community.atlassian.com/t5/Sourcetree-questions/Not-able-to-clone-repo-in-source-tree/qaq-p/1485254>


Tags: bitbucket-cloud

cloud
Get user permissions of repo Atlassian Python Api Module
Asked by mhumair7:

Hello  

Can anyone guide me related to this modul ?   

<https://atlassian-python-api.readthedocs.io/bitbucket.html#manage-repositories>  

I'm unable to find a method that can help me find users permissions on a given repo like the one that exists to get for groups :  

```
repository.group_permissions.each():
```

<https://atlassian-python-api.readthedocs.io/bitbucket.html#manage-repositories>


Answers:
author: Patrik S
body: Hello [@mhumair7](/t5/user/viewprofilepage/user-id/5549087) ,

thanks for reaching out.

The API library you mentioned isn't developed or maintained by Atlassian, which means we have limited information about its implementation.

I recommend posting your question in the official repository of that library, where the community or maintainers can provide more specific assistance:

* [atlassian-python-api](https://github.com/atlassian-api/atlassian-python-api)

One alternative is to execute the API call manually, without using the library. You can find the list of all available API endpoints in the[Bitbucket Cloud Public API documentation](https://developer.atlassian.com/cloud/bitbucket/rest/).

Thank you, [@mhumair7](/t5/user/viewprofilepage/user-id/5549087) !

Patrik S


Tags: bitbucket-cloud

cloud

module

permission

python

repos
Missing repositories
Asked by alexander:

Hello,

some of my repositories are missing. Yes, i haven't logged in in a while, but ...  

What could it be ?  

Could you help?

thx


Answers:
author: Ben
body: Hi alexander,

It's likely that you are not logged in to the correct account, and this is why you are not seeing those repositories - please refer to the article below for further troubleshooting steps:

* <https://confluence.atlassian.com/bbkb/workspace-has-disappeared-incorrect-workspace-loaded-1319573739.html>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud