youngmon/atlassian-qna huggingface dataset:
Lookup for Jira server
Asked by Shushan Kocharyan:

I have a jira server project. In our project we create subtasks for back-end, Front-end and QA under the parent issue(e.g. story). Now I want to have an automation that based on some trigger filters the tickets that have BE tag, sums original estimates of those and puts that on a specific field. I know that Jira cloud has Lookup option, which is unavailable for server. What options could I use?


Answers:
author: Bill Sheboy
body: Hi [@Shushan Kocharyan](/t5/user/viewprofilepage/user-id/4534666)

First, I recommend checking if the time tracking and tag fields are in the data loaded for the *subtasks smart value*. You may do that by writing these to the audit log:

```
time: {{issue.subtasks.timetracking.originalEstimateSeconds}}
tags: {{issue.subtasks.tag}}
```

If the values are present, that will provide a comma-separated values list.

Assuming that works, when filtering on a list to perform math operations, I recommend adding a default value of 0 at the front, and adding the operator (e.g., +) before the values. That will ensure the expression works for any null values.

And, I do not believe the contains() function is supported for inline, operations. Perhaps try using match() instead.

For example:

```
{{#=}}0{{#issue.subtasks}}{{#if(tag.match("(BE)").isNotEmpty())}}+{{timetracking.originalEstimateSeconds}}/3600{{/}}{{/}}{{/}}
```

However if those fields are not in the subtasks smart value, you will need to use the Send Web Request action to call the REST API issue search with JQL to access the information. The response may then be used the same way as a Lookup Issues result.

Kind regards,  
Bill


author: Shushan Kocharyan
body: Here is an automation that I'm currently looking into, but it doesn't work as well. It simply puts 0 instead of any sum calculation result

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


Tags: jira-server
Can not committ
Asked by Mukesh Patel:

We can not make commits after our accounting system changed and a payment was delayed. This is despite reducing the numbers of users to less than 10.

There is also no person to call for the issue. Has anyone got actual support from Atlassian for this type of issue?


Answers:
author: vikram
body: Hi [@Mukesh Patel](/t5/user/viewprofilepage/user-id/5593917)

Welcome to Atlassian Community.

If you have paid subscription you can raise support ticket from below url

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

Definitely Atlassian Team will response quickly. (ASAP)

Vikram P


Tags: bitbucket-cloud

cloud
Cannot get bitbucket cloud to connect to Xcode
Asked by Douglas W_ Palme:

I have never been as frustrated as I have been with this. All I am trying to do is setup Xcode to connect to a bitbucket repository and all I seem to get is an error about loading owners.

I setup an app password, gave it access to everything and it still won't work.

Is there any simple straight forward documentation on this? I mean this cannot be this difficult.


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

Xcode is a third-party application and as such, we don't have documentation on it.

Are you asked to provide username and password in order to connect to the Bitbucket repo? If so, the use of app password, instead of the account's password, is correct, as your account's password can only be used for logging in to <https://bitbucket.org/> from browser.

Are you also using the correct username for your account, which is listed here?

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

If you use the correct username and an app password with the necessary permissions:

1. What operation is Xcode trying to do? Clone the repo? Or perform an API call (and if so, what API call)?
2. What is the output of the operation that Xcode is trying to do?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

xcode
Having trouble showing file history
Asked by jknopp:

Using the BB web interface, when I'm in the source view for a single file, the Commit History dropdown never populates, and if I select History from the first dropdown, it eventually times out with the error message "Having trouble showing file history".  

This has been the case for months, most of the time (occasionally it works).

I know there'a bug with commit history when there are non-ascii characters in the path or filename, but that's not the case here.

The history comes up fine if I use command line git in a checked out copy.

Anyone else run into this?


Answers:
author: Patrik S
body: Hey [@jknopp](/t5/user/viewprofilepage/user-id/3908460) ,

and welcome to the Community!

I wasn't able to reproduce this behavior on my end with multiple repositories, so I'd like to ask you to perform a few tests:

* Make sure to use one of the [bitbucket supported browsers](https://confluence.atlassian.com/bbkb/which-web-browsers-does-bitbucket-support-1168845119.html)
* Try loading the page in your browser's incognito mode, so we rule any any possible cache issue
* Disable any browser extensions you may have and tests if the issue persists.

Additionally, is this issue happening for all users on your repository, or only for you?

comments: author: jknopp
body: Thanks for the response.

Of course it is working now. I have noticed it being a bit inconsistent before though, so not entirely surprising. I'll try your ignognito/extension steps next time I come across the issue.

Browser is up to date chrome so shouldn't be an issue there.


Tags: bitbucket-cloud

cloud
I Am Encountring 500 Internal Server Error When Adding Comment to Pull Request Threw The Api.
Asked by BrahimDev:

Hello Everyone , I am encountering a `500 Internal Server Error` while trying to add a comment to a pull request using the Bitbucket API. I have been using the following endpoint and request format:

**Endpoint:** `POST `<https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pullrequests/{pullRequestId}/comments>

**Request Body:**

{ "content": { "raw": "Test comment from bot" } }

**Details:**

* **Workspace:** `{workspace}`
* **Repository Slug:** `{repo_slug}`
* **Pull Request ID:** `{pullRequestId}`
* **Error ID from Response:** `f9f2948716a144c3927b477d12992011`

**Issue:** I receive the following error response:

{ "type": "error",

"error": { "message": "Something went wrong",

"id": "f9f2948716a144c3927b477d12992011"

} }

I have verified that:

* The request URL and payload format are correct.
* The payload meets the API's specifications.
* I am not exceeding any API rate limits.

Could you please help me understand what might be causing this error and how I can resolve it?

THANK YOU.


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

and welcome to the Community!

Since the repository you're testing with seems to be a public repository, I suspect this error has to do with the authentication not being provided.

Could you confirm if you are authenticating the request? If not, could you try authenticating using basic auth (username and [app password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/)) or a [repo access token](https://support.atlassian.com/bitbucket-cloud/docs/repository-access-tokens/) and let us know if the error persists?

Even though the repository is public, the API call to add a comment needs to come from an authenticated user/token bot.

Thank you, [@BrahimDev](/t5/user/viewprofilepage/user-id/5593513) !

Patrik S

comments: author: BrahimDev
body: Thank you


Tags: api

bitbucket-cloud

cloud

rest-api
Didn't get the password recovery email
Asked by psimka:

I have an old (from 2017) account on bitbucket and I forgot the password.

The problem is I can't get the email with a recovery link. Otherwise I am sure that account exists because I cant set up a new account on this email.

What should I do?

Yes I was checking spam and other folders, I also chceck the email delivery on different account on the same domain and it worked properly. The only problem is with this old account. Please help.


Answers:
author: Patrik S
body: Hey [@psimka](/t5/user/viewprofilepage/user-id/5593377) ,

and welcome to the Community!

As we're going to need you to share the email address with us, so we can check our mail logs, I'm going to create a support ticket for you, so that information can be shared in a private channel (compared to public here in community).

You should be receiving an email with the ticket link in a few minutes. In case you don't receive it, please let me know and I can share it here (the link is only accessible to you and atlassian staff).

Thank you, [@psimka](/t5/user/viewprofilepage/user-id/5593377) !

Patrik S


Tags: atlassian-accounts

bitbucket-cloud

cloud

not-applicable
I am not receive invitation email
Asked by enes.senoglu:

Hi,

I just started today, but I am not able to access their bitbucket workspaces. I am not receiving any invitation emails that are supposed to have been sent. I don't understand why it doesn't work, I have received "Welcome to Bitbucket" emails and similar from Atlassian.

regard.

Enes


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

I can see that emails we sent to your email address on 11th September were dropped because we received a bounce response from your mail server. However, emails that were sent yesterday show to have been successfully delivered to your mail server. I can also see in our system that your account has access to a Bitbucket workspace now.

Is this resolved now or are you still experiencing issues? E.g. were you invited to some additional workspaces for which you do not receive an invitation?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
"Invalid two-step verification code" on login
Asked by aptac01:

Was tired of getting message on every login that said "set up 2fa, its so much more safe" (or something along the lines).  

Went through the process of adding another account to my 2fa app on my phone. Entered code to check it, it worked, cool.  

Then i was redirected to login page. I logged in, it asked me for 2fa, i entered code, it worked. But then it asked me for 2nd time, i entered the next code and got error "Invalid two-step verification code".  

The funniest thing is - i can easily log in to id.atlassian.com/login and change my personal account settings. So, 2fa works, but not on bitbucket?

I changed 2fa (disabled and enabled again) several times in atlassian.com account, issue still persists.  

One notable thing - i'm from Russia and i'm unable to login on bitbucket even when i'm using VPN.  

Is it sanctions or atlassian effed bitbucket up?


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

Bitbucket uses Atlassian accounts (the ones for <https://id.atlassian.com/>) for authentication. At the moment, it is possible to set up 2FA both for a Bitbucket account (from <https://bitbucket.org/account/settings/two-step-verification/manage>) and also for the connected Atlassian account (for <https://id.atlassian.com/manage-profile/security>).

If you do that, you'll get asked for a 2FA code twice when logging in to Bitbucket, first for the Atlassian account and then for the Bitbucket account. There should be two separate entries/accounts in the authenticator app, one for the Atlassian account and one for the Bitbucket account and the codes for one cannot be used for the other.

To avoid confusion, you can disable one of the two 2FA options and keep only one. Please ensure that you also keep the correct entry/account in the authenticator app that corresponds to the one you are keeping.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Unable to login to bitbucket cloud
Asked by Kamal Lemseffer:

I am having the same issue as described in the ticket below.

<https://community.atlassian.com/t5/Bitbucket-questions/Unable-to-login-Bitbucket/qaq-p/2789477>


Answers:
author: vikram
body: Hi [@Kamal Lemseffer](/t5/user/viewprofilepage/user-id/3940833)

If you have not logged in for log time then your account (user) will be blocked or deactivated, you have to write to support if you have any price plan as from below url

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

other wise you have wait until one of the Atlassian team member unlocks or activate's your account.

Vikram P

comments: author: Ben
body: Hi [@Kamal Lemseffer](/t5/user/viewprofilepage/user-id/3940833)

Your account has not been logged into via the UI since 2018 and was de-activated as a result. I've just re-activated it so you should be able to login now :)

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Issue when setting up ssh key
Asked by Yijun Hou:

I'm following up with wiki here:

<https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-macos/>.

At this step -

To ensure the correct SSH key is used when connecting to Bitbucket, update or create your SSH configuration file (\~/.ssh/config) with the following settings:  
123`Host bitbucket.org AddKeysToAgent yes IdentityFile ~/.ssh/{ssh-key-name}`  
`I met this error:`

zsh: command not found: AddKeysToAgent

zsh: command not found: IdentityFile


Answers:
author: Mark C
body: Hi [@Yijun Hou](/t5/user/viewprofilepage/user-id/5592200)

Thanks for reaching out to the community.

You can try adding the SSH key in the SSH agent using the **ssh-add** command.  
You can find this KB for more information: [Multiple SSH Keys settings for different Bitbucket Cloud Accounts](https://confluence.atlassian.com/bbkb/multiple-ssh-keys-settings-for-different-bitbucket-cloud-accounts-1168847503.html)  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Pipeline update incident?
Asked by Pritha Mahata:

Since Friday 13/9/2024, a bitbucket pipeline is failing on step "docker compose up -d" with error:  
Error response from daemon: authorization denied by plugin pipelines: --mounts is not allowed  
Any pointer to solve this?


Answers:
author: Geoffrey S_ Zub
body: I don't have any answer to this, but can add another datapoint that this started happening on our integration test step which also used docker compose with volumes. I am wondering if this is a result of their impending upgrade and if they changed the whitelist for allowable volumes to be attached on the backend, but the upgrade the pipeline runtime has not occurred (as it is scheduled for tomorrow) and so this is now failing...

comments: author: Pritha Mahata
body: Not sure about what they changed in the docker end for the latest release, that's yet to be found out. For now we have pinned our docker:dind image to docker:25-dind as suggested by Atlassian support.


author: Geoffrey S_ Zub
body: Yeah, reverting docker-compose to v2.29.2 (from v2.29.4) worked for me.


Tags: bitbucket-cloud

cloud
Can the value of a Deployment variable be an array?
Asked by Moises Garc?a:

How can I pass and array of IPs from a Deployment variable to a script in a step?


Answers:
author: Ben
body: Hi Moises,

Dynamic variables in the way you've described are unfortunately not yet supported in pipelines. We have a feature request raised with our developers, however, that you may **Watch** to receive future updates and **Vote**for to improve its visibility with regard to customer demand:

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

You could write a shell script to assign an array of values to an environment variable, however, for example:

*

  ```
  F="a b c"

  for i in ${F}

  do

     echo $i

  done?
  ```

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Unwanted components getting added in the PR especially Object translations getting added
Asked by Rashmitha Ramaraju:

Hi Team,

I am facing a different issue. when even our team members adding deleted items, then unwanted object translations are getting added in PR as deleted items.

This issue is not happening for all the PRs. It happening for few PRs only. Can you please help me on this.

Thanks,

Rashmi


Answers:
author: Mark C
body: Hi [@Rashmitha Ramaraju](/t5/user/viewprofilepage/user-id/5591681)

<br />

Welcome to the community.  

In order for us to investigate the issue further, would it be possible for you to raise a support ticket with us through this link? - <https://support.atlassian.com/contact/#/>  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
This pull request was updated Reload page fails
Asked by Peter Miller:

![Screenshot 2024-09-13 102819.png](https://community.atlassian.com/t5/image/serverpage/image-id/347256iACBA0A6B09D8379D/image-size/large?v=v2&px=999 "Screenshot 2024-09-13 102819.png")

When clicking this popup alert in Bitbucket, the page does not reload. Changes to the source do not show up until I reload the whole page using the browser's reload button (beside the URL input)


Answers:
author: Ben
body: Hi Peter,

I've attempted this on my own repository and was not able to reproduce the issue - the page shows the updated changes without issue.

Can you clear your browser cache and attempt this again in your current browser? I'd also like you to then test a different browser to see if the issue persists.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
i need help to set up my email with leadsleap can somebody help. folake
Asked by Folake Susan Aiyebo:

I need help with my autopilot email funnel folake susan bitbucket


Answers:
author: Syahrul
body: G'day, [@Folake Susan Aiyebo](/t5/user/viewprofilepage/user-id/5591391)

Welcome to the community!

Could you please provide more context about the help you need? I suggest explaining the specific use case or goals you want to achieve using Bitbucket.

Having a clear understanding of your goals would help me to better understand your issue and assist you more effectively.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Commits not showing in overview page
Asked by Peter Miller:

The Commits tab for a pull request lists the following git hashes:

8c990...  
2c42c...  
09c79...  
73ce8...  
However the Overview page omits commit 2c42c...:  

\<user\> UPDATED the pull request with 3 commits: 73ce8..., 09c79..., 8c990... 46 minutes ago

![overview.png](https://community.atlassian.com/t5/image/serverpage/image-id/347669iD9B1B4D058C6057F/image-size/large?v=v2&px=999 "overview.png")![commits.png](https://community.atlassian.com/t5/image/serverpage/image-id/347670i8EAF9F74A9D994F3/image-size/large?v=v2&px=999 "commits.png")


Answers:
author: Mark C
body: Hi [@Peter Miller](/t5/user/viewprofilepage/user-id/5483170)

Thank you for reaching out to the community.

Could you clarify from which part of the overview page it is now showing?

Regards,  
Mark C

comments: author: Peter Miller
body: [@Mark C](/t5/user/viewprofilepage/user-id/1210823) i have uploaded some screenshots


author: Mark C
body: Hi [@Peter Miller](/t5/user/viewprofilepage/user-id/5483170)

May I know what merge strategy you've used?  

Regards,  
Mark C


author: Peter Miller
body: I'm not sure hot to tell but here are the redacted commit messages:

![commits.png](https://community.atlassian.com/t5/image/serverpage/image-id/348295i64F47A989F6F0839/image-size/large?v=v2&px=999 "commits.png")


author: Mark C
body: Hi [@Peter Miller](/t5/user/viewprofilepage/user-id/5483170)

In this case, would you be able to raise a support request with us through this link? - <https://support.atlassian.com/contact/#/>

You can reference this community post when you raise a request.  
This is because we would need to investigate this further on our end.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Login loop to "We couldn?t log you in"
Asked by McLone:

Hello!

When I try to login in, I get a page "We couldn't log you in" and cannot go any further.

Can someone help me, please?

Cheers


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

Your Bitbucket Cloud account was in a dormant state, which is the reason for the error you were seeing. The dormant state has nothing to do with the number of unsuccessful logins; The reason for that status is because you didn't log in to your account since around 2017-2018 when we were doing the integration with Atlassian accounts (<https://id.atlassian.com/>) for authentication.

I just reactivated your account. Can you try logging in when you have some time, and let me know if the issue is resolved?

Kind regards,  
Theodora


author: vikram
body: Hi [@McLone](/t5/user/viewprofilepage/user-id/5591287)

Welcome to Atlassian Community,

If you try to login more than the count specified for incorrect login then your email will be deactivated and blocked by Atlassian.

Wait till one of the Atlassian person deactivate your user, then only you will be able to login.

Vikram P

comments: author: McLone
body: Hey Vikram,

Not sure what I did to deserve account limbo, but it wasn't that. First connection by Apple Account, maybe on a very old "classic" account which might have been disabled for inactivity.

I hope an "Atlassian person" will help me \<3

Cheers


Tags: cloud
Leaving a workspace
Asked by Tom Cohen:

I cannot find the way to leave the workspace anywhere.  
can anyone please direct me where can i find the option?  
there is no "leave" button in All Workspaces window.


Answers:
author: Ben
body: Hi [@Tom Cohen](/t5/user/viewprofilepage/user-id/5591110)

I can see you are a member of many different workspaces. I've just refreshed the workspace membership for all 14 workspaces but this has removed access to none.

The only time you would not see a **Leave** button is if you were the only workspace admin/member on that workspace, as this would leave the workspace orphaned. I'd suggest deleting any workspace where you are the only member - you can verify this by navigating to **Workspace Settings \> User Directory**.

If the above is not the case - please share a screenshot of what you are seeing, with the workspace details blurred/boxed out (as this is a public forum).

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Tom Cohen
body: Hi [@Ben](/t5/user/viewprofilepage/user-id/4537226)   
I am not the owner or admin of most of my workspaces.   
there are actually only two that i am an admin in. those i have the "leave" button in (both starting with a Capital letter, and ends with ending with "eka").  
all the others are workspaces created by my students to share their work with me, and now i cannot leave them.![Screenshot 2024-09-16 141148.png](https://community.atlassian.com/t5/image/serverpage/image-id/347515i1CE9C2DBD76ACB95/image-size/large?v=v2&px=999 "Screenshot 2024-09-16 141148.png")  

can you please remove me from all workspaces except the two i have mentioned?


author: Ben
body: Hi Tom,

I can see that the workspaces that you're unable to leave are all using the unified user management experience.

I've checked with our engineering team and I'd like to inform you that this is currently an expected behaviour that you can't leave the workspace from the Bitbucket Cloud UI, as user management is handled in the Atlassian Admin portal.

Hence, to leave those workspaces, you will need to contact the organization/site admins for those workspaces to remove your access. Unfortunately, we don't have the access necessary to perform this on your behalf.

I have updated our documentation to reflect the same:

* <https://confluence.atlassian.com/bbkb/leave-a-workspace-1207179003.html>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud