youngmon/atlassian-qna huggingface dataset:
Question about Backup Policy
Asked by Jonathan Hearn:

Regarding backups, [this](https://confluence.atlassian.com/bbkb/does-bitbucket-backup-my-repositories-1168845079.html) page includes the following information:

"Snapshot backups are generated hourly and retained for 30 days to allow for point-in-time data restoration. Snapshots are encrypted at rest, and our platform service performs periodic automated tests of backup integrity. The Support team can help recover core repository content only, as long as the deletion happened within the last 7 days. We are unable to recover metadata or any content that was deleted past 7 days."

This seems confusing/contradictory to me. Can someone explain under which conditions data can only be retrieved up to 7 days after deletion, and under which conditions that time period is 30 days?


Answers:
author: Mark C
body: Hi [@Jonathan Hearn](/t5/user/viewprofilepage/user-id/5295219),

Welcome to the community.

We take daily snapshots of your data. We retain these snapshots on our primary systems, replicate them to an offsite Data Center, and maintain them in both locations for seven days.  
I would like to clarify in that article, the snapshots we keep for 30 days are for disaster recovery only to prevent any issues from our side with regard to data integrity.  
Having said that, we're only limited to a 7-day window for repository core data restorations.

Alternatively, you can also perform your own backup as mentioned in this article: [Backup GIT repositories](https://confluence.atlassian.com/bbkb/backup-git-repositories-1272284206.html)

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Won't run merge check pipeline
Asked by Joshua:

Below is a snapshot of my \`bitbucket-pipelines.yml\` file. I'm trying to run a gate prior merging into main.

However, this will not run. (My trunk is \`main\`, but I've also tried with \`master\`.) What gives?

\`\`\`yml  
definitions:  
steps:  
- step: \&test-ci  
name: Run unit tests (linting - warnings allowed)  
script:  
- yarn install  
- yarn lint:ci  
- yarn test:ci  
- step: \&test-merge  
name: Run unit tests (linting - warnings not allowed)  
script:  
- yarn install  
- yarn lint:clean  
- yarn test:ci  
pipelines:  
pull-requests:  
main:  
- step: \*test-merge  
branches:  
main:  
- step: \*test-merge  
"\*\*":  
- step: \*test-ci  
\`\`\`


Answers:
author: Joshua
body: Sadly, this was answered here: <https://stackoverflow.com/questions/55019205/how-to-run-pipeline-only-on-pull-request-to-master-branch>

Definitely, not the "gate" I was looking for to protect the main branch.


author: Saxea _Flowie_
body: [@Joshua](/t5/user/viewprofilepage/user-id/5295361) We're currently working on a feature that enables more granular triggering of pipelines in [Flowie](https://flowie.app/?utm_source=atlas-community&utm_medium=trigger-pipelines). If you're interested in giving it an early trial, please get in touch via the website.

That being said, I believe you might be able to achieve your goal without this feature. Have you considered running 'lint:clean' on pull requests and have a 'build passing' check? This would only allow a merge to 'master' when linting is clean, which is what you seem to be aiming for.

comments: author: Joshua
body: I'm needing more than just lint:clean. There are actually a number of tests that I need to run, including Cypress for integration testing. I'm definitely interested in your product, as it has other features that, unfortunately Bitbucket does not. (It's hard coming from more mature CI tools like Azure DevOps and Circle CI.)


author: Joshua
body: And, BTW, what you're suggesting, is what I'm *trying* to do. But, I want to have certain pipelines run depending on which branch you are attempting to merge *into*, not from the branch you are merging from (which, is apparently how Bitbucket is designed). :(


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Login Error Bitbucket Account
Asked by ayhan:

i am getting following error when login to bit bucket account.

"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."

Thanks


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

The Bitbucket Cloud account with the same email as your community account was deactivated, which is the reason for the error you were seeing.

I went ahead and reactivated it, could you please try to log in when you have time and let me know if it works now?

Kind regards,  
Theodora

comments: author: ayhan
body: Hi Theodora,

Thank you for your help, it works :)

Regards,

Ayhan


author: Theodora Boudale
body: Hi Ayhan,

You are very welcome, I'm glad this is resolved! Please feel free to reach out if you ever need anything else!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Recover deleted Bitbucket Workspace
Asked by Diogo Soure:

Greetings,

After an unfortunate turn of events I got my Bitbucket Workspace deleted and all its associated repositories. This happened around July of this year (2023). Is there any way to recover them? I do not have a local copy of the source code.

Best regards


Answers:
author: Theodora Boudale
body: Hi [@Diogo Soure](/t5/user/viewprofilepage/user-id/5295154) and welcome to the community.

I'm afraid that this is not possible. If a repository is deleted by an admin, the support team can help recover core repository content only, as long as the deletion happened within the last 7 days. We are unable to recover metadata or any content that was deleted past 7 days.

You can see our policy here:

* <https://confluence.atlassian.com/bbkb/does-bitbucket-backup-my-repositories-1168845079.html>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Notifications of new versions of branches
Asked by ???????:

Hi everybody.

in bitbucket, you need to set up an alert when a new version of a branch is released, for example: "new_v_1_1", "new_v_1_2" and so on, only branches with the name "new_...." are interested in the output of the rest of the alerts are not needed, how to do this?


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

In Bitbucket Cloud you can set up notifications for new commits to the repository if you open the repo's **Source** page \> select the three dots close to the top right corner \>\> **Manage notifications**. Please keep in mind that you won't get notifications for commits you pushed yourself. Are these the notifications you are referring to?

If so, I'm afraid that it is not possible to set these notifications for specific branches only. We have a feature request about this in our issue tracker: <https://jira.atlassian.com/browse/BCLOUD-21121> The request has been closed as it is not likely to be worked on in the near future. However, you can leave a comment there and add your feedback, as product managers continue to monitor even closed requests.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Commit to bitbucket from Jira issues
Asked by SandeepSingh R:

Hello Folks,

I just need to understand, once i permit Bitbucket to Jira, create issues, create repos, create branches, linking the issues to branches, how can I directly commit from JIRA


Answers:
author: Theodora Boudale
body: Hi [@SandeepSingh R](/t5/user/viewprofilepage/user-id/5269410),

If you integrate Bitbucket Cloud with Jira Cloud, then you can:

* [create Jira issues from Bitbucket with a pull request](https://support.atlassian.com/bitbucket-cloud/docs/create-a-jira-issue-within-a-pull-request/)
* create a branch from a Jira issue (you will see a link **Create branch** in a Jira issue's **Development** panel)
* link issues to branches: you can include the Jira issue key in the name of a branch in order to link them
* use [smart commits](https://support.atlassian.com/bitbucket-cloud/docs/use-smart-commits/)

Creating a repo from Jira is not possible and neither is committing from Jira.

You can do simple commits from the Bitbucket Cloud website, like editing and committing a certain file or adding and committing a new file. These operations are limited to one file only. If you want to commit multiple files or commit file deletions, these operations need to be done locally in a clone.

Jira does not host your Git reposirories, it doesn't have a clone of your repo to allow you to commit. Even the 'Create branch' option redirects you to the Bitbucket Cloud website to create a branch.

Could you please share some more details about your workflow and what exactly you are looking to commit?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

jira-software
how to ignore file bitbucket-pipelines.yml when push or pull code
Asked by Huy Pham:

i want to ignore file bitbucket-pipelines.yml when push or pull code.

I have added the command line to .gitignore but it doesn't seem to be executing

![Screenshot 2023-08-17 at 16.34.58.png](/t5/image/serverpage/image-id/275697i13502A6D76D66E8F/image-size/large?v=v2&px=999 "Screenshot 2023-08-17 at 16.34.58.png")


Answers:
author: Syahrul
body: G'day [@Huy Pham](/t5/user/viewprofilepage/user-id/5294794) and welcome to the community.

I am just checking if the bitbucket-pipeline.yml is tracked or not. Because if it's tracked, then gitignore will not work.

That said, do check our guide on gitignore below under ignoring previously committed files if the yml was created earlier:

<https://www.atlassian.com/git/tutorials/saving-changes/gitignore>

Let me know if you have any questions.

Regards,  
syahrul


Tags: bitbucket-cloud

cloud
How to exclude some files and subdirectories from Pipelines cache
Asked by Sayo Oladeji:

I would like to cache the \`target\` (output) directory of a Maven build in Pipelines but I would like to exclude the \`target/failsafe-reports\` and \`target/surefire-reports\` subdirectories. How can I achieve that?


Answers:
author: Ben
body: Hi Sayo,

Unfortunately - there's no formal way of excluding certain files/folders from caches in Pipelines. Rather than excluding files/folders, you could specify which folders/files you wished to include and just choose to not include any that you do not wish to be cached.

Is this feasible for what you wish to achieve?

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Sayo Oladeji
body: Hi Ben,

Thanks for the answer. Can I do that under a single cache declaration? Something like this:  

\`\`\`  
my-cache:  
- path/1

- path/2  
\`\`\`

Right now the recommended way of caching multiple folders is to declare multiple caches but that's slow since the caches are fetched and decompressed sequentially.


author: Ben
body: Hi [@Sayo Oladeji](/t5/user/viewprofilepage/user-id/376180)

Can you try define multiple folders like this and let me know how it goes? You will need to run it at least twice for the cache to get created:  

```
path: ./folder1 && ./folder2
```

Cheers!

- Ben (Bitbucket Cloud Support)


author: stauvel
body: hello

With Maven 3.9+ you should use Maven Build Cache plugin for this : <https://maven.apache.org/extensions/maven-build-cache-extension/>


Tags: bitbucket-cloud

cloud
How to exclude some of the SVN commits appearing in the commit list shown in source tab
Asked by J P V Naayana J P V Naayana:

A new folder committed in SVN puts pending review request in the Crucible Source Tab.

There is no need for review of folder addition, we need only files required to be listed for review. Is there any option setting to exclude folder commits in SVN not to appear in Crucible. Am using Crucible with Fish Eye.

Regards

JP


Answers:
author: Anna Buttfield
body: Hi J P,

No, there's currently no way to exclude directories in this way. Feel free to raise a feature request in our JIRA instance: [https://jira.atlassian.com/browse/FE](https://jira.atlassian.com/browse/FE%20).

Anna
Dragon Quest Stage 4 Step 2 - Link FishEye with JIRA
Asked by sharbauer:

Hi, I'm stucked in the dragon quest and hopefully someone chould help me.

As I try to link FishEye with JIRA (during the setup wizard), I get the following error and warnings in the log:

WARN - Failed trusted applications authentication attempt:APP_UNKNOWN; Unknown Application: {0}; \["jira:7277048"\]

INFO - Rolled back connection attempt to JIRA

ERROR - Failed to register FishEye configuration in JIRA for shared user management. Received: 404 Not Found

But the JIRA connection seams to work, because after this I find in JIRA a FishEye configuration. Does somebody know how to get through this successfully?


Answers:
author: sharbauer
body: Ok, I just found the problem. An update of the Fisheye plugin in JIRA solved the problem.


author: Thomas Krug
body: Did you set up trusted communication with jira in fisheye?


Tags: integration
Can fisheye parse and index word files
Asked by Sagar Dhedia:

Hi,

I have some word files saved in my svn repository.I want to search the file based on contents of files.

Does fisheye parses and indexes word files.If not,can someone suggest a method by which this can be done so that I can search the files based on its contents.

Thanks,

Sagar


Answers:
author: Renjith Pillai
body: Use an svn hook or crontav to convert the committed word contents to text (use some perl script) and commit that into the same path with a different file name.

Fisheye will automatically parse that.

comments: author: JamieA
body: For some reason I dislike this idea intensely. Vote for [https://jira.atlassian.com/browse/FE-659.\</p\<\>\>](https://jira.atlassian.com/browse/FE-659.%3C/p)


author: Renjith Pillai
body: Voted, but till this feature gets implemented, we need some workarounds ;)


author: Sagar Dhedia
body: Thanks Renjith will try this.


author: Renjith Pillai
body: Up vote ;)
who has clearcase working with fisheyes?
Asked by Will Wegener:

Does anyone have clearcase working with fisheyes? and would you be willing to share your configuration?


Answers:
author: Dana Frost
body: I now have it working with UCM clearcase.

Issues:

* You can't filter reults by branch/stream.
* If set up multiple (per-project) repos in FishEye you can't compare between project.
* Because the stream paths are long, its not that elegent looking.

I wrote a ratperl script (JiraMakeAct.pl) which will give the ClaerCase user a list of their assigned JIRA tickets for the stream they are working on and it will create the activity with the proper name/header/title for FishEye. This is very handy for developers. I also wrote a hook to prevent the use of standard mkact (other than rebase/deliver) to make sure they use JiraMakeAct.pl

Overall, it works reasonable well as a replacement for CC/CQ integration. And even though the intra-branch diffs are a bit hard to set up, they still have ClearCase for that. But all the source shows up in JIRA which was the goal.

We plan to migrate from ClearCase next, so its only an interum solution. If anyone thinks they can use these pieces, let me know and I can post them somewhere.


author: Martin Barrs
body: Basic CC or UCM? Post you config and lets have a look.


author: Dana Frost
body: I am in the process of setting it up. Works reasonable well but I just opened a question on linking Source with Jira.


author: JohnA
body: I don't have a configuration to share with you, but you can check out the official Atlassian documentation about [how to setup Fisheye with Clearcase](http://confluence.atlassian.com/display/FISHEYE/ClearCase). However, please be aware that on **April 4th 2012** , Atlassian is ending FishEye support for IBM ClearCase. For more information on this decision please see [End of Support Announcement for IBM ClearCase](http://confluence.atlassian.com/display/FISHEYE/End+of+Support+Announcement+for+IBM+ClearCase "End of Support Announcement for IBM ClearCase")

comments: author: JamieA
body: Wow, you only added that in recently. Bit of a misinvestment eh...


Tags: clearcase
Clearcase files
Asked by Will Wegener:

So I have fisheyes running on rhel, I can see my vob and I have branch selected.

How can I get fisheyes to display my files in the vob?


Answers:
author: Martin Barrs
body: Cleartool will allow you to see p/vobs without necessarily having the privileges to pull the files or history.  

You will be able to see this by viewing the repo's progress - the *cleartool* commands will be completing very quickly.  

If this is the case, the user you are running fisheye as will need to be made a member of the group that does have privileges to pull down the CC files: As root or sudo, update the user and add it to the appropriate CC group and try again.  

<br />


author: sangram sangram
body: Is this waht you asking :<http://confluence.atlassian.com/display/FISHEYE/ClearCase> ?


author: Will Wegener
body: Does anyone know how to setcs with in fisheyes?


Tags: clearcase
Subversion history on branch not visible
Asked by Christopher Green:

I have taken a copy of my subversion trunk repositoy and named it 'branch'. When looking at commits on the branch Fisheye only displays the comment made when the branch was created and not all the comments made on the trunk.

In the subversion repo browser I have to turn off the 'stop on copy rename' check box to reveal the history of comments made on the trunk - how do i achieve similar functionality in Fisheye?

Many thanks for any advice you may have


Answers:
author: jhinch _Atlassian_
body: My understanding of our question is that you want FishEye to show the list of commits made on that branch as well as its parent branch(s). In your case this is trunk.

You can use the new [Commit Graph](http://blogs.atlassian.com/devtools/2011/06/fisheye-crucible-26-commit-graph.html) which is part of FishEye 2.6 to view trunk and you're branch side by side and get the aggregated list of commits
Can the Author incorporate the reviewer feedback directly in Crucible interface
Asked by J P V Naayana J P V Naayana:

How can author modify the content of the file directly in crucible interface to incorporte the review points and close the review cycle. Once the reviewer accept the author feedback and mark the review process as complete, Commit the changes to source file to the repository.


Answers:
author: seb
body: There is no way that a user can live edit changes in the Crucible ui and have them committed to the source repository backing Crucible.

The author can make changes to the source as per their usual development workflow, commit the changes and add those iteratively to the review (click on Edit Review \> Add Content). These new changes will be added ontop of the existing Crucible review and will allow the review participants to review the new changes.
Fisheye not getting all revisions from SVN hosted at Codesion
Asked by logiformscore:

I've had fisheye installed for a few days now and I've restarted it several times. I set up a SVN repo (hosted at <http://codesion.com/>) and it connects okay but for days has been stuck on "getting difs" or "Created changeset 1" and the status has been 'scanning' for days. The source only shows the very first check-in ever done and it hasn't been able to get anything more recent.

What should I look for to fix this?


Answers:
author: JamieA
body: Try creating a local clone of the repo using svnsync or svnadmin dump and load. Then have fisheye scan it using the file:// protocol, when it's up to date you can switch back to the remote repo.

But "scanning for days" is pretty much standard fisheye behaviour in my experience, particularly if you have many tags/branches.


author: Nic Brough -Adaptavist-
body: How big is the repo, and how roughly how many revisions are there?

comments: author: Nic Brough -Adaptavist-
body: As an update, my current client has just decided to drop Fisheye. Whilst we love what it does, it simply doesn't scale on large repositories and hence is functionally useless to us. FWIW, the repo that is the problem for us is around 75Gb and it started to struggle when we hit 200,000 revisions. With 350,000 revisions it because unusable, and although Atlassian took an interest, they have not been able to fix it.

If you have a large number of revisions in your repo, I hate to say it, but you might need to look elsewhere.
Git repo Indexing is timing out
Asked by Jonathan Goldberg:

We are trying to evaluate fisheye and crucible but we are unable to index our main repo.

We don't really care about the history from 3 years ago that this repo has, but we care more about the ongoing commits so we can use it for code review.

Is there any way to configure the scan in such a way?

Thanks,

Jonathan

This is the error that we are getting:

Repository index failed due to error com.cenqua.fisheye.rep.RepositoryClientException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: com.atlassian.utils.process.ProcessException: While executing: "git whatchanged --always --reverse --date-order -m --no-abbrev --no-renames ad682c58f5f140a5c195abeba47a1b8027cc3e0b..066bda4d282b8bc9bdd59f4b7124dced81dba5ce --pretty=format:C:%H%nP:%P%nA:%aN%nE:%aE%nR:%cN%nF:%cE%nD:%at%nS:%s%nB:%b%n@@fe_body_end@@ " com.atlassian.utils.process.ProcessTimeoutException: process timed out

<br />


Answers:
author: Gurleen Anand _Atlassian_
body: Hi Jonathan,

The error indicates that the process is timing out before being able to complete the command:

"git whatchanged --always --reverse --date-order -m --no-abbrev --no-renames ad682c58f5f140a5c195abeba47a1b8027cc3e0b..066bda4d282b8bc9bdd59f4b7124dced81dba5ce --pretty=format:C:%H%nP:%P%nA:%aN%nE:%aE%nR:%cN%nF:%cE%nD:%at%nS:%s%nB:%b%n@@fe_body_end@@ "

Please check how long this command takes to complete via the command line and increase the value of the "Command Timeout" property for your Git repository:

<http://confluence.atlassian.com/display/FISHEYE/Git>

The default is "1hour".

If the problem persists, please contact Atlassian Support: <https://support.atlassian.com> for further investigation.

Thanks,

Gurleen
File Outdated not displayed
Asked by J P V Naayana J P V Naayana:

When file system used as crucible repository. Changes to source files not showing any indication of File Outdated in the code review window.

Is the feature of File Outdated not supported for File System based repository?


Answers:
author: seb
body: Filesystems do not have a concept of versioning. When you configure Crucible to point to a filesystem, it can only ever read the "current state" of the files.
How Code Review comments Incorporation status visible to reviewer?
Asked by J P V Naayana J P V Naayana:

I have set up Crucible standalone with filesystem as repository

Added the project, repository and created review request.

Code review request raised by the Author.

Reviewer provides inline comments

Author incorporates the review comments in the source file available in the file share

Replies against the reviewer comments that Review Points Incorporated.

The source code changes are not visbile to the reviewer. Still the original code is visible with responses from the author

How does reviewer sure of the comments are implemented correctly ?

What needs to be done to have visibility of code change to the reviewer subsequent author response.


Answers:
author: Chris Coleman
body: Working on my project at [RVTalk.net](https://www.rvtalk.net/) and having the same questions.


author: seb
body: There is no way of seeing changes to files when Crucible is backed by the filesystem. The filesystem does not have a concept of versioning files. If you are interested in seeing diffs, then you should be using a [source control repository](http://en.wikipedia.org/wiki/Revision_control) which Crucible can then index. Please see our [supported platforms](http://confluence.atlassian.com/display/CRUCIBLE/Supported+Platforms) documentation page.

comments: author: CHARLES MURWA
body: <https://carfromjapan.com/campaign/car-from-japan-free-car-giveaway-2018?refer=5be536c9da03665b31d0acda>