youngmon/atlassian-qna huggingface dataset:
How to make custom pipe works
Asked by Adrian Lapierre:

I have simple custom pipe:

<https://bitbucket.org/itrust-dev/call-webhook-pipe/>

Image is build and pushed to DockerHub and it is public available (\`docker pull lapierre/call-webhook:1.0.0\` works) .

My pipeline looks like this:

```
- step:
    name: Deploy Dev
    trigger: 'manual'
    deployment: Test
    clone:
      enabled: false
    script:
      - VERSION=$(cat version.env)
      - echo $VERSION
      - FULL_URL="${WEB_HOOK_URL}?SERVICE_VERSION=${VERSION}"
      - pipe: lapierre/call-webhook:1.0.0
        variables:
          ITRUST_WEBHOOK_URL: ${FULL_URL}
```

I got error from BitBucket: Configuration error It looks like you tried to use a pipe in your bitbucket-pipelines.yml that doesn't exist. Check the name of the pipe and try again.

What I'm doing wrong?


Answers:
author: Adrian Lapierre
body: There are 2 ways to refer to this pipe in other repositories. In your bitbucket-pipelines.yml file you can:

1. refer to the docker image directly   
   pipe: \`docker://acct/repo:tag\` (where acct/repo is the Dockerhub account and repo) Note: You must always specify \`docker://\` when referencing public Docker images.
2. refer to a pipe repo hosted on Bitbucket  
   pipe: \`\<BB_acct\>/repo:tag\` (where BB_acct/repo is your Bitbucket account and pipe repo)  
   This version of the reference looks in your pipe.yml file to find out where to get the image from.


Tags: bitbucket-cloud

cloud

pipes
The Bitbucket member cannot be deleted. Could you please explain why?
Asked by ??:

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

Hello, as shown in the screenshot above, a JSON error occurs, and I am unable to delete a member. The error occurs when I try to delete a specific member. I need assistance in identifying the cause of this issue.


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

and welcome to the Community,

The reason why you are not able to remove that user's access is because the workspace is likely a **personal workspace** (see [Difference between personal and shared workspaces](https://confluence.atlassian.com/bbkb/difference-between-shared-and-personal-workspaces-1141477191.html)) attached to that user's email address, so that email is the owner of that workspace and can't be removed.

In the past when an account was created in Bitbucket Cloud, Bitbucket would automatically create a personal workspace tied to the user's email address. This is no longer the case, as Personal workspace is a legacy feature now. Workspaces created now are shared workspaces, meaning they are not attached to any user and will be owned by any users added to the Administrator's group.

As the error message shown in the UI is misleading and does not reflect the actual error, we've created a bug for our development team so they can fix that message :

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

While there's no direct way to convert a personal workspace to a shared workspace, you should be able to create a new workspace (shared workspace) and transfer the repositories to this new workspace.

You can follow the below instructions to [transfer the repository ownership](https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/) :
> 1. From the repository you want to transfer, click **Repository settings** in the left menu.
> 2. On the **Repository details** page, click **Manage repository** located at the top-right corner of the screen.
> 3. Click **Transfer repository**.
> 4. Enter the **Workspace ID** of the workspace \*\* in which you want to transfer the repository.
> 5. Click **Transfer**.

Bitbucket will then send an email to the administrators of the destination workspace containing the transfer request with a link to a page that allows the user to accept or reject the transfer. Once the transfer is accepted, the repository will be moved from the original workspace to the destination workspace.

I hope that helps! Let us know in case you have any questions.

Thank you, [@??](/t5/user/viewprofilepage/user-id/5581855) !

Patrik S


Tags: bitbucket-cloud

cloud
Login denied when using curl to send emails using app password and access token in c++
Asked by Shreya:

I am trying to send an email by using curl, but I am getting the error "Login Denied". I generated the app password as well as the oauth access token, but still getting the same error. Can someone guide me as to what's the issue.   

<br />

That's how I gave the app password and the access token:  

*curl_easy_setopt(curl, CURLOPT_PASSWORD, "APP_PASSWORD");*   

*headers = curl_slist_append(headers, "Authorization: Bearer ACCESS_TOKEN");*   
*curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);*


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

and welcome to the Community!

I'm not sure if I fully understand your question. Could you elaborate if you are trying to use any Bitbucket Cloud feature to send emails?

I ask this because our community primarily focuses on Bitbucket Cloud/Server questions, and we welcome any inquiries you might have. However, you'll likely receive faster and more precise answers for queries related to Atlassian products here.

If your question is about a third-party tool, you might find it more beneficial to post directly in that tool's dedicated forum or community. This way, you'll have a better chance of getting an accurate and timely response.

Thank you, [@Shreya](/t5/user/viewprofilepage/user-id/5580510) !

Patrik S


Tags: accesstoken

apppassword

c++

curl

login
Can't Find Button to Approve a Pull Request
Asked by jack_waugh:

I'm looking at my newest pull request and no button shows up to approve it (nor to merge it, for that matter). How do I merge it? I am the owner and sole user and have not changed any settings.


Answers:
author: Ash Yadav
body: Hi [@jack_waugh](/t5/user/viewprofilepage/user-id/5581017)

As mentioned by [@abuislam](/t5/user/viewprofilepage/user-id/5575597) this is likely permissions related or conditions on the PR.

Can you share a screenshot please?

KR,

Ash


author: abuislam
body: Check your permissions and ensure all checks are passed. Try refreshing the page or clearing your cache. If the button still doesn't appear, review the repository settings or contact support.


Tags: bitbucket-cloud

cloud

merge

pull-request
How do I delete this workspace?
Asked by joeysal:

I'm trying to completely delete this workspace, but the directions from Atlassian do not work. It says to go to the workspace and a page will pop up with a "Delete" button. Well, when I go to this workspace, there's no page with any option like that. It just says "Welcome to Bitbucket" and "Pull Requests" (empty) and "Jira Issues" (empty). I no longer need this workspace and would like to delete it.


Answers:
author: OMAR MOHAMED AHMED MOHAMED FATHY
body: 1. Navigate the workspace that you want to delete by going to [https://bitbucket.org/\<workspaceID\>](https://bitbucket.org/leonardomontiel/workspace/overview), changing the \<workspaceID\> to your workspace's workspace ID. You can also find your workspace by clicking on your avatar and selecting "All workspaces", then pick the one you wish to delete
2. Click on the gear icon on the top right corner and then click on "Workspace Settings" option to access the workspace settings;
3. On the new page that shows up, click on the "Delete workspace" button.
4. There will be two **warning messages** to prevent accidental workspace deletion


author: Tansu Akdeniz
body: Hi [@joeysal](/t5/user/viewprofilepage/user-id/3533809)

Welcome to the community.

I believe you are an admin of the workspace.

Please check this page: [How to delete Bitbucket cloud workspace](https://confluence.atlassian.com/bbkb/how-to-delete-bitbucket-cloud-workspace-1216583972.html)


Tags: bitbucket-cloud

cloud
Cannot Commit; Any ideas on how to resolve?
Asked by ddspell:

I created a new repo.  

I successfully cloned via ssh.  
Made some changes locally.  
Committed them.  
Tried to push, but it failed.

I've done some troubleshooting, but I'm not sure how to resolve.

I did this...

```
GIT_SSH_COMMAND="ssh -vvv" git push

<snip>

debug1: Server accepts key
```

<br />

At this point, all good.

```
debug1: Sending command: git-receive-pack 'me/scripts.git'
debug2: channel 0: request exec confirm 1
debug3: send packet: type 98
```

SSH_MSG_CHANNEL_REQUEST

```
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 2097152 rmax 32768
debug3: receive packet: type 99
```

SSH_MSG_CHANNEL_SUCCESS

```
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
debug2: channel 0: rcvd ext data 13
debug3: receive packet: type 98
```

SSH_MSG_CHANNEL_REQUEST

```
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug3: receive packet: type 96
```

SSH_MSG_CHANNEL_EOF

```
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug3: receive packet: type 97
```

SSH_MSG_CHANNEL_CLOSE

```
debug2: channel 0: rcvd close
debug2: channel 0: chan_shutdown_read (i0 o1 sock -1 wfd 4 efd 6 [write])
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
debug2: channel 0: obuf_empty delayed efd 6/(13)
Unauthorized
```

<br />

Not sure why I'm unauthorized.  
I own the repo.

Any ideas how to resolve?


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

and welcome to the Community!

Checking internally for your account I've noticed that you don't have any SSH keys added to your account. This means the key you're using was probably added directly to the repository or to the project that repository belongs to.

SSH keys added to the repository or project (known as Access Keys) only provide read access to the repository (learn more on [Difference between Repository, Project and Workspace Access keys](https://confluence.atlassian.com/bbkb/difference-between-repository-project-and-workspace-access-keys-1188785759.html)). This would explain why you were able to clone successfully, but the push was not authorized.

In that case, you'd have to add your SSH key to your user profile instead by navigating to your *[Personal Bitbucket Settings](https://bitbucket.org/account/settings/) \> SSH Keys*.

The same key cannot be added simultaneously as an access key and a user key. If you want to add the same key to your user profile, you'd first need to remove it as the access key on the repo/project level.

I hope that helps! Let me know in case you have any questions.

Thank you, [@ddspell](/t5/user/viewprofilepage/user-id/5580828) !

Patrik S


Tags: bitbucket-cloud

cloud

push
not able to find the repository
Asked by amitkjai:

Hi Team, I am not able to find my old repository, i would be thankful if you can help me to find this.

bitbucket.org/amitkjai/flightapi.git


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

and welcome to the Community!

I wasn't able to find the repository you mentioned inside the workspace you shared in your description.

However, I see you have access to multiple workspaces, so the repository you're looking for might be part of a different workspace other than the one you're currently accessing.

You can find a list of workspace you have access by *navigating to Bitbucket* \> Clicking on your *avatar in the top right corner* \> *Selecting **All Workspaces*** option.

From there, you can open each of the workspaces and search for your repository.

I hope that helps! Let us know in case you have any questions.

Thank you, [@amitkjai](/t5/user/viewprofilepage/user-id/5580858) !

Patrik S


Tags: bitbucket-cloud

cloud
builds on self-hosted runner (docker) cannot reach servers in the same private network
Asked by Shelmy:

Hello,

we have deployed a bitbucket self-hosted runner of type linux docker on a VM in a private network.

The runner works fine, but not for builds, that expect to reach out to other servers in the same private network, because inside a build container, the interface for the private network is not available.

We are aware of the option of linux shell runner, and just really would prefer containerized environment for builds.

According to [this](https://community.atlassian.com/t5/Bitbucket-questions/Automated-deployment-from-my-repo-to-remote-private-server/qaq-p/1886659) post pipe:ssh-run may help, but I am not sure, what value to set for "SERVER", when the target IP or FQDN cannot be pinged. Or would ssh start from the host instead of from a container?

Please let me know if my description of the use case makes sense. Much appreciated for new ideas :)


Answers:
author: Shelmy
body: Hi again,

so what I could achieve now is to start the runner container in the host network, so that the network interface, which is shared with the destination servers, is available in the runner container. (The reason why it did not work is starting the runner container using rootless docker.)

However in the build containers, that network interface cannot be found. Is there a parameter to change the network option for the build containers?

Many thanks in advance :)

comments: author: Syahrul
body: G'day, [@Shelmy](/t5/user/viewprofilepage/user-id/5580839)

Welcome to the community!

We need more context on your goal and YAML configuration, so I suggest you create a support ticket with us since you have a paid workspace at our [Support portal](https://support.atlassian.com/contact/).

Regards,  
Syahrul


author: Shelmy
body: Hi Syahrul,

thank you for the advice.

To summarize the lesson learned until now for the community and to complete this post:

Thanks to docker IP forwarding and NAT routing, which could be checked using the following commands, the private network interface didn't have to appear inside any container. The private server was pingable from runner and build containers if started with "rootful" Docker.

sysctl net.ipv4.ip_forward

iptables -t nat -L -n -v

<br />

The "problem" with rootless Docker was just that ping was limited, which could be fixed by the following section in the official Docker docs.  
<https://docs.docker.com/engine/security/rootless/#routing-ping-packets>


Tags: bitbucket-cloud

cloud
TLS1.2 support for email
Asked by Daniel Becroft:

We're currently running an old version of Crucible (4.5.1). We use an Office365 SMTP relay to send emails.

The SMTP relay has recently moved to TLS 1.2 only, and we are now getting SSL connection errors.

Obviously our current version is terribly out of date.

Before we look at upgrading, is TLS 1.2 supported under later version of Crucible? I can't see any reference to TLS in the 4.6-4.7 release notes.


Answers:
author: Marek Parfianowicz
body: Please have a look at <https://jira.atlassian.com/browse/FE-7294>
javascript function provided by the existing system
Asked by JiHyun Kim:

Hi,

I am developing a Crucible plugin.

While developing JavaScript code, I would like to use the javascript function provided by the existing system. Is there any way to use that function?

..\\target\\fecru\\fecru-4.6.1-20181008080545\\content\\static\\pg9t5l\\2static\\script\\cru\\review\\frx\\frx-ajax.js

-\> changeFileReadStatusClass: function (frxId, markAsRead, newStatus)


Answers:
author: Steffen Opel _Utoolity_
body: Hi [@JiHyun Kim](/t5/user/viewprofilepage/user-id/3746661),

You have probably figured this out by now, just in case:

App development related questions like this are best asked in the [Atlassian Developer Community](https://community.developer.atlassian.com/), you have a greater chance to get feedback from other app vendors there (though given past experience, the Bamboo team might also answer here).

That said, to set expectations, you'll note that there isn't even a category for Crucible and the [latest Crucible question](https://community.developer.atlassian.com/search?q=crucible%20order%3Alatest) stems from 2018 - regardless, there are quite some Atlassian team members monitoring the community by now, so hopefully they can loop in someone from the Crucible team.

Cheers,  
Steffen
Subversion required - What other options are out there to replace FishEye and Crucible?
Asked by MEDITECH ADMIN TEAM:

I am beginning the long search for a replacement tool for FishEye and Crucible. Given Atlassian moving to maintenance mode for FishEye and Crucible, what are other options out in the wild for replacing those two software offerings? We are set on SVN, so that eliminates GIT and BitBucket.

Im asking because with quick searches it seems its a move to GIT or there is not a wide set of offerings, if any. Anyone have some ideas or heading down this same path? Hoping we are not that different! HA!


Answers:
author: Marek Parfianowicz
body: There's a very good guide how to migrate from Subversion to Git:

<https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration>


Tags: server
Fisheye/crucible Users' guide
Asked by Mark Powers:

I found a 3.10 version for a users guide. Is there one for 4.84 or any of the 4.8.x?


Answers:
author: Mikael Sandberg
body: Hi [@Mark Powers](/t5/user/viewprofilepage/user-id/4220293),

Welcome to Atlassian Community!

Here is the link to the 4.8.x documentation, <https://confluence.atlassian.com/fisheye/fisheye-documentation-home-960155247.html>
Do I have to upgrade server software when I upgrade license?
Asked by ISA Admin:

I have a standalone server on a closed environment with a 100 user Fisheye license and a 5 user starter license for Crucible. I received a quote for a 100 user Crucible license for software version 4.2.1.20161109135523  

I provided this software version in my request for the quote so I assume it will work without requiring an upgrade but need to be sure before purchasing.


Answers:
author: Joshua Sneed Contegix
body: Hi ISA Admin,

No, you are not required to upgrade the application when you obtain a new license. Cheers!


Tags: server
Does version 4.8.6 include the fix for failure to start with wildcard cert?
Asked by paul redmond:

This is regarding the issue in Fisheye 4.8.4 where it bundles new Jetty libraries version 9.4.30, and when a wildcard certificate is used the application fails to start.

Last I heard this bug was a candidate for 4.8.6 bug-fix release. Just curious if it got included.

More info-

[https://jira.atlassian.com/browse/FE-7318?error=login_required\&error_description=Login+required\&state=9a0f6b12-d4b8-45af-b746-1423b596c5cc](https://jira.atlassian.com/browse/FE-7318?error=login_required&error_description=Login+required&state=9a0f6b12-d4b8-45af-b746-1423b596c5cc)

Thanks


Answers:
author: Graham White
body: I can confirm it did **NOT**.

Hoping for the 4.8.7 release to become available soon.

Regards, Graham

comments: author: Graham White
body: **Crucible 4.8.7** has now been released, and this bug is marked as closed. I'm likely to try upgrading over the weekend and will confirm here when done.


author: Graham White
body: Upgrade worked fine this time, so the Jetty issue with wildcard certifcates is finally fixed !
Is there an API functionality to add single fisheye repository in to the crucible project?
Asked by chaitali k:

I want to add fisheye repository in to the crucible project using api, is there any api for that ?


Answers:
author: Steffen Opel _Utoolity_
body: I'm afraid you are out of luck, insofar there is no REST API to achieve this, and the resp. issue status is 'not being considered':

* [Bulk add repositories into Project (CRUC-6269)](https://jira.atlassian.com/browse/CRUC-6269)

So given [there will not be any further feature development on Fisheye and Crucible since January 13th 2020](https://confluence.atlassian.com/crucible/fisheye-and-crucible-are-in-basic-maintenance-mode-987143986.html), it is extremely unlikely that your vote or comment on that issue would make any difference.

Accordingly, if this is super important, your only and at least likely long-terrm stable option would be to automate the UI via a tool like [Playwright](https://playwright.dev/) or [Puppeteer](https://pptr.dev/).


Tags: fisheye-crucible-administration
Atlassian FishEye analysis Binary Review
Asked by BooHyun:

Hello .

atlassian Support Teams.

Thank you for your time.

Fisheye changeset Review progress Two file Displayed as binary. That's why I can't compare.

The file extension is : .cs

raw-mime.types : The file text/plain settings are clear.

VerSion info :  
Atlassian [FishEye analysis](http://www.atlassian.com/software/fisheye/)with [Crucible code review](http://www.atlassian.com/software/crucible/). (Version:4.4.1 Build:20170515065843 2017-05-15

Please...Tell me how to solve this problem.

Please answer my personal email.

E-mail Address : snakestone@plateer.com

Thank U.

-BooHyun


Answers:
author: Man3door
body: .

comments: author: BooHyun
body: ???
How to import the users from Jira into Crucible?
Asked by D:

My Jira server has been in operation for awhile and has been working fine. I want to use all of the users that I have amassed in Jira on Crucible but I can't seem to find a button to import users from Jira to Crucible. When creating the application link between the two, it asked if the users would be the same but that was the only mention of a possible import. Is this possible and if so, how would I go about the import?


Answers:
author: Gerald Schneider
body: You can use JIRA as an external user directory in FishEye.
> You can connect Fisheye to an existing Atlassian Jira instance to delegate Fisheye user and group management, and authentication. Fisheye provides a "read-only" connection to Jira for user management. This means that users and groups, fetched from Jira, can only be modified or updated in that Jira server, rather than in Fisheye.

The process is documented here: <https://confluence.atlassian.com/fisheye/connecting-to-jira-for-user-management-960155582.html>
What are the next steps to take after linking Crucible and Jira?
Asked by D:

I've been having some trouble finding how to properly integrate Crucible into Jira after linking both sites. So far, I have followed the instructions from here (<https://confluence.atlassian.com/crucible/linking-crucible-to-jira-394464356.html>) to link both of them together and have followed the directions here ([https://confluence.atlassian.com/crucible/setting-up-a-perforce-repository-in-crucible-alone-298977504.html#:\~:text=To%20set%20up%20Perforce%20in%20Crucible%20alone%3A\&text=Click%20Manage%20Add%2Dons%20(under,unique%20name%20for%20the%20repository)](https://confluence.atlassian.com/crucible/setting-up-a-perforce-repository-in-crucible-alone-298977504.html#:~:text=To%20set%20up%20Perforce%20in%20Crucible%20alone%3A&text=Click%20Manage%20Add%2Dons%20(under,unique%20name%20for%20the%20repository)) to take everything found from my perforce and create repositories on Crucible. My goal is to be able to write reviews and create issues stemming from code changes while on Jira but the few videos I have found show buttons that I do not have on Jira, are very old, or never explain how to get from where I currently am to there. I am using Crucible 4.8.4 and Jira v8.6.0. It would be greatly appreciated if someone could provide some instruction on the next steps to take or direct me to a solution.


Answers:
author: Gerald Schneider
body: Additionally to the general application link between JIRA and FishEye/Crucible you need to specifically link your JIRA project to your Crucible project.

* In your JIRA project, go to "Project Settings" -\> "Summary".
* Scroll down to "Settings" and click on "Application Links".
* Click on "Create Project Link".
* Select your FishEye instance from the menu and select your repository or project. Follow the dialog to create the link.

Afterwards the buttons you are missing should show up.