youngmon/atlassian-qna huggingface dataset:
How to get a list of commits from a bitbucket project
Asked by chandrasekhar T:

++Hello,++

++Greetings for the day!!++

++I need to prepare a report of all repositories and it's respective commits of a bitbucket project.++

++Example:-++

++Project Name: ABC++

++repo1: Abcd++

++repo2: Efgh++

++repo3: Ijkl++

++and so on...++

++I tried with "git log --pretty=format..." but I have nearly 170 repositories in total. It's a bit difficult to manually do it.++

++Could you please guide me the way to automate the effort ?++

++Thanks in advance.++


Answers:
author: Aron Gombas _Midori_
body: Because you wrote about using the Git commandline client ("git log ..."), I assume that all the 170 repositories are cloned to the corresponding filesystem.

If so, you can write a little shellscript that:

* iterates over all repos
* enters the directory of a single clone
* runs "git log ..." and redirects (appends!) the output to a text file

When script completes, the text file will have the total result.

On Linux, this is something pretty easy to do, but it shouldn't be very hard with Windows batch files, either.

comments: author: chandrasekhar T
body: Hi, yes I agree to your suggestion.

I will try that. Thank you.


Tags: unknown-hosting-type
Hello, I have a account of Bitbucket but I'm getting the error " We couldn?t log you in.
Asked by Akhouri Anand Kumar:

Hello, I have a account of Bitbucket but I'm getting the error "  

We couldn't log you in {#toc-hId--383814100}
--------------------------------------------

You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

" but it's not integrated with project of Jira and Confluence. I think it is the error of I had have an community Bitbucket account in the same email.  
Help me.  
Thanks


Answers:
author: Theodora Boudale
body: Hi [@Akhouri Anand Kumar](/t5/user/viewprofilepage/user-id/5441911) and welcome to the community!

Your Bitbucket Cloud account was deactivated, which is the reason for the error you were seeing. I went ahead and made it active so you should be able to access it now.

Can you try logging in again when you have some time, and let me know if it works?

Kind regards,  
Theodora


author: Ste Wright
body: Hi [@Akhouri Anand Kumar](/t5/user/viewprofilepage/user-id/5441911)

Is this still an issue for you?

Have you tried using a different browser, or incognito mode?

Ste


Tags: bitbucket-cloud

cloud
pipeline error with vite5 due to bitbucket estree-walker version
Asked by jmannDev43:

Hi, I'm continually running into this error after migrating our application to use Vite 5.

It seems to be related to the estree-walker package that's used by atlassian/pipelines.

After some digging, I found [this issue](https://github.com/Rich-Harris/estree-walker/issues/26) with the estree-walker package.

Is there any way I can circumvent this? Any advice would be appreciated!

Thanks!

Josh

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


Answers:
author: jmannDev43
body: In case it helps anyone else running into this, my issue was that I was trying to install dependencies using a bun image, and then run tests with a node image. I updated all of my steps to use squishyu/bun-alpine:latest, which fixed the issue.  

Also, for our app, it seems bun can install dependencies as fast as the pipelines can download cached node_modules, so I didn't bother to cache.


Tags: bitbucket-cloud

cloud
Always Getting "We couldn?t log you in"
Asked by Jeffrey Panza:

I need my account re-activated, please.


Answers:
author: Theodora Boudale
body: Hi [@Jeffrey Panza](/t5/user/viewprofilepage/user-id/5442058) and welcome to the community!

Your Bitbucket Cloud account was indeed deactivated, which is the reason for the error you were seeing. I went ahead and made it active so you should be able to access it now.

Can you try logging in again when you have some time, and let me know if it works?

Kind regards,  
Theodora

comments: author: Jeffrey Panza
body: Looks good! Thanks for the help.


author: Theodora Boudale
body: That's good to hear, thank you for the update.

Please feel free to reach out if you ever need anything else!


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Is this for a particular Atlassian system, or is it about your Atlassian account in general? (Also, check status.atlassian.com in case there is a known problem at the moment)

If you're not sure, then try to log into id.atlassian.com with your account.

* If you can, then you will need to talk to the admins of your system.
* If you can not, then you will need to Atlassian on <https://support.atlassian.com/contact>


Tags: bitbucket-cloud

cloud
How is the build minutes calculated, when using parallel steps?
Asked by Shyam:

I have a pipeline which runs for around 8 mins. But since I have a parallel step included in pipeline, if we count the total time for each steps it comes around 12 mins. How does the bitbucket consider the build time for this situation?   
since the total time for pipeline is 8 mins will I be billed for 8 mins ? or the time for each steps(including steps which run in parallel) consolidated gives 12mins, so I will be billed for 12 mins? Can you confirm which would apply?


Answers:
author: Ben
body: Hi Shyam,

I've noticed that you are a member of a Standard team workspace, therefore you are entitled to Standard-level support from our support team and do not need to reach out to community. In future you can avoid delays in response times by raising a ticket with us directly using your team workspace URL, **Bitbucket Cloud** as the product and **Technical Issues \& Bugs**as the reason:

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

To answer your question, each step is counted towards your build minute usage - regardless of whether or not they are parallel.

For example, if you had parallel steps where StepA takes 8 minutes and StepB takes 4 minutes - 12 minutes would be billed.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Unable to build our Docker image
Asked by Alexandre Fillatre:

In our first pipeline step, we're calling \`yarn install\`, but this fails right away :

    + yarn install

```
# node[39]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:68
```

```
# Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

1: 0xca5580 node::Abort() [node]
2: 0xca5600 node::errors::SetPrepareStackTraceCallback(v8::FunctionCallbackInfo<v8::Value> const&) [node]
3: 0xd24949 node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
4: 0xd24a6c node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
5: 0xc5e5d3 [node]
6: 0xc5ef64 node::Start(int, char**) [node]
7: 0x7f23b8cd424a [/lib/x86_64-linux-gnu/libc.so.6]
8: 0x7f23b8cd4305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
9: 0xbb8eee _start [node]
```

<br />

<br />

Here's my bitbucket-pipeline :

```
image: google/cloud-sdk:latest

definitions:
  services:
    docker:
      # See https://community.atlassian.com/t5/Bitbucket-questions/Pipeline-broken-after-update-to-v25-0-2-multiarch-prod-stable/qaq-p/2597310#U2598724
      image: docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon:v20.10.24-multiarch-runc-patch-prod-stable
  steps:
    - step: &build-docker-staging
        runs-on:
          - self.hosted
          - gcp
        image: node:20
        size: 2x
        caches:
          - node
        name: Build and push docker image
        script:
          - yarn install
        services:
          - docker

pipelines:
  branches:
    master:
      - step: *build-docker-staging
```

Using node:20.2 as base image fixes the issue, but we need a newer version.

Right now, I have no idea why the build doesn't work, and how to fix that.

Thanks


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

Could you raise a support ticket with us on our [Suppor portal](https://support.atlassian.com/contact/) so we can investigate this issue further?

Also, before you raise a support ticket with us, please add --verbose options on your yarn install line in YAML, as they should give us more verbose output that will help the investigation.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud

docker

node
How to change Sonarcloud linked project
Asked by You-Hsuan Yu:

Hello,

In the Pull Request page, when I click the Sonarcloud link from Code Quality section, it directs me to a project that's under Bitbucket organization.  
But we have imported the same project to another Sonarcloud account which is under Azure organization.  
May I know where can I setup the link to the project that's under Azure account please?  

Thank you!


Answers:
author: Ben
body: Hi You-Hsuan,

Whilst we do not have specific knowledge related to the Sonarcloud plugin (it is developed, supported and maintained by SonarSource therefore falls outside of Bitbucket scope), you could try the following:

* Click the **gear cog** icon in the top-right corner of the Bitbucket UI, click **Workspace Settings** \> **Installed Apps**
* Expand the entry for **SonarCloud** and click **Remove**
* Access the marketplace listing and click **"Get it now"** , follow the prompts to re-install the app with the intended Azure location:  
  [https://marketplace.atlassian.com/apps/1219262/sonarcloud-for-bitbucket-cloud?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1219262/sonarcloud-for-bitbucket-cloud?tab=overview&hosting=cloud)

If you are still encountering issues, you will need to reach out to the SonarSource community for further assistance:  

* <https://community.sonarsource.com/>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Access to Old Repos
Asked by brian paul:

I had old Repositories

This was the team I was In   
\[REDACTED\]  

And the Repos   
Backend - \[REDACTED\]   
Frontend - \[REDACTED\]  

Now I logged into my account with email \[REDACTED\], but was asked to create a new username, and with the creation, can no longer access the repositories.   

Please assist on this


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

Welcome to the community!

Based on my observation, I have confirmed that there is no existing workspace under the name you previously provided. This suggests that the workspace may have been renamed or deleted.

Regrettably, I can't retrieve any further information on these possible changes due to our 30-day log retention policy. Therefore, to locate the missing account, I suggest you recall the email address you initially used as if you were asked to create a new account with us when signing in; it means there were no accounts in Bitbucket in the first place.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Fisheye connection to Subversion Issue
Asked by Jenin Mohan:

Hi All,

I am upgrading fisheye 2.9.1 to 3.5.4, everything went fine except that fisheye is not able to scan subversion repositories. Some background to the issue:

1) Subversion is on different server but all ports are open and I am able to telnet from fisheye to subversion and vice versa.

2) I am getting below error in the fisheye logs:

Repository paused due to error com.cenqua.fisheye.config.ConfigException: Could not access <http://if4345.kan.ironmountain.com/svn/atl-test/> : org.apache.subversion.javahl.ClientException: svn: E175002: connection refused by the server svn: E175002: PROPFIND request failed on '/svn/atl-test' com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E175002: connection refused by the server svn: E175002: PROPFIND request failed on '/svn/atl-test' org.apache.subversion.javahl.ClientException: svn: E175002: connection refused by the server svn: E175002: PROPFIND request failed on '/svn/atl-test' org.tmatesoft.svn.core.SVNException: svn: E175002: connection refused by the server svn: E175002: PROPFIND request failed on '/svn/atl-test' [java.net](http://java.net).ConnectException: Connection refused  
3) When I am trying jsvn command to find svn repo info I get the below error:  
\[fisheye@if1347 svn\]$ ./jsvn info <http://if4345.kan.ironmountain.com/svn/atl-test>  
svn: E175002: connection refused by the server  
svn: E175002: OPTIONS request failed on '/svn/atl-test'

I have checked everything in fisheye configuration and I am unable to find a valid cause for this issue.

Could anyone please suggest what possibly be going wrong?

Thanks and Regards,

Jenin Mohan


Answers:
author: gustavo_refosco
body: Hi Jenin,

As the jsvn command is failing, it seems this problem is outside FishEye.

Could you please confirm if there is any proxy in front of SVN or FishEye, and also check if there is any firewall in SVN server side that could be blocking access from FishEye?

Regards,

Gustavo Refosco


Tags: fisheye-crucible-administration
How to run a pipeline with conditions, but ignore the conditions?
Asked by Neil Scales:

This is a follow up from this question: <https://community.atlassian.com/t5/Bitbucket-questions/How-does-a-pipeline-with-trigger-conditions-determine-which/qaq-p/2619335>

I have a pipeline with conditions to only build and deploy certain parts of the system if they have changed.

Now I want to redeploy everything, irrespective of if the component or condition has changed.

Is that possible?


Answers:
author: Mark C
body: Hi [@Neil Scales](/t5/user/viewprofilepage/user-id/5437113)  

So that we can investigate this further and find alternatives for you, the best I can suggest is for you to reach out to us by raising a support request using this link. -<https://support.atlassian.com/contact/>  

* Select "Technical issues and bugs"
* Select "Bitbucket"
* Enter your paid workspace ID (e.g. bitbucket.org/workspace_id)

<br />

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Same file repeated mutiple times
Asked by Stig Christensen:

I have set up Fisheye to index all our source code only from the latest revision. When I search the code and go to the "Content" results the same file appears 4 times.

I have tweaked the parameters under "Include/Exclude Paths" several times and started the reindexing.

How do i get rid of the duplicates?


Answers:
author: Stig Christensen
body: Hi, here is a screenshot of 4 repeated files in a search result.

I'm still evaluating the product and this is kind of annoying.

fisheyebug.png  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Same-file-repeated-mutiple-times/qaq-p/217486?attachment-id=9880){#link_115b9f96616835}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/2918/1/fisheyebug.png){#display_115b9f96616835_0}

comments: author: Stig Christensen
body: 1 week before the evaluation period ends. I'd like to present the tool for my colleagues without the doublets. Any suggestions?


Tags: duplicate

index
What causes crucible comments to be hidden?
Asked by Shawn Fox:

I need some help in understanding how crucible decides to hide comments during peer reviews. I find it really irritating that when scrolling through code on the diff view that sometimes comments are hidden. Then I have to move the diff slider around to make them reappear.


Answers:
author: TimP
body: Hi Shawn,

IIRC Crucible will hide comments if they relate to a line(s) of code that aren't visible in the diff you currently selected using the slider.

cheers,

Tim


author: Shawn Fox
body: If that is the only time, then Crucible is defective. Often I see lines of code that are visible but the comments are still hidden.

comments: author: lpater
body: Could you raise a bug (at <https://jira.atlassian.com/browse/CRUC>) with an example diff where that happens and some screenshots?


author: Jeff Davis
body: <https://jira.atlassian.com/browse/CRUC-6082>
Is it possible to hide closed branches in Crucible
Asked by David Hayes:

We have a number of closed branches in Mercurial, is it possible to filter these out of Crucible?


Answers:
author: gustavo_refosco
body: Hi,

I see this question is already answer at <https://answers.atlassian.com/questions/11453589> , so I'm linking it here in case anybody else has the same question and end up here.

Regards,

Gustavo Refosco


Tags: fisheye-crucible-administration
How do I configure a JNDI Datasource for Fisheye using postgres?
Asked by Chad DeShaw:

What config files do I need to change to configure a JNDI datasource for Fisheye using Postgres?

Or a better question is how do I update the driver for postgres in fisheye?

I guess I am confused because the documentation says to just drop the new driver into the lib folder but I also see a dbdrivers\\postgresql folder with older drivers that came with the install of FishEye.


Answers:
author: Chad DeShaw
body: From your answer, there seems to be some confusion about what I was asking, I am just looking for how to configure a JDNI datasource connection to Postgresql for crucible similar to this <https://confluence.atlassian.com/doc/configuring-a-postgresql-datasource-in-apache-tomcat-218272013.html>

I couldn't remember what files I needed to replace and modify.


author: Felipe Kraemer
body: Hi @Chad DeShaw,

Thanks for posting your question!

I had an internal discussion with a developer and it seems that the developers had never used JNDI internally before and he does not know of what was done on the latest version of Crucible to explicitly break this. However, the reason is because it was never tested before to work on JNDI and as the result of that, it's technically unsupported. He also added an alternative method which is to get your database connection via a Java method similar to the one in this [documentation](https://developer.atlassian.com/static/javadoc/activeobjects/0.17.2/reference/com/atlassian/activeobjects/spi/DataSourceProvider.html) to get a connection to the Crucible database.

Hope this information helps!

Kind regards,  
Felipe Kraemer


Tags: fisheye-crucible-administration
Fisheye date column format in Oracle database
Asked by S?bastien Maisonneuve:

Hi all,

I want to query some data in my fisheye schema hosted in an Oracle database. Date columns are stored as number and I want to convert them in date. How can I do that?

Regards,

S?bastien


Answers:
author: Jeff Thomas
body: FishEye stores the dates as the number of milliseconds since January 1, 1970. This query should convert the milliseconds to a date:

```
select to_char(to_date('1970-01-01 00','yyyy-mm-dd hh24') +(cru_create_date)/1000/60/60/24 , 'YYYY-MM-DD HH12:MI:SS am')from cru_review;
```


author: S?bastien Maisonneuve
body: Thanks a lot :smile:
Retired employee in Fisheye - suggested reviewers
Asked by e:

Hello. I still see some of the retired employees in the list of suggested reviewers. How do I make sure I don't see them in that list any more?

Fisheye v.3.3.3


Answers:
author: Piotr Swiecicki
body: Hi e t,

Please ensure your retired employees' accounts are disabled in FishEye, they won't be suggested as reviewers any more.

Hope that helps,

Piotr
Log code review time against JIRA
Asked by Ryan O Sullivan:

I recently upgraded Fisheye and crucible.

Priori t ot he upgrade I was able to log code review time in the code review and this passed back to JIRA. This is now disabled.

has the feature been dropped, if not how to enable it again


Answers:
author: lpater
body: Hi Ryan,

this feature wasn't removed from Crucible and should still be available. Which JIRA and Crucible versions are you using?

Logging time to JIRA issue might be disabled if you don't have time tracking enabled in JIRA, the user doesn't have the permission to track time, or the issue is in a state that doesn't allow time to be tracked. Internally (as of Crucible 3.5), we use the JIRA REST api to check whether work can be logged against the issue (using a call to /rest/api/latest/issue/ISSUE-1?expand=operations, and checking if the result contains an "operations-work" operation)

comments: author: Ryan O Sullivan
body: Time tracking is enabled and used extensively

Using JIRA 6.3.9 and Crucible 3.6.1.

I had to recreate the JIRA fisheye link after upgrade

Users etc hasn't changed nor have theor permissions to the best of my knowledge
What is the section name for the FishEye/Crucible Help dropdown menu?
Asked by Kevin Thies:

I'm trying to add some custom Help links to FishEye/Crucible. I was able to follow the instructions in <https://developer.atlassian.com/display/FECRUDEV/FishEye+Web+Item+Locations> to add a web item to system.header.item (see Figure1), but I want to be able to add web items to the Help dropdown menu (see Figure2). Does anyone know the name of that web section?

Figure1.png

Figure 1 system.header.item

Figure2.png

Figure 2 - What is the name of this web section?

If Atlassian would provide the source for FishEye/Crucible, then I could determine the web section by inspecting the appropriate .xml file. But, as Atlassian states: [Full source is not available due to embedded code Atlassian cannot expose.](https://www.atlassian.com/licensing/fisheye)  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/What-is-the-section-name-for-the-FishEye-Crucible-Help-dropdown/qaq-p/81384?attachment-id=408){#link_115ba032f7d4a0}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/1045/1/Figure1.png){#display_115ba032f7d4a0_0}  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/What-is-the-section-name-for-the-FishEye-Crucible-Help-dropdown/qaq-p/81384?attachment-id=409){#link_115ba032f7d4a0_0}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/1045/2/Figure2.png){#display_115ba032f7d4a0_2}


Answers:
author: TimP
body: Hi Kevin,

I took a look at the source and the help menu doesn't appear to be pluggable at the moment. However, you can add items to the adjacent "cog" menu using the web item location `system.header.admin.local`.

If you really need to augment the help menu, I'd recommend raising an issue in the FishEye project at <https://jira.atlassian.com> to add a pluggable section to it. As a (slightly nasty) fallback you could bind some javascript to the page using a web-resource that dynamically adds a link - but I understand wanting to do it the "right way".

Sorry I couldn't be more help.

cheers,

Tim


Tags: web-item

web-section