youngmon/atlassian-qna huggingface dataset:
Taking forever to fetch dependency from bitbucket (specified in package.json)
Asked by meteograms:

I have a dependency in the package.json file for a node.js app deployed using a Dockerfile that itself calls \`RUN npm install\`. The dependency is expressed in the following form in package.json:

"dependencies": {  
"myrepo": "git+<https://myusername:myapppassword@bitbucket.org/myusername/myrepo.git#v123>"  
},

This has worked fine for years. It still works, but I'm finding that recently that the docker build process hangs for a looong time (around 10 mins) on the \`RUN npm install\` step. In the past it was maybe a few seconds... not really sure but never enough to notice particularly.

The bitbucket repo dependency is the only dependency, so it must relate to that? When I view the server stats, it seems like nothing is really going on... CPU and network activity flatlining... so it seems like it is just waiting.

Any ideas why it's taking so long recently?


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

It's hard to say without viewing your build to understand the issue. So I suggest try to reproduce them locally following the guide [here](https://confluence.atlassian.com/bbkb/debug-pipelines-locally-with-docker-1167698072.html) and see if it's showing the same behavior.

Let me know the results.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Runner upgrade to 3.0
Asked by Peter:

Is there a possibility that this could lead to data exfiltration since runner now communicates directly with file storage in AWS S3  

<br />

<https://bitbucket.org/blog/bitbucket-pipelines-runner-upgrade-required>


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

AWS S3 is used to upload files that you define as artifacts in your bitbucket-pipelines.yml file:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/>

or caches you define in your bitbucket-pipelines.yml file:

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

For every Pipelines step that downloads artifacts or cache, we have unique tokens that are used to authenticate with S3, so the artifacts and cache are not publicly accessible.

Kind regards,  
Theodora

comments: author: Peter
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)   

Upload works but it's failing when other step is trying to download the artifact  

Artifact "target/\*\*": Downloading Artifact "target/\*\*": Error downloading. Please contact support if this error persists.


author: Theodora Boudale
body: Hi Peter,

We'll need to check the build logs and runner logs to investigate, so I suggest creating a ticket with the support team for this issue. The support ticket will be visible only to you and Atlassian staff, so anything you post there won't be publicly visible.

You can create a ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


author: Peter
body: Is there a possibility that this could lead to data exfiltration since runner now communicates directly with file storage in AWS S3  

We're using self hosted runners


Tags: bitbucket-cloud

cloud
Bitbucket not display image from a Markdown
Asked by mbazli7:

Hi,

I noticed since yesterday that my Bitbucket cloud not render any image from Markdown file even though the image file exists and can be viewed when clicking on the image itself.

I'm using this method to render the image from the Markdown file (README.md)

```
![Image Name](doc/images/myimages.png)
```

The path used in the Markdown never changed and its work before. Any idea why this happen?

Thanks!


Answers:
author: Ben
body: Hi [@mbazli7](/t5/user/viewprofilepage/user-id/4169250) [@Samuel Tan](/t5/user/viewprofilepage/user-id/5587109)

Thank you for bringing this to our attention. A few other users have reported this same issue, and we escalated it to our engineering team for further investigation.

A root cause is believed to have been found, and a deployment to fix the issue is currently in progress.

We will keep you posted once we have have further updates.

Regards,

- Ben (Bitbucket Cloud Support)

comments: author: mbazli7
body: Hi Ben,

I would like to inform that the issue has been resolved on my side. Images appear again in the Bitbucket repo.

Thanks!


author: Samuel Tan
body: I also facing this issue, should be a bug from bitbucket cloud


Tags: bitbucket-cloud

cloud
How can I re-enable Bitbucket issues in an Atlassian workspace?
Asked by Buday_Gergely_Istvan:

<https://support.atlassian.com/bitbucket-cloud/docs/understand-bitbucket-issues/> writes that

\> Bitbucket issue tracker is not available in all workspaces

"Issue Tracker is not supported in workspaces administered through admin.atlassian.com. The Issue Tracker and issues will be disabled when you create or following a transfer to a workspace administered through admin.atlassian.com. \*\*If you have already transferred the repository, you can transfer it back to the original workspace to regain access to the issues.\*\* Issues can be exported as a zip file or migrated to Jira."

How can I transfer a repository "back" so that I would have a Bitbucket issue tracker?


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

Unfortunately, there are no features to revert to the old workspace. Instead, I suggest you use Jira as it has a free plan that can be utilised up to 10 users.

Check them out at:

<https://www.atlassian.com/software/jira/pricing>

Regards,  
Syahrul


Tags: cloud

issue

issue-create
Bitbucket Pipeline build a pyinstaller binary
Asked by geoff_roddick:

I am looking to use a pipeline to build my python project, but it doesn't look like I can have it build my python project using pyinstaller targeting macOS x86 - is this correct?


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

Pipelines builds on Atlassian's infrastructure run on a Kubernetes cluster of Linux Docker hosts. Every step of the build runs in a separate Docker container, and you can specify the Docker image used for each step.

If your build needs to run on macOS, this is not currently supported on Atlassian's infrastructure. However, if you have a Mac where you can run builds, you can use a macOS self-hosted runner:

* <https://support.atlassian.com/bitbucket-cloud/docs/runners/>
* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-macos/>

Runners allow you to run builds in Pipelines on your own infrastructure. You'll be able to see build logs on the repo's page on Bitbucket's site, and you won't be charged for the build minutes used by your self-hosted runners.

We have the following feature request for supporting macOS builds on our own infrastructure:

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

python
Link to pdf on wiki causes ERR_TOO_MANY_REDIRECTS
Asked by HarryBroeders:

All links on my wiki's which point to documents (.pdf or .docx) don't work anymore. They all produce an ERR_TOO_MANY_REDIRECTS error. Please help.

Example link:

<https://bytebucket.org/HR_ELEKTRO/rts10/wiki/LEGv7/LEGv7-Pinky_ebook.pdf>


Answers:
author: Ben
body: Hi [@HarryBroeders](/t5/user/viewprofilepage/user-id/2232471) [@baroy](/t5/user/viewprofilepage/user-id/5586836) [@VersD](/t5/user/viewprofilepage/user-id/5586829)

Thank you for bringing this to our attention. A few other users have reported this same issue, and we escalated it to our engineering team for further investigation.

A root cause is believed to have been found, and a deployment to fix the issue is currently in progress.

We will keep you posted once we have have further updates.

Regards,

- Ben (Bitbucket Cloud Support)

comments: author: HarryBroeders
body: Thanks, the problem is fixed now.


author: Ben
body: Thankyou for the confirmation [@HarryBroeders](/t5/user/viewprofilepage/user-id/2232471) ! :)

- Ben (Bitbucket Cloud Support)


author: baroy
body: I am experiencing the same issue on wiki documents and images.


author: VersD
body: I second this. Things like pictures also don't load. Seems to be a CSP configuration error on the bytebucket server?


Tags: bitbucket-cloud

cloud

wiki
Did a Bitbucket creation process change and became centralized with Jira?
Asked by isiljanovski:

I'm an Atlassian admin in my team and responsible for setting up new workspaces. This week I tried to create a workspace following my usual steps (creating frim Bitbucket), but found out that the 'Create Workspace' button disappeared and now I need to create a new workspace from Jira/Atlassian site.

And as I do it, it's unclear how Bitbucket workspace permissions

* 'can administer all workspaces, projects and repository settings' enabled/disabled
* 'can create projects for this workspace' enable/disable
* user will be assigned Write access on all future repos

translates to only 2 new permissions:

* Create
* Admin

Can anybody please help me to understand what happened, is it only me who sees the change (maybe I did something wrong)?

Thanks!


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

*Welcome to the community!*

I understand how there might be some confusion, and I'm happy to provide additional context.

With the integration of the new workspace and Admin Hub, you no longer need to grant permissions at the workspace level. Instead, user and group management is handled within each project, allowing you to organize users based on the projects they are working on.

In summary, you grant groups a product access through the Admin Hub, create a project within the Bitbucket workspace, and then assign the groups to that project with the necessary read, write, or admin permissions. Please refer to our documentation below for detailed information on project permission levels:

[Configure project permissions for users and groups](https://support.atlassian.com/bitbucket-cloud/docs/configure-project-permissions-for-users-and-groups/)

If you require more explanation please raise a support ticket with us in our [Support portal](https://support.atlassian.com/contact)

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Error on workspace creation, but then workspace is already taken on second attempt!
Asked by Yossi Geretz:

I'm getting an error on workspace creation but then I'm finding that on a subsequent attempt, the feedback reports that the workspace is already taken. I'm rapidly burning through all of the names I'd like to reasonably give my workspace, but the most pressing issue is that I'm not able to create a workspace and very little direction is provided in the feedback to let me know what is the problem, and how I can mitigate it.

Thanks for any help which you can provide!

![Workspace.jpg](/t5/image/serverpage/image-id/346045i020738A716E4EA53/image-size/large?v=v2&px=999 "Workspace.jpg")


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

Apologies for the inconvenience caused by this. There seems to be a bug when a workspace is created from this page and we are looking into this.

In the meantime, if you want to create another workspace, you can do it from <https://admin.atlassian.com/> to avoid these errors.

1. Open <https://admin.atlassian.com/>
2. Select an Atlassian organization on this page (in case you are a member of multiple orgs)
3. Select **Products** from the top menu
4. Select the option **Add product** near the top right corner
5. Select **Bitbucket**, and then provide the workspace details on the next page

Kind regards,  
Theodora


author: Yossi Geretz
body: BTW, when I go to to <https://bitbucket.org/blahdeblahbla> the workspace is there! So the workspace is actually created.

It routes me to <https://bitbucket.org/blahdeblahbla/workspace/overview/>

So my workspace which I need has actually been created (the blahdeblahbla workspace was just an example) and I have no idea why I was getting the failure message for every workspace. Annoying, but hopefully I can move past it.


Tags: bitbucket-cloud

cloud
Get users and groups from workspace
Asked by Nan_Zhang:

Is there a way to get all of the users and groups in Bitbucket org using RestAPI version 2?

There is a /members endpoint but it doesn't return the user's email address, only the name and display name and uuid. And the /users/{select_user} endpoint doesn't return email address either and it requires the user id which the response from /members endpoint doesn't contain.

I see that /groups endpoint in version 1 and it returns the groups but version 1 is not supported and this endpoint is not supported in version 2.


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

Welcome to the community!

Our API endpoint doesn't return user email addresses, but you can export the list from your workspace \> User directory.

We have an existing feature request to add an email address in the API response; please Vote and Watch them to receive an update at:

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

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Contact Support for Garbage Collection
Asked by Griffin Katrivesis Brown:

Hi,

I uploaded to many large files to my repo and have now set back those commits but now need to [contact our Support team](https://support.atlassian.com/contact/#/) to run GC for me and I can't seem to find out how to do that.


Answers:
author: Ben
body: Hi [@Griffin Katrivesis Brown](/t5/user/viewprofilepage/user-id/5586441)

Welcome to the Bitbucket Cloud community! :)

I've just executed a gc against the repository and it has reduced the size from 2.9GB to 392MB.

Please double check this on your end, hopefully this helps :)

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Crucible/Fisheye AWS EC2 Instance Size
Asked by Marilynn Zayan:

What is the recommended instance type for a Crucible/Fisheye deployment on EC2?

Also, I would like to confirm that Crucible/Fisheye does not support clustering/scaling above 1 node.


Answers:
author: Marek Parfianowicz
body: There is no single answer for this as it really depends on your requirements.

You have to answer yourself the following questions:

\* how many repositories do I expect to index? - this will affect disk space and disk IO required  
\* how quickly new repositories will be added? - this will affect number of initial indexing threads and amount of RAM  
\* how frequently I need to check for new updates in repositories, how many commits are being pushed between checks, how large are they? - this will affect number of incremental indexing threads, amount of RAM and CPU speed

\* how many users will be stored in a directory? how many active (licensed) users will be? how many concurrent users I expect? - this will affect CPU speed, database connection pool size, RAM requirements

I suggest to experiment, e.g. spin up a test instance and fill with some test data (real or synthetic).

The general advice I can give is:

\* if you do not expect heavy load on the instance, the m5.xlarge with SSD disk might be sufficient and will not cost you too much

\* if you expect heavy load and seek for maximum performance, consider c5.xlarge or bigger with high IOOPS SSD disk (e.g. io2)

For example, a few years ago we tested indexing of a Linux kernel code repository. It took about 2 weeks to complete on M4, while it finished in just 3 days on C4.

<br />

Having said this, I strongly encourage to run your own tests, as this will strongly depend on usage patterns.


Tags: server
Where in Jira database tables is fisheye link information stored
Asked by Robin Hochteil:

We are connected to Fisheye from Jira. If I hover over the commit header, I can see a link to my info in fisheye. Where is this link stored in Jira? What table? I have looked thru all the documentation I can find and there is no reference to what plugin table in Jira contains this information.


Answers:
author: Nic Brough -Adaptavist-
body: Jira connects to Fisheye to get some of the information, and it indexes some of it.

So some, possibly all, of what you see on screen is not held in the database.

I would want to question what problem you are trying to solve with this. Reading a Jira database is almost certainly the worst possible way to do whatever it is, so we may be able to point you at something that will work better! (Or even just work)

comments: author: Robin Hochteil
body: The project in one instance of Jira is being moved to another instance of Jira where the fisheye plugin is not being allowed. So we need to pull those links in from the legacy site and put them into the target Jira instance remotelink table as plain links.


author: Nic Brough -Adaptavist-
body: Ok, the best thing to do would be to read the current Jira over REST, getting the development data. You may then need to read Fisheye to get all of what you need. Then, post-migration, poke the remote link data into the moved issues over REST (I can't recommend touching the database - it often fails, and leaves you unsupported)
Is Fisheye version 4.5.3 compatible to Jira version 7.6.6?
Asked by Tommy:

Hi,

Is Fisheye version 4.5.3 compatible to Jira version 7.6.6?

Jira is running with a MySQL database version 5.7.33.

Thanks

Best regards

Tom


Answers:
author: Steffen Opel _Utoolity_
body: Hi [@Tommy](/t5/user/viewprofilepage/user-id/4639415) - welcome to the Atlassian Community!

According to the [Fisheye 4.5 supported platforms documentation](https://confluence.atlassian.com/fisheye045/getting-started/supported-platforms), you are good to go:
> Fisheye to Jira communication requires Jira 6.4.x or later. Communication the other way, from Jira to Fisheye, depends on the Jira Fisheye Plugin.
>
> Note that the Jira Fisheye Plugin is bundled with Jira. If you are using a version of Jira earlier than Jira 6.4 you can upgrade the plugin in Jira to get support for Fisheye.

Cheers,  
Steffen


Tags: jira

mysql
Docker Images For Fisheye/Crucible Are Out of Date
Asked by Kalvin G?hring:

Good day,

After receiving the vulnerability notification this morning I went to update our Atlassian products to find that [crucible docker images](https://hub.docker.com/r/atlassian/crucible) are no longer being updated from versions 4.8.6. Is it possible to get the official images updated to the fixed version 4.8.8 mentioned in this article:

<https://confluence.atlassian.com/security/multiple-products-security-advisory-unrendered-unicode-bidirectional-override-characters-cve-2021-42574-1086419475.html>

Kind regards,

Kalvin G.


Answers:
author: Daniel Eads
body: Hi [@Kalvin G?hring](/t5/user/viewprofilepage/user-id/2384610) ,

We pushed 4.8.8 to Docker hub a couple days ago - just wanted to make sure you saw. Running **docker pull atlassian/crucible:latest** will currently pull the 4.8.8 ubuntu image.

Cheers,  
Daniel \| Atlassian Support

comments: author: Kalvin G?hring
body: Hi [@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694)

I had not seen the updates so thanks for checking in with me. I have updated and all looks good.

Thanks,  
Kalvin G.


Tags: cve-2021-42574

docker

server
Atlassian Fisheye service would not start on Windows 10
Asked by Balaji Rathakrishnan:

Hi,

I just installed Fisheye.

I have already installed Java on a folder (under my /Users/\<username\> folder) which doesn't have spaces.

When I open in localhost:8060, it doesn't work.

Windows Service Control Manager shows 'Atlassian Fisheye' service, but when I start it, it fails with the message:

"The Atlassian Fisheye service terminated with the following service-specific error:  
Incorrect function."

Can someone help how to troubleshoot this?

Thanks,

Balaji


Answers:
author: Balaji Rathakrishnan
body: I think the issue was that I had installed Fisheye and Java in the users folder. When I installed both Java and then Atlassian in the root folder of the OS drive, Fisheye started working.

Balaji


author: Naveed ullah khan
body: I am also facing the same issue, please do suggest for solution
NullPointerException
Asked by Robbin Bonthond:

crucible (4.8.6) seems to be having issues with a particular changelist from perforce, any suggestions here?

Tue Oct 26 14:46:28 GMT 2021: Repository paused due to error com.cenqua.fisheye.perforce.client.P4ClientException: \[p4.company.com:1666//depot/project\] Problem executing describe -dn 317587: com.atlassian.utils.process.ProcessException:java.lang.NullPointerException


Answers:
author: Suvarna Gaikwad
body: [@Robbin Bonthond](/t5/user/viewprofilepage/user-id/4612264) Welcome to Community. Perforce repo needs to be Unicode. Else you would have to follow below workaround to handle ClientException in Fisheye.

1. Please add the following to the $FISHEYE_INST/system.properties file  
   fisheye.ignore.p4.client.errors=true
2. add the following to the FISHEYE_OPTS environment variable  
   -Dfisheye.ignore.p4.client.errors=true
3. Restart Fisheye
4. Restart Repository and Reindex
New license is not working!!!
Asked by Mahmoud Eltahawy:

Hi I have purchased a license yesterday for my server, and when I applied to my server, the admin page says:

**The license key you have entered terminated on September 16, 2021. Please enter a current license key.**


Answers:
author: Fabian Lim
body: Hi [@Mahmoud Eltahawy](/t5/user/viewprofilepage/user-id/1071456),

You should open a support ticket with atlassian support so that they can take a look.

Good luck


Tags: server
Where is the Frontpage of my FishEye instance?
Asked by Kevin Paulus:

I have entered custom info into both the Welcome Message and Support message on the FishEye Server (version 4.8.7) Front Page Customization page. No one in our organization has seen or can figure out where this frontpage or support message is. Where is the Frontpage of my FishEye instance? How do we get it to be visible?


Answers:
author: Steffen Opel _Utoolity_
body: Good question - according to [Customizing the front page](https://confluence.atlassian.com/fisheye/customizing-the-front-page-960155656.html), both messages are (only?) *displayed to users when they first log in*.

So depending on the interpretation of 'first log in', I could imagine that this is literally just once, and possibly not even that in typical Enterprise single sign-on scenarios where you may not even need to actively log in at all.

* Random data point: While we presumably have an SSO setup, I oddly still managed to log out and log back in via the Fisheye login form, and indeed didn't see either message despite being configured.

comments: author: Kevin Paulus
body: Thanks Steffen;  
We don't use SSO in this instance \& in the 3 years since we set this one up, no one has seen the FishEye/Crucible "Front Page" I have a second instance with the same problem -- except its been more than 5 years. I am thinking there must be a setting at install that bypasses this page.


Tags: server
Cannot upgrade SAML SingleSignOn for Fisheye/Crucible
Asked by Derek Halvey:

I cannot see the 'Update' button to upgrade *SAML SingleSignOn for Fisheye/Crucible* from version 2.4.7 to version **2.5.9**. I have also tried installing the app from a downloaded .obr file via the marketplace but that did not install (it just hung on installing).

![2021-08-04_11h31_25.png](https://community.atlassian.com/t5/image/serverpage/image-id/154446iC6C4885C8AC8421A/image-size/large?v=v2&px=999 "2021-08-04_11h31_25.png")

We are on Fisheye/Crucible version 4.8.1 (Server). Does anyone have any advice on how I can upgrade *SAML SingleSignOn for Fisheye/Crucible*?


Answers:
author: Derek Halvey
body: Resolved after upgrading to Fisheye 4.8.7.