youngmon/atlassian-qna huggingface dataset:
Designate ownership of a Bitbucket Cloud Workspace
Asked by AnthonyMaidment:

Is it possible to designate an "owner" of a Bitbucket Cloud Workspace?

That is, in a situation where the code belongs to a specific person or even to a company, how can that be designated in the Workspace? Obviously, one approach is to have the code held in an individual's workspace - or, I suppose, have that 'individual' be a company - but if there is a need to allow multiple users to administer the workspace / repositories, that may not be feasible.

For example, there is a comment on this [question](https://community.atlassian.com/t5/Bitbucket-questions/transfer-workspace-from-one-account-to-another/qaq-p/1390170) that "workspaces are floating and belong to whoever admins them", which may be appropriate in an open-source project, but may not be appropriate where this is a specific owner.

It might be that this is really a feature request, to add a user permission setting "Owner", which sits above "Admin", although there may not be many actions that an "Owner" could do over and above what an "Admin" could do, and Atlassian have taken the choice to reduce the number of choices.


Answers:
author: Jerome ULRICH
body: We've just actually stumbled today on a problem directly linked with this issue.

We also have our repositories grouped under a workspace that represents our company.

Due to a failure with our banking visa card, the monthly payment could not be processed and we were downgraded to the free version. We noticed at that moment that the only user that had access to the company workspace was the initial creator of the workspace, a former employee who did it initially with his personal Email for test. We never paid attention to that but you can imagine the result. We were lucky enough that we are still in excellent relationship with this former employee and we could eventually log in, change the card details and recover our repositories.

I removed the former employee from the admin but we still have today 3 admins left. I don't know which one will be the "owner" of the account if it's again downgraded in the future. It's a huge security issue imho.


Tags: bitbucket-cloud

cloud
What exactly is "Code Insight Report"?
Asked by Mark:

In Repository settings -\> Code Insights, I have setup "test" as required report" with "MUST PASS". However I fail to find anywhere to create such "report".

Is it a future feature?


Answers:
author: Imran Khan
body: Hi [@Mark](/t5/user/viewprofilepage/user-id/4058812)

Code Insight surfaces information relevant to a pull request, so the author and reviewers are able to make better informed decisions. Information supplied could include:

* static analysis reports
* security scan results
* artifact links etc.

It includes an API, and a UI so apps created by a third-party can supply data to be surfaced on the pull requests.

The information comprises two parts; **annotations** and **reports** . The generated reports show summary information sent by any integration to Bitbucket Server. Annotations show specific information on a given line in the pull request, and are attached to a report.

You can find more information on the following links:

* <https://www.atlassian.com/blog/bitbucket/bitbucket-server-code-insights>
* <https://confluence.atlassian.com/bitbucketserver/code-insights-966660485.html>

Cheers,

Imran Khan

Product Manager - Bitbucket Server and Data Center

comments: author: Mark
body: Do you mean "Code Insight" is an API feature? I have to purchase 3rd party solution or develop my own module? In other word, I could not generate Insight report with OOTB BitBucket?


Tags: bitbucket-server

code-insight

server
5 User Limit for BitBucket
Asked by Frank Scheurel:

Hi,

<br />

I have at the moment 4 Users in my BitBucket Account including myself. When I send an Invite to a 5th User, the User gets an Invite but when accepting an error, that my account would be at the limit and the invite cannot be accepted. From my understanding, Bitbucket allow up to 5 Users. I did not find out, what cause the problem. Any hints?  

Frank  

<br />


Answers:
author: Ana Retamal
body: Hi Frank, welcome!

I've checked your account and I could see you already have 5 users (4 users and yourself), so you won't be able to add any other users until you upgrade.

Please navigate to [https://bitbucket.org/\<workspaceID\>/workspace/settings/plan-users](https://bitbucket.org/<workspaceID>/workspace/settings/plan-users) and confirm how many users you can see there (remember to replace *\<workspaceID\>* for your actual workspaceID). If you still believe this is a mistake and you're not reaching the limit, let us know so we can continue helping you.

Best regards :)

Ana


Tags: bitbucket-cloud

cloud
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory Permission denied
Asked by Adam Cash:

I am using Ubuntu. I installed ssh_askpass package.

<br />

I am getting bellow error:

```
ssh -T root@142.93.143.146 'cd /var/www/backoffice/ && git pull origin master'
<1s
+ ssh -T root@142.93.143.146 'cd /var/www/backoffice/ && git pull origin master'
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied (publickey,password).
```

My bitbucket-pipelines.yml file inside:

```

image: atlassian/default-image:latest

pipelines:
default:
- step:
deployment: staging
caches:
- composer
script:
- ssh -T root@142.93.143.146 'cd /var/www/backoffice/ && git pull origin master'

```

I searched the internet, I couldn't find any solution. i got very nervous :(


Answers:
author: Nic Brough -Adaptavist-
body: The process running ssh-askpass does not have permission to use the program, or the program is not installed on the path you have given. It may also be that the program cannot access another file.

Log on to the server you're trying to run it on and see what happens when you run the command manually, ideally with a "verbose" flag so it gives you a bit more info, after checking that it is where you think it is and that the permissions on it are correct.

comments: author: Adam Cash
body: I made on Ubuntu:

```
ln -s /usr/bin/ssh-askpass /usr/bin/ssh_askpass 
```

When I run this command:

```
# ssh_askpass


```

```

ssh_askpass

Unable to init server: Could not connect: Connection refused




(ssh_askpass:29420): Gtk-WARNING **: 11:15:04.782: cannot open display: 
```

```
exec(/usr/bin/ssh-askpass):
-bash: syntax error near unexpected token `/usr/bin/ssh-askpass'
root@test-droplet:/var/www/backoffice# 
```

so it works. stupid mistake.


author: Adam Cash
body: There is 1 more server. I did not install any. It worked immediately with the same settings.


Tags: auto-deploy
Updated to Standard Plan to manage project permissions, but JIRA continues to assume i am on free pl
Asked by Rahul Gupta:

Hi, As the title of the post suggests,

I have updated to standard plan on JIRA. Have updated the credit card details,etc. I need to manage the permissions, but keep seeing that I am on a free plan.

Please advise.

![free plan.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/107779i13814DB4970DD7E4/image-size/large?v=v2&px=999 "free plan.JPG")


Answers:
author: Ste Wright
body: Hi [@Rahul Gupta](/t5/user/viewprofilepage/user-id/4022117)

I'd check first that you upgraded each product if you have more than one!

To do this:

1. Go to Jira Settings \> Billing
2. Select "Manage Subscriptions" from the left-hand menu
3. Ensure each Active Subscription is labelled as "Standard Plan" in the left-hand corner of each product's card
4. If not, ensure you press "Upgrade Tier" to upgrade
5. Products billed separately on listed on right-hand side

\^ If these all show Standard, I would consider signing out/in of your Atlassian account in case it is needed to trigger the upgrade!

If neither of these work - let us know what you see! Or reach out to [Atlassian Support](https://support.atlassian.com/)!

Ste


Tags: bitbucket-cloud

cloud

jira-cloud

plan

standard
bitbucket command line to list pull requests
Asked by Peter Walter:

Is there a command line interface to bitbucket that I can use to request a list of merged pull requests to a branch?


Answers:
author: Mikael Sandberg
body: Hi [@Peter Walter](/t5/user/viewprofilepage/user-id/4061764),

Welcome to Atlassian Community!

Bitbucket don't natively come with a command line, but you have [Bitbucket Command Line Interface](https://marketplace.atlassian.com/apps/1211193/bitbucket-command-line-interface-cli?hosting=server&tab=overview) app or you could use the [REST API](https://docs.atlassian.com/bitbucket-server/rest/7.5.0/bitbucket-rest.html#idp291) to get merged pull requests.


Tags: bitbucket-server

server
Repository is > 2GB and can't push
Asked by development:

Hello! we are working on a wordpress project.   
We just now realized we can't push our changes anymore due to our repository going over 2GB size (2.38GB) . So, before this happens i tried to use filter-branch in order to reduce my repository size (maybe an error for my part) but it did the opposite and my repository grow up. The repository name is **unicon_web_frontend.git**   

Then, I tried using the guide

<https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/>

But it still doesn't let me. Can someone please help? Maybe running the git gc? Thank you in advance.


Answers:
author: Tyler T
body: Hi [@development](/t5/user/viewprofilepage/user-id/4061600) and welcome to the Community, it looks like the size went down. Nice work. It is likely that garbage collection ran automatically after you posted this question.


Tags: bitbucket-cloud

cloud

limit
Custom build image with entrypoint
Asked by Gordi:

Hello together,

I've created a new docker image with a custom entry point to be used as build image for my project.

The new image is found by the build pipeline, but when the pipeline runs, it looks as if the custom entry point did not execute properly (it should generate some files based on environment variables).

Image looks like this:

FROM python  
ENV CUSTOM_VARIABLE  
COPY custom-entrypoint.sh /  
ENTRYPOINT \[ "/custom-entrypoint.sh" \]

Two questions:

1. Can I view the full docker logs of the started pipeline? This would allow me to trace the issue... (on BitBucket - locally the process runs)
2. Has anyone used custom entrypoints in bitbucket pipelines - should that be possible?

Best regards,  
Alex


Answers:
author: ktomk
body: Bitbucket Pipelines makes use of the step script which effectively renders the entrypoint void, it is not used.

Use it as a command in the step script:

```
-?/custom-entrypoint.sh
```

for testing.

Does this answer your questions?


Tags: bitbucket-pipelines
No activation email being received
Asked by Jim.Shun:

I've just tried to set up a new account for BitBucket and apparently have had the verification email sent, the email address is correct however I'm not receiving any verification emails?

Here is my email: DET@belronuk.com

I've tried re-sending the email a number of times and haven't received any of them.

Thank you very much.

Kind regards,

Jim


Answers:
author: Tyler T
body: Hi [@Jim.Shun](/t5/user/viewprofilepage/user-id/4061119) , it seems that your email address ended up on a bounce list because of a bounce back. I've removed it from the bounce list. Can you please try again?


Tags: bitbucket-server

server
Pseudo-terminal will not be allocated because stdin is not a terminal.
Asked by Adam Cash:

I am getting bellow error.

```
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied (publickey,password).
```

I added SSH key: Settings-\>Pipeline-\>SSH Keys.

My bitbucket-pipelines.yml file inside:

```
pipelines:
default:
- step:
deployment: staging
caches:
- composer
script:
- ssh root@142.93.143.146
- eval `ssh-agent -s`
- ssh-add ~/.ssh/id_rsa
- ssh-add -l
- cd /var/www/backoffice/
- git checkout master 
- git pull origin master 
- sudo php artisan optimize 
- sudo composer dump-autoload
- echo 'Deploy finished.'
```

I couldn't find a solution in my searches, unfortunately.


Answers:
author: Nic Brough -Adaptavist-
body: This is a problem with your process set up - you will need to be calling the ssh process with -t and -T as well.

comments: author: Adam Cash
body: Thank you I resolve. Bellow error:

Pseudo-terminal will not be allocated because stdin is not a terminal  

But I am getting now :

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directoryPermission denied, please try again.


author: Nic Brough -Adaptavist-
body: Either ssh-askpass is not installed there, or the permissions are set to not allow your process to run it.


author: Adam Cash
body: I installed the ssh-askpass on my system.

How can I set permission? How can I allow the this permission?


author: Adam Cash
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) I didnt find any solution on the internet. What is the problem? Can you help?


Tags: auto-deploy

bitbucket-pipelines

bitbucket-server

server
How to compare two commit Ids of a particular repository with python REST api for bitbucket
Asked by Yokeshwaran95:

Giving an example url syntax would be helpful. Thanks in Advance


Answers:
author: Yokeshwaran95
body: Thanks for the update, I gave 'from' and 'to' commit ids wrongly.

comments: author: Gonchik Tsymzhitov
body: Good, if you fix it :)


author: Gonchik Tsymzhitov
body: Do you mean that one ? url = 'rest/api/2.0/projects/{project}/repos/{repository}/compare/diff/{path}

Just get commit diff ?

<https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket.py#L1363>


Tags: bitbucket-cloud

cloud
Unable to get invites on email
Asked by Zohaib Khan:

Hi,

We are using bitbucket and jira, since we moved emails from inmotion to gmail we are not getting invites on email,  
Domain name: norgic.com  
All emails on this domain are not able to get any invite.


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

I had a look in our system and I could see several hard bounce events for emails from the domain norgic.com. There is a possibility that invitations were sent before the email accounts were operational. The hard bounce informs us that an email does not exist and in this case it is placed in a suppression list, as we no longer try to resend to non-existing emails.

I went ahead and removed all hard bounce events for the domain norgic.com, could you please try sending the invitations one more time now?

New invitations need to be sent, as the previous ones were dropped.

Please feel free to let me know if things are ok now or if you're still facing any issues.

Kind regards,  
Theodora

comments: author: Zohaib Khan
body: Hi,

Things are fine now. Thank you Theodora,

Best Regards.


Tags: cloud

bitbucket-cloud
Bitbucket fail to start the http to https redirection
Asked by Govindan T_G_R:

HI,

We have installed the bitbucket version 5.10.0 in our on-premise Windows 2012 server.

The Application works fine in http if we try to enable https, the url is getting redirected and the application is not getting up.

* We placed the SSL Setico cert in the following path. (D:\\Atlassian\\ApplicationData\\Bitbucket\\shared\\config\\ssl-keystore).
* The following config has been added in the "bitbucket properties file".  
  server.port=8443  
  server.secure=true  
  server.scheme=https  
  server.ssl.enabled=true  
  server.ssl.client-auth=want  
  server.ssl.protocol=TLS  
  store=D:\\\\Atlassian\\\\ApplicationData\\\\Bitbucket\\\\shared\\\\config\\\\ssl-keystore  
  server.ssl.key-store-password=XXXX123  
  server.ssl.key-password=XXXX123  
  server.require-ssl=true
* Then we restarted the bitbucket services and try to connect with local host.

Result : the page is getting redirected and Application is not getting up.

Please help to fix this issue.


Answers:
author: Apoorva
body: Hi Govindan,

Glad that we were able to fix the issue for you using the custom configuration.

Following configuration is what eventually got the redirection working:  

```
server.port=443server.scheme=httpsserver.secure=trueserver.ssl.enabled=trueserver.ssl.key-store=D:/Atlassian/ApplicationData/Bitbucket/shared/config/ssl-keystore/example.jksserver.ssl.key-store-password=XXXX123server.ssl.key-password=XXXX123server.require-ssl=trueserver.ssl.key-alias=sample.example.comserver.additional-connector.1.port=7990server.additional-connector.1.redirect-port=443server.additional-connector.1.port=80server.additional-connector.1.redirect-port=443
```


Tags: bitbucket-server

server
Dual account doesn't work
Asked by Satoshi Suzuki:

Hello, I'm running two Attlasian accounts - private and in company.

I accidentally built up company repository with my private account.

So I want to do is -

1. invite my company user to all repository
2. set company user to an administrator
3. private user leave from company repositories

I encountered is -

But on first step, invite email link doesn't work well.

![?????????_2020-08-24_15_46_49.png](https://community.atlassian.com/t5/image/serverpage/image-id/107661i4E9D3BE3E6E9D798/image-dimensions/391x397?v=v2 "?????????_2020-08-24_15_46_49.png")

Here is a body of the invite email.

When clicked \[Accept my invitation\] button,

it shows the screen below,

![?????????_2020-08-24_15_41_03.png](https://community.atlassian.com/t5/image/serverpage/image-id/107662iD36B8D5E9D9E1798/image-dimensions/368x365?v=v2 "?????????_2020-08-24_15_41_03.png")

and I hit \[Link your accounts\] button, screen is back to the same one looping.

satrex is my private account and s-suzuki is company one.

I tried is -

I logged out of Atlassian account and tried again - same result.

I used anothrer browser - same result.

How should I do to avoid this situation?


Answers:
author: Ana Retamal
body: Hi Satoshi, welcome!

My understanding is that you created the repository under your personal Bitbucket account, but you'd like to have it under your work Bitbucket account.

There's an easier solution for this :) You can simply transfer the repository from one account to the other, no need to share and change permissions. The instructions can be found at [Transfer repository ownership](https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/).

Let us know if this helped you!

Best regards,

Ana


Tags: bitbucket-cloud

cloud
I'd like to link insight object inside a confluence page
Asked by Luca Deboli:

Hi to all,

our developers, in 5 years, got a pretty big confluence wiki site documenting all of their works.

Now we are implementing Jira Insight for CMDB purposes.

Our devs asked us how to link existing Confluence pages to different Insight items in order to link wiki pages with inventory assets.

We saw that you could do the reverse using a confluence type Insight Attribute, but it's not useful for us since the starting point sould be the confluence page and not vice-versa. Furthermore you could only link a single confluence page to a single insight object.

Thanks in advance, Luca


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Luca Deboli](/t5/user/viewprofilepage/user-id/1107033)

Would insight objects macro work for you?

<https://confluence.atlassian.com/insightapps/insight-objects-macro-1085180834.html>

[https://confluence.atlassian.com/insightapps/insight-macro-for-confluence-1085180824.html#:\~:text=Installing%20Insight%20Macro%20for%20Confluence\&text=Log%20in%20as%20a%20user,appears%20in%20the%20search%20results](https://confluence.atlassian.com/insightapps/insight-macro-for-confluence-1085180824.html#:~:text=Installing%20Insight%20Macro%20for%20Confluence&text=Log%20in%20as%20a%20user,appears%20in%20the%20search%20results).

comments: author: Luca Deboli
body: Thank you very much [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) , unfortunately i was looking for INSIGHT term in macros and Apps while now the correct term for finding the Insight addons is ASSETS.

After you pointed me in the correct direction, google helped me in the name change.

Thanks


Tags: confluence-server

insight

server
Recover deleted workplace
Asked by Damien FONTAINE:

Hello,

Is it possible to recover a deleted worplace ? how to if it's possible ?

Thank you for you help


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Damien FONTAINE](/t5/user/viewprofilepage/user-id/4656689) ?

Welcome to the Community! I hate to be the bearer of bad news but unfortunately once a workspace is deleted there is no way to recover it. Trello offers an archived feature for cards, lists and boards which does allow you to recover the content but once it is deleted it's permanent.

I hope this helps but if you have any other questions just shout ?

All the best,

Laura

comments: author: Lu?za da Silva Miranda
body: Hi, Laura!

I deleted a workplace I created but I was not an admin anymore, I still can't get it back?
How to change email address butler is sending from?
Asked by Sierra Sager:

I created a command to send my boss an email every week with projects we have completed with butler's custom email reports. It shows that the email was sent by "myname-norepy@trellobutler.com". Is there a way to change who the sender of the email is? I would prefer it come from our department rather than me personally.


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Sierra Sager](/t5/user/viewprofilepage/user-id/4655758) ?

Welcome to the Community! Unfortunately, at present there is no way to change the sender as it's tied to your account/profile information.

I'd perhaps look at raising a feature request as I'm sure there's many members that would love this functionality. To get these requests to the right people I'd recommend reading Trello's guide on how to submit a feature request here \>\> <https://help.trello.com/article/724-submitting-feature-requests-for-trello>

I hope this helps but if you have any other questions just ask away ?

All the best,

Laura

comments: author: Sierra Sager
body: Thank you! This was very helpful, I'm glad I didn't miss anything.


author: Laura Holton _ACE Rotterdam_
body: Happy to help, I hope you have a Trello-tastic day ?


author: Robin Moore
body: Yes, this much needed; emailing external parties with these random addresses is extremely unprofessional.


Tags: butler

command

email

report