youngmon/atlassian-qna huggingface dataset:
Condition changeset steps are not working in pipeline
Asked by Rajnish Kumar:

Hello Team,

I am trying to run a conditional pipeline based on change in particular directory in same repository.

I have below steps in my file and I want if any merge happens in backend related folder then related test script should run and if changes happens in Frontend related folder then also related script should run.

currently no pipeline is getting triggered when I merge some code in BE or FE folder. Thanks !

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


Answers:
author: Rajnish Kumar
body: Thank You Mark for your reply and suggestions, I did the same but still pipeline is not getting triggered if I do change in "./backend/\*\*" or "./frontend/\*\*" sub folders.

my file is in "/backend/tests" when I do some changes and after commit / push, pipeline is not getting triggered, without changeset it's working as expected.

![bitpipe.png](https://community.atlassian.com/t5/image/serverpage/image-id/287215iDDFD78FEBD94683D/image-size/large?v=v2&px=999 "bitpipe.png")

![pipeline.png](https://community.atlassian.com/t5/image/serverpage/image-id/287212i29CA5F3EF597F51A/image-size/large?v=v2&px=999 "pipeline.png")![struct.png](https://community.atlassian.com/t5/image/serverpage/image-id/287214i5A2EFC992B944A21/image-size/large?v=v2&px=999 "struct.png")


author: Mark C
body: Hi [@Rajnish Kumar](/t5/user/viewprofilepage/user-id/5342707),

Welcome to the community.

For your **includePaths** configuration, would it be possible for you to add two asterisks following the documentation below?

```
                includePaths:                  - "./frontend/**"
```

**Reference**:

* [Step options - Condition](https://support.atlassian.com/bitbucket-cloud/docs/step-options/#Condition)
* [Use glob patterns on the Pipelines yaml file](https://support.atlassian.com/bitbucket-cloud/docs/use-glob-patterns-on-the-pipelines-yaml-file/)

Let me know how it goes.  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Failed to clone my repository
Asked by Zhou Hao:

It works fine in my MacBook Pro but always got the following error message in my Mac mini:

> The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
>
> fatal: Could not read from remote repository.
>
I followed the [this](https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-macos/) to generate a ssh key and add to my BitBucket Personal Settings.


Answers:
author: Zhou Hao
body: Fixed. <https://blog.developer.atlassian.com/different-ssh-keys-multiple-bitbucket-accounts/>


Tags: bitbucket-cloud

cloud
Invalid Credential errors on SourceTree
Asked by Helen Xu:

I could not commit any files through SourceTree today. I always got "Invalid Credential" errors whenever I tried to pull or push or do anything on SourceTree. I tried these methods to fix but no luck:

1. Remove password file from \\AppData\\Local\\Atlassian\\SourceTree and do restart-fetch-input password, but still have "Invalid Credential" errors;

2. Update my Bitbucket password and retry on SourceTree but still have "Invalid Credential" errors.

Please help me as soon as possible!


Answers:
author: Patrik S
body: Hello [@Helen Xu](/t5/user/viewprofilepage/user-id/2657802) and welcome to the Community!

From the description of the issue I suspect you are using your account password to authenticate on Sourcetree, and this is likely what is causing the invalid credentials error.

When using basic authentication on Sourcetree (and any other git activity over HTTPS), you need to provide the following as your credentials :

* **Username** : your bitbucket account username (not your email address). You can check the username under [your bitbucket account settings](https://bitbucket.org/account/settings/).  

  AND  

* **App Password** : a "token" that will be used for authentication (it's not the account password you use to log in to the UI). If you haven't already, you can [create a new app password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/)

You can try creating and using an AppPassword in your Sourcetree configuration and let us know how it goes.

Thank you, [@Helen Xu](/t5/user/viewprofilepage/user-id/2657802) !

Patrik S


Tags: bitbucket-cloud

cloud
Bitbucket and Crucible integration
Asked by Nicolas Herbaut:

Hello,

the company I used to work for had atlassian on demand (JIRA/Confluence/Crucible/FishEye+SVN) and I used to be able to perform crucible reviews on the source committed on SVN.

I've selected the same product stack in the new company I work for, but we intend to use git (bitbucket) instead of svn. I've tried to configure crucible with git with no luck (the only integration i've found is with jira using the connector DVCS which lead to issues regarding user account duplicated between jira and bitbucket but that's another story).

I came to the conclusion that I can't use crucible with bitbucket and that my only option is to use built-in pull request from bitbucket, thus cancelling my subscription to fisheye/crucible.

Can you please confirm my conclusion or point me to a tutorial explaining how to achieve what I want?

Thanks

For sake of clarity here's my use case

1. Connect to atlassian on demand

2. select a project

3. click the review tab

4. select a range of commits on my linked bitbucket instance

5. create a code review request

6. send it to my pals.


Answers:
author: Mohammed Davoodi
body: Our organization has written a plugin, [Crucible Review Hook for Bitbucket](https://marketplace.atlassian.com/plugins/com.mohamicorp.bitbucket.plugin.crucible-review-hook/server/overview) to offer Crucible review integration into Bitbucket Server. You can check it out [here](https://marketplace.atlassian.com/plugins/com.mohamicorp.bitbucket.plugin.crucible-review-hook/server/overview). It allows you to automatically create Crucible reviews when creating pull requests, while also blocking Pull Request merges until the Crucible review is approved.


author: aMarcus
body: It sounds as if you are using the OnDemand version of Fisheye/Crucible. This isn't possible in Fisheye/Crucible OnDemand. Please check out <https://studio.atlassian.com/browse/JST-2090> for a very lengthly discussion on this feature request and the direction Atlassian is heading with it.


author: Harry Chan
body: Hi, currently bitbucket cannot integrate with Fisheye/Crucible and I do not believe this will happen in the future.

If you need Git and would like Fisheye/Crucible integration please look at [Stash](http://www.atlassian.com/software/stash/overview) - an Atlassian product for hosting Git repositories.

Here is a blog post detailing how they can be integrated - <http://blogs.atlassian.com/2012/07/linking-your-stash-git-repositories-to-crucible-for-code-reviews/>.


Tags: bitbucket-cloud

cloud

error

git
Fisheye on busybox - libc/private key files issues
Asked by Virgile Bello:

Had no problem installing fisheye on standard linux distribution.

However I get some issues with a limited environment (in this case, synology).

Everything works fine, until I start adding git repository.

I get the following error in log:

```
2012-08-26 12:38:07,243 DEBUG [btpool0-14 ] fisheye.app SshKeyManagerImpl-createPrivateKeyFile - Creating private key '/volume1/@atlassian/application-data/fisheye/data/auth/tmp-h6bl8nij' with prefix: 'tmp'.2012-08-26 12:38:07,245 DEBUG [btpool0-14 ] fisheye.perf ProfilingServletFilter-logRequest - end request POST /fisheye/admin/servlet.gupld sessionid=15inqppupqwo51ahquw7uhpcq32012-08-26 12:38:07,265 ERROR [btpool0-14 ] mortbay.log Slf4jLog-warn - Error for /fisheye/admin/servlet.gupldjava.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native        at com.cenqua.fisheye.util.FileSystemUtils.privatise(FileSystemUtils.java:81)        at com.atlassian.fecru.security.SshKeyManagerImpl.createPrivateKeyFile(SshKeyManagerImpl.java:97)        at com.atlassian.fecru.security.SshKeyManagerImpl.saveKeyPair(SshKeyManagerImpl.java:111)        at com.atlassian.fecru.security.SshKeyManagerImpl.isEncrypted(SshKeyManagerImpl.java:103)        at com.atlassian.fecru.gwt.servlet.GwtSshKeyUploadServlet.executeAction(GwtSshKeyUploadServlet.java:40)        at gwtupload.server.UploadAction.doPost(UploadAction.java:162)
```

Or, in browser, I sometime get an error along the line of:

```
Could not save private key:POSIX c library "c" was not found
```

Of course libc.so.6 exists.

If I could pinpoint the actual binary that has link/startup problem it would be a good first step (I suppose there is a native binary incorrectly loading responsible for this), but if you have any other idea...


Answers:
author: Malik
body: This can be worked around by upgrading the jna that comes with FE 2.8:

[https://answers.atlassian.com/questions/85751/could-not-initialize-class-com-sun-jna-native?page=1#87037](/questions/85751/could-not-initialize-class-com-sun-jna-native?page=1#87037)

comments: author: Virgile Bello
body: works great, thanks!


author: flo schramm
body: what have you done to solve this issue? I get the same error message...

comments: author: Virgile Bello
body: couldn't solve it yet, sorry...


author: nikolay
body: I have the same issue. It all used to work on 2.5!
UTF-8 in a CVS repository is showing as 2 x ASCII characters instead of as 1 x UTF character
Asked by Chris Gray:

Is there any way to get Crucible/Fisheye 2.7.8 to display UTF characters instead of splitting them into two ASCII ones? The repository is in CVS, and the code is in a string (obviously).


Answers:
author: Conor
body: Have you set the charset in your repository definition?

<https://confluence.atlassian.com/display/FISHEYE/CVS>

If you set this to UTF-8 you should see the content as expected.

comments: author: Chris Gray
body: Thanks so much. That did the trick.


Tags: cvs

utf
SVN - importing large 10GB Compressed Dump file
Asked by Darrin Fischer:

I am trying to upload a 10GB compressed Dump file. But the documentation says only 2GB is limit. How do I upload a bigger file. The resulting repository will be about 15GB.


Answers:
author: PauloP
body: Hi Darrin

As you can see in the following links, there's a 4GB limitation in an Atlassian Ondemand Environment. However, there are workarounds for it:

1. About WEBDAV limit \> <https://confluence.atlassian.com/display/AOD/Uploading+Data+via+WebDAV>

2 . Workaround options \> <https://confluence.atlassian.com/display/AOD/Uploading+Data+via+WebDAV?focusedCommentId=275186530#comment-275186530>

Anyway, I believe that raising a new ticket at <https://support.atlassian.com> will be required.

Cheers,

Paulo Renato


Tags: cloud

fisheye-crucible-svn-ondemand
How do we do reviews before committing?
Asked by Bernard O'Flynn:

I know you can do patch reviews in Crucible. However we've found that you can't load another patch file into the same review and keep a diff of the files?

e.g. create review with patch file. Comments are added to fix things. Fixes are done. New patch file generated. Crucible then doesn't show a rolling diff with the files and the comments. So the follow up review is much harder as all the context from the previous review is lost?

Are we doing something wrong? Is there a better way to do this?


Answers:
author: Sergey Svishchev
body: Until Atlassian implements [https://jira.atlassian.com/browse/CRUC-2998](https://jira.atlassian.com/browse/CRUC-2998,), there's not a lot you can do...
Can I and how connect Crucible with GitHub account?
Asked by Bartosz Rychlicki:

Hello, I want to make code reviews in my projects with Crucible.

We have our repository on GitHub. Can I connect it somehow?

BTW: when I use "Link Bitbucket or GitHub account" it redirects me to github where I authorized the app, after that im redirected to Jira main page and nothing chage... Maybe some bug?

Steps:

1) <http://d.pr/i/cpTq>

2) <http://d.pr/i/P0ni> (clicked allow)

3) And Im on JIRA dashboard <http://d.pr/i/ob4R>

4) Nothing changed here http://d.pr/i/TfY6


Answers:
author: aMarcus
body: This isn't possible in Fisheye/Crucible OnDemand. Please check out <https://studio.atlassian.com/browse/JST-2090> for a very lengthly discussion on this feature request and the direction Atlassian is heading with it.


Tags: cloud

fisheye-crucible-svn-ondemand
How do I switch my Fisheye from SVN to GIT?
Asked by Anton Polski:

I am trying to set up my Fisheye to work with GIT but it seems like SVN is default. What do I do?


Answers:
author: LeonardoL
body: Hi Anton,

FishEye does support GIT and others VCS's like Mercurial and Perforce as you can see at our Supported Platforms session. Could you describe the steps you're using to add your repository? I'm asking that because at FishEye Administration -\> Repositories, when you're adding a repo the system asks you what kind of repository it is and then you can choose if it's P4, mercurial, git, svn...

Cheers,

Leonardo.

comments: author: Anton Polski
body: How do I get to the menu that you are describing? I am so lost with the administration options of your product. I am about to give up.


author: LeonardoL
body: Hi Anton,

We have a complete documentation about all configurations and features inside our [Knowledge Base home](https://confluence.atlassian.com/display/FISHEYE/FishEye+Documentation+Home) please take some time to look at it. More specifically about Adding an External Repository please take a look at [this article](https://confluence.atlassian.com/display/FISHEYE/Adding+an+External+Repository). And remeber to access FishEye Administration you just have to access [http://your-fisheye-address:8060/admin](http://your-fisheye-addree:8060/admin)

I hope this could help you.

Cheers,

Leonardo.


Tags: cloud

fisheye-crucible-svn-ondemand
Error during initial repository indexing
Asked by Brad Lynch:

During initial indexing we receive the following error about 1/2 way through our commits:

Repository paused due to error com.cenqua.fisheye.rep.DbException: Problem getting diff information for rev21414 com.cenqua.fisheye.svn.diff.SvnDiffException: Exception processing diff for revision 21414 com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: connection refused by the server org.tigris.subversion.javahl.ClientException: svn: connection refused by the server org.tmatesoft.svn.core.SVNException: svn: connection refused by the server java.net.ConnectException: Connection refused

This commit is likely an large tree of files. I am currently re-indexing with diff turned off.


Answers:
author: Harry Chan
body: It looks like Fisheye is creating too many connections. You'd need to limit the number of connections. Refer to this [knowledgebase article](https://confluence.atlassian.com/pages/viewpage.action?pageId=299569396) on how to fix it.

Cheers,


Tags: index
Can I download a file in a Crucible review?
Asked by Brent Villalobos:

Sometimes, when looking at a file in Crucible, I want to have a copy of the particular file locally. For example, maybe I want to look at the code in my own editor instead of the Crucible web UI. Or maybe I want to run the file (if it's a script) locally to test some piece of functionality. However, I don't see an option to download a file from the Crucible web UI. Does that functionality exist and I just don't see the menu item for it?

Other code review services like SmartBear have that functionality and it seems like something that isn't too advanced.


Answers:
author: LeonardoL
body: Hi Brent,

I believe you can refer to [this document](https://confluence.atlassian.com/display/CRUCIBLE/Browsing+Source+Files). There you'll find how to download files.

I hope this could help you.

Cheers,

Leonardo

comments: author: Brent Villalobos
body: I should have added that this is a standalone version of Crucible, no Fisheye.


author: LeonardoL
body: Hi Brent,

I believe this feature is only available when integrated with FishEye once I've installed a local standalone Crucible instance for test purposes and there's no "download raw file" option.

Cheers,

Leonardo.
Fisheye application links to Jira are getting disappeared
Asked by Elango Senthilnathan:

Dear Fisheye AdminsIn our organization, we have linked Fisheye to SVN \& Jira. At times, for no reason, the Application links to Jira are getting disappeared. I have tried to find a reason, but it looks like a random behaviour. Some times the 'Application Link' stays intact, but for each of the Jira project the links are broken.Once it happened, I could figure out the problem and it was due to the issue that SVN timeout. Your blogs have suggested to increase the timeout factor or set up a svnsync mirror repo. But I have not done that and this again is a one-off case.I would like to find a permanent solution to these problems (where an application - fisheye- restart fixes the problem for me).-Elango


Answers:
author: CelsoA
body: Hi there?

Which FishEye version are you using?

And which type of application link are configured?

Are you using some user directory?

Please give me more details so I can try helping you solve this issue.

Regards,
Reduce log verboseness/size
Asked by fernandomm:

Hi,

How can i reduce Fisheye's log verboseness? It fills in my HD every 2 weeks. Sample files:

-rw-r--r-- 1 root root 2,9G Ago 20 14:29 fisheye-debug-2012-08-20.log

-rw-r--r-- 1 root root 5,9G Ago 20 14:28 fisheye.out

-rw-r--r-- 1 root root 3,0G Ago 20 14:27 fisheye-error-2012-08-20.log

Not sure if i turned on something in the past, but those logs use lots of space.

Thanks.


Answers:
author: Tom Davies
body: It's worth looking at the contents of the error log to see why it is getting so full -- you may have an intermittent connectivity problem to one of your repositories, or a repository pointing at a source which is no longer there.


author: LeonardoL
body: Hi Fernandomm,

I'm not sure if it's recommended to change loglevel but it's possible to change FishEye logs destination folder by editing log4j file located at FishEye home folder. Here an article where you can find more information about how to do that:

<https://confluence.atlassian.com/display/FISHKB/Changing+Fecru+logs+destination+folder>

One question: Have you tried to contact Atlassian Support to investigate your logs? Sometimes some error or misbehavior is causing the increase of the stack trace quantity. Remember you can contact Atlassian Support at <support.atlassian.com>.

Cheers,

Leonardo.
How do I hide annotations when reviewing source code in Crucible?
Asked by OmairM:

![](../../../upfiles/crucible_annotations.png)

![](../../../upfiles/crucible_settings.png)


Answers:
author: John Werner
body: If you are talking about removing the columns in the red rectangle you drew, it is quite easy. Click on "Prefs" (slightly left of middle in the image you provided), then uncheck "Author" and "Revision".
Adding one SVN repository to another
Asked by Justin Fackrell:

We already have 1 project SVN hosted by Atlassian. We have another project, currently hosted by another online SVN provider, and we want to move it over to Atlassian as a new project (i.e. so we can control access separately for the 2 projects). Is this possible?


Answers:
author: Grunde Waag
body: Merging the two repos locally. Does that just mean using "svnadmin load"?

[Adding one SVN repository to another](adding-one-svn-repository-to-another/78367)


author: Norman Abramovitz
body: If you do not need the previous repo's history (ie your reference about "as a new project"), it should be as simple as create a new top level directory in atlassian repo and locally. Then copy over your tree structure from the older repo. Then do an add, commit sequence just like if you were adding new files.


author: Bastiaan Jansen
body: Yes this is possible Justin. In order to do this I suggest the following.

* First generate a local mirror of your Atlassian hosted SVN repo using [this procedure](https://confluence.atlassian.com/display/AOD/Exporting+source+code)
* Create a dump of your other SVN repo
* Merge the two repo's locally
* Generate full dump of the merged SVN repo
* Import this dump using the [OnDemand svn import tool](https://confluence.atlassian.com/display/AOD/Importing+Versioned+Data+into+Subversion#ImportingVersionedDataintoSubversion-4.ImportingtheSVNDumpFiletoAtlassianOnDemand)

Hope this helps.


Tags: cloud

fisheye-crucible-svn-ondemand
About install eclipse connector for Crucible
Asked by linqiang:

![](../../../upfiles/73f466a452136a7a07547a8d3df6415.png)![](../../upfiles/d2c7df291f6fc3ed9386d3206747330.png)![](../../upfiles/d4a5f6d2.bmp.bmp)I hava installed the fisheye and crucible for developers to do code review;

for the advantage of JAVA IDE, i do as the below url:

<https://confluence.atlassian.com/display/IDEPLUGIN/Installing+the+Eclipse+Connector>

but i have only "atlassian connector" in the screen of "availabe software" and no "atlassian fisheye and crucible integration";

without above, i cannot create code review in ECLIPSE IDE in the team context menu, that is :

NO submenu of "CREATE REVIEW and ADD to Active REVIEW "

How should I do?


Answers:
author: jjaroczynski
body: Hi,

The Atlassian Connector for Eclipse since version 3.0 does not contain integration with Crucible and there is no possibility to create reviews. See following for the background: <http://blogs.atlassian.com/2011/02/atlassian_ide_connector_30/>

You can still try version 2.3 but it will not work with JIRA5.0+

<https://confluence.atlassian.com/display/IDEPLUGIN/Installing+the+Eclipse+Connector#InstallingtheEclipseConnector-InstallingaPreviousVersion>

Cheers,  
Jacek

comments: author: linqiang
body: thank you very much.


Tags: eclipse
Oracle 11.2.0.3 support with Crucible 2.6.0
Asked by Abhishek Bhatt:

We are running Crucible 2.6.0 with Oracle as the database 11.2.0.2. We need to upgrade Oracle DB from 11.2.0.2 to 11.2.0.3 to apply some security patches.

Please update us whether Atlassian Crucible supports Oracle 11.2.0.3 DB.


Answers:
author: JohnA
body: Hi Abhishek,

I can confirm that Crucible v2.6 supports Oracle 11 databases and I wasn't able to find any bug reports related to that version, so you shouldn't have any problems with your upgrade: <https://confluence.atlassian.com/display/CRUCIBLE026/Supported+Platforms>

All the best,  
John
Securing JIRA SVN Source Code Repository
Asked by Sutikshan Dubey:

Hi Team,

I want to secure my JIRA Source code repository to work from my own network only. or from machines in my company only. To state precisely:-

To allow user to use Getting latest and commit from chosen machines only.


Answers:
author: Felipe Cuozzo
body: Please read the following important announcement:

[End of Service Announcement for Subversion and FishEye/Crucible in OnDemand](http://go-dvcs.atlassian.com/display/EOL/Source+Review+Bundle+End+of+Service)

Please direct your questions to this question:

[Subversion, FishEye/Crucible (the Source + Review Bundle) on OnDemand End of Service](/questions/95199/subversion-fisheye-crucible-the-source-review-bundle-on-ondemand-end-of-service)


author: JohnA
body: Hi Sutikshan,

I'm sorry to say that we don't permit whitelisting of IPs for OnDemand instances because this is one of the restrictions of the OnDemand platform: <https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>

Therefore if you want to implement an extra level of security by whitelisting IP addresses then you will need to install the "behind the firewall" versions of our products, (i.e. self-hosted), rather than the "in the cloud", (Atlassian-hosted), instances that you are currently running OnDemand.

All the best,  
John


Tags: cloud

fisheye-crucible-svn-ondemand