youngmon/atlassian-qna huggingface dataset:
Cruicible seems to assume that I'm the author when I create a review - how do I create a review for someone else's code?
Asked by J Stark:

*This question is in reference to Atlassian Documentation: [Creating a review](https://confluence.atlassian.com/pages/viewpage.action?pageId=298977457)*

Ask your question here...


Answers:
author: gustavo_refosco
body: Hi John,

The 'Author' Role you see in the review actually refers to the creator of the review, not the committer of the code, and this will always be the person creating the review. The authors of the lines committed can actually be seen in one of the columns presented when viewing the source code within a review.

You can, still, edit the review to change its Author, if you wish. For this, a user must have proper permissions for editing a review (the permissions on a Crucible project are controlled by the [Permission Schemes](https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+permission+scheme)). A user with such permission can click on "Edit Details" in a review, and then edit the field "Author", selecting a different user.

Regards,

Gustavo Refosco

comments: author: J Stark
body: It was not obvious to me that the author could be changed since it appears as a static field in the edit details pane. But now I see that clicking on it opens an drop-list-edit field.

Thanks


Tags: review
Is it possible to notify committer/author by email for review activity which do not have fisheye/crucible access ?
Asked by chintan thakar:

Let's take a scenario :

There are three fisheye/crucible users, one is moderator, one is reviewer and one is author/committer. I have set up code review with every check-in by [reviewcreator](https://marketplace.atlassian.com/plugins/com.atlassian.plugins.reviewcreator/server/overview) plugin.

Now if someone(Let's say it xyz) which is having repository access to commit but DO NOT have fisheye/crucible account.will they able to get updates on code review activity/comments by reviewer ? If possible than how ?

Thank you!

Regards,

Chintan Thakar


Answers:
author: Grzegorz Lewandowski
body: Hi, you can share review/changeset/repository via *Share* button (take a look at *Manual Reminders* section in [this](https://confluence.atlassian.com/display/CRUCIBLE/Using+Review+Reminders)doc page) manually. However, Crucible will send email notifications about Review updates only to Crucible users, you can't tell it to send them automatically to any arbitrary email.

comments: author: chintan thakar
body: Hi @Grzegorz Lewandowski

Thank you so much for your suggestion. Do we achive this by writing plugin ? Like whenerver review comment has been added by reviewer/moderator the email notfication will be sent to one group alias email address like [bss.dev@elitecore.com](mailto:bss.dev@elitecore.com) . Is there any sample code for this kind of plugin or document. It will be very helpful.

Thank you so much


author: Grzegorz Lewandowski
body: I think this should be possible by writing your own plugin. You'd have to create `EventListener` which listens to any *Event* which belongs to `com.atlassian.crucible.event (depending on your needs).`

You should be able to send emails from Fisheye\&Crucible by using `com.atlassian.fisheye.spi.services.MailService` component.

Regarding documentation, there's none directly tailored to your needs but Fisheye\&Crucible has general objective tutorial how to write plugins (which contains section about writing *EventListeners*)

You can find it [here](https://developer.atlassian.com/fecrudev/fisheye-and-crucible-plugin-guide)


Tags: code-review
Crucible: "user with that name already exists"...except that it doesn't
Asked by GLENN MAYER:

We are running Crucible/Fisheye 4.1.1, and our authentication is delegated to LDAP, using several different user directories. This is working pretty well, but we have some users who try to sign in (at which point Crucible should copy the user from LDAP), and are getting the "Password incorrect or unknown user" message. If they try and create a new account for themselves, the get the message "An user with that name already exists". However, that user does NOT seem to exist; it does not appear in the User UI and I can't find it via direct queries against the database. Where else could this user exist?


Answers:
author: GLENN MAYER
body: OK I figured this out on my own by poking around the database. I'm sort of guessing here because I couldn't find any relevant documentation and the Atlassian folks haven't provided much help.

Crucible users are stored in the CWD_USER table; users in here seem to conform to the ones you see on the Users page in the Crucible admin UI. There is also a CRU_USERS table, which seems to contain rows for everyone who has committed code to repositories that are synced to Fisheye.

I had several users who were in LDAP, but were getting a "Password incorrect or unknown user" message when trying to log in. What should have happened is that Crucible should have found them in one of the external LDAP directories and created a user account. What I found was that these users were also in the CRU_USER table, and their CRU_FAILEDLOGINCOUNT in that table was 4. When I set that to zero (directly via SQL; there doesn't seem to be an option to do this via the UI), they were able to log in.

So that's a weird "feature", but I was able to solve this particular access issue by hacking that failed login count.


author: GLENN MAYER
body: I have checked the atlassian-fisheye-\<date\>.log files in /var/log, but there was nothing there related to this. Are there other log files I can check?

What administration pages are users listed on besides the user list page?

Can you tell me the names of the two tables that have user data, and what distinguishes them? I have been looking at the CWD_USER table.


author: Grzegorz Lewandowski
body: Please check your SERVER logs, there should be the *real* reason why a user is not allowed to login or if it really exists or not. User might not have permissions to access application. Please take a look at [Global Permission](https://confluence.atlassian.com/display/FISHEYE/Global+permissions) page.

<br />

All users which are in the system (regardless if they have access or not) should be listed in administration pages, but on the on the [user list page](https://fisheye1.atlassian.com/users) you'll be able to see only those who have proper permissions.

Users in Fisheye\&Crucible since version 4.0 are stored in two different tables, you might have query the wrong one.

If those tips won't help you, please, feel free to raise support request on support.atlassian.com

comments: author: GLENN MAYER
body: I converted my comment to an answer because no one had replied yet


Tags: fisheye-crucible-administration
how do the do it?
Asked by sakawat shake:

*This question is in reference to Atlassian Documentation: [Permissions overview](https://confluence.atlassian.com/pages/viewpage.action?pageId=764478244)*

Ask your question here...


Answers:
author: Nic Brough -Adaptavist-
body: Do what with the how now?


author: Topher Eliot
body: What are you smoking, and where can I buy some?
Can you set a default review duration for ALL existing or new crucible projects?
Asked by Geoff Wilson:

*This question is in reference to Atlassian Documentation: [Editing a project](https://confluence.atlassian.com/pages/viewpage.action?pageId=298977543)*

As we have over 200 Projects, one for each product we deliver (tied to one corresponding project in Bitbucket), is there any way to set the Default Review Duration for ALL existing or new projects in Crucible? Something like a system default? (Even if that means editing a system file on the server that will auto-populate that field for any new Project created from this point forward)

..really do not want to have to go through 200+ projects' settings and add the same time value.


Answers:
author: Grzegorz Lewandowski
body: Unfortunately, it's not possible at the moment. 24h default value duration is currently hard coded.

However, you can try to use REST API to automate things a bit, [see](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:projects:key)


Tags: duration

fisheye-crucible-administration

project

review
cleracase
Asked by Mahesh Saswade:

Hi, We are looking at using Crucible to review our code changes. we are currently using clearcase as our code repository. I would like to know how I can make Crucible working in our environement?

thanks, Mahesh,

[saswadem@visa.com](mailto:saswadem@visa.com)


Answers:
author: aborowski
body: Crucible doesn't support ClearCase system. It has support for Git, Perforce, Mercurial, SVN and CVS.

For more information about supported control version systems, please go to <https://confluence.atlassian.com/display/FISHEYE/Supported+platforms>


Tags: fisheye-crucible-administration
How to set up review for each and every commit for particular repo?
Asked by chintan thakar:

What we would like to is the following:

1) automatically create a Crucible review on every check-in

2) set the reviewer based on the committer, i.e. each developer in our team has a person who is assigned to review their code. We would like to set that automatically.

It appears that we can do 1) using the [reviewcreator](https://marketplace.atlassian.com/plugins/com.atlassian.plugins.reviewcreator) plug-in. However, I cannot see how I would go about achieving 2).

Any suggestions?


Answers:
author: Nicolas Bourdages
body: For #2, you'd need a different project for each developer, since the default reviewer is a project configuration. That's not exactly ideal, especially if you have a lot of developers, but it would work.

The alternative would be to code your own plugin that sets a reviewer depending on the author.


Tags: code-review
Can Crucible integrate with QC?
Asked by Sachin Mehra:

We are already using QC for defects. We wish to integrate Crucible with QC (instead of JIRA) for tracking coding defects (reviews).

**Questions:**

1. How is QC Vs JIRA?
2. How do we integrate Crucible with QC?
   1. What support do we get on this?


Answers:
author: Piotr Swiecicki
body: You can clearly define own linkers so issues mentioned in commit messages or comments are hyperlinked to your issue tracker, see <https://confluence.atlassian.com/display/FISHEYE/Linkers>

Hope that helps,


author: Sachin Mehra
body: Thanks for your response!

Just to clarify myself, I am looking for adding ticket (defect) to QC based on review on Crucible. Linker does not seems to resolve this problem. Can you please suggest on this.
why we are adding git repository to crucibleand also mapping to the project?what is the advantage here?
Asked by Sindhu:

we used to get requests like adding Git repos to fisheye/crucible and mapping the repo to proejct?

i am new to this

Please any one can explain what is the mechanism behind this?


Answers:
author: Marek Parfianowicz
body: If you add a repository to a project then it becomes a default repository when creating a review in this project. Thanks to this, users don't have to select a repository from a drop-down while adding changesets / branches to the review.

comments: author: Sindhu
body: Thanks you.

Please could you elaborate, Why we are adding GIt Repo to Crucible?


author: Marek Parfianowicz
body: I guess that you host your Git repositories on Bitbucket Server - am I correct?

Please bear in mind the difference between Bitbucket Server and FishEye/Crucible:

* Bitbucket Server is primarily a Git hosting tool - you can manage repositories, define permissions etc; on top of it it has some search features and you can perform code reviews for pull requests
* FishEye and Crucible do not host Git repositories - they just "read" them;
  * FishEye indexes the entire repository giving you great search possibilities - much more powerful than Bitbucket - you can search for file names, diffs, file contents, commit messages etc
  * Crucible is a sophisticated code review tool - you can fine-tune content of the review - e.g. select particular changesets or files and much more

Here you can find other benefits of having FishEye and Crucible in addition to Bitbucket, listed by some user: <https://news.ycombinator.com/item?id=9801408>


Tags: fisheye-crucible-administration
Is it possible to add the status option while reply comments in crucible?
Asked by Urmimala Biswal:

Hi All,

While add the comments in crucible, we can give the status (Accepted, Rejected, ..) by select option "Defect", But if we reply for the same comments , there is no option about the status.

Is it possible to add the status while reply comments in crucible?

Regards,

Urmimala


Answers:
author: Grzegorz Lewandowski
body: Hello, status you're referring to is a ranking of defect, which can be configured by a system administrator of your instance, thus you have statuses like *Accepted, Rejected.* However, comments or replies to comments can not have status. We have open FR request to allow mark defect as completed. You can track it here:<https://jira.atlassian.com/browse/CRUC-6160>

Best regards,

Grzegorz Lewandowski
Case Sensitive Search in FishEye?
Asked by Emre Y. Okur:

Need to search case-sensitive within contents of source code.   
Is it possible? I have reviewed FishEye EyeQL reference guide, however I couldn't find any solution.


Answers:
author: Piotr Swiecicki
body: I'm afraid it's not possible, file diffs and file contents are indexed in a case insensitive way. Feel free to request such enhancement in <https://jira.atlassian.com/browse/FE> project if you think more users could find this useful, I can't see any such request raised yet though.
Crucible 503
Asked by Karl Cabbage:

We are getting Crucible error 503 "Service Unavailable"

Version 3.10.2.build20151130

Possible indexer issue.. Was this issue fixed in a subsequent build?


Answers:
author: Piotr Swiecicki
body: Check your logs please (in FISHEYE_INST/var/log folder), there should be more information there on the actual cause of the problem.


Tags: fisheye-crucible-administration
Missing some projects in fisheye crucible after Upgrade
Asked by Sindhu:

recently we have upgraded fisheye/crucible from 3.8 to 4.1.1.

Some projects are missing .

Please guide on this


Answers:
author: Maciej Swinarski
body: Hi Sindhu,

Are they missing for the administrator as well or not visible for a Crucible user?

If the projects are there (visible by admin) but not visible by Crucible user it can be caused by the following bugs:

<https://jira.atlassian.com/browse/FE-6607>

<https://jira.atlassian.com/browse/FE-6606>

If the projects are missing for the admin, please create a support issue for this.

mac


author: KiranK
body: i have verified in the DB also , even in the DB also project are missing ?

what could be cause for this?

Please help me on this

comments: author: Maciej Swinarski
body: As I wrote you this can be solved only through a support ticket.


author: KiranK
body: Thanks for Quick update.

I am a admin of Fisheye/Crucible,but i am able to see some projects and some are missing.

Thanks,

Sindhu

comments: author: Maciej Swinarski
body: If you can't see those projects on the Admin / Projects screen please create a support issue for this.

mac


author: KiranK
body: Thanks for the Suggestion


Tags: fisheye-crucible-administration
FishEye + Crucible lines of code in Review
Asked by Krzysztof Kaczmarczyk:

Hey,

Is it possible to see number of lines of code in particular Review? How?


Answers:
author: Marek Parfianowicz
body: Not really. Why would you need this?

comments: author: Krzysztof Kaczmarczyk
body: Many companies have a code review policy which ex. mentions max limit of code lines added per code review/commit. It might not be strict, but it can happen. Seems to me like very basic information about review that someone might would like to know, wouldn't you say? How one is supposed to see this in Fisheye? Even in the reports section can't see it.


author: Marek Parfianowicz
body: *"A code review policy which ex. mentions max limit of code lines added per code review/commit"*

It's a good point, I haven't thought about such requirement. As I said before, we don't have such statistic in Crucible right now. You could raise an improvement request on [jira.atlassian.com](http://jira.atlassian.com) (but to be honest I don't see this as a high priority issue, so I wouldn't expect to have this implemented soon) or you could try to write your own plugin to count this (plugin development guide is here: <https://developer.atlassian.com/fecrudev>).
Auto-send email sent to my outlook by "FishEye and Crucible"
Asked by ???:

Hi, all:

I found an issue that i will receive the auto-send email sent by "FishEye and Crucible" when my colleagues push something to the repo. But i dont know i do some configuration about the FishEye. Now i can receive the comments when my colleagues comment my review i create, which is what i want. And i do not want the auto-send email when my colleagues push something to the repo. How can i solve it?


Answers:
author: Piotr Swiecicki
body: I'm guessing you may have a watch configured for this repository, so you are getting mail notification any time new changes are pushed there. See <https://confluence.atlassian.com/display/FISHEYE/Changing+your+user+profile#Changingyouruserprofile-Watches>, in your profile settings there is a "watches" tab when you can review and remove if necessary any unwanted watches.

Hope that helps

comments: author: ???
body: Yes, there is a repo in "watches". May be add it carelessly. Thanks!
FishEye + Crucible multiple Creators filter
Asked by Krzysztof Kaczmarczyk:

Hi,  
I am coordinating progress of \~8 developers. I wanted to create a filter for easier maintenance of reviews at Fisheye, and to be notified of any changes for these filtered reviews (I realize latter might not be possible currently). To my surprise I couldn't set multiple "Creator" in a reviews filter settings. It looks for me as regular use case. Currently there is possibility to set only single "Creator" or "Reviewer" etc. Is this achievable somehow? Workarounds are welcome.

<br />

Regards,  
Chris


Answers:
author: Grzegorz Lewandowski
body: Hi, there's no way select multiple Creator/Author or Reviewers in searching fields, however, you can modify your Crucible project and setup yourself as default moderator. Moderator is part of review so every mail notification is sent to this user as-well.
will Fish eye latest version supports for Multiple user Directories?
Asked by Sindhu:

We are planning to configure two directories in Fisheye/Crucible latest version.

Please suggest us ,how to achieve this

Thanks,

Sandhya


Answers:
author: Marek Parfianowicz
body: In FishEye/Crucible 4.0 we've overhauled entire user and directory management. So the answer is "yes", it can handle multiple user directories from various sources. Please have a look at:

<https://confluence.atlassian.com/display/FISHEYE/FishEye+4.0+release+notes>

comments: author: Sindhu
body: Thanks for the update.


Tags: fisheye-crucible-administration
installing of source tree
Asked by hatem:

i have problem installing of source tree can't open


Answers:
author: Nic Brough -Adaptavist-
body: I am sorry, but we cannot help you yet. We need context - an explanation of the problem, what you are doing, error messages and so-on. It might be that an annoying penguin is hitting cancel part way through the install from the information you have given us!

Could you explain the problem in a bit more detail please?
Problems cloning repository from bitbucket
Asked by Carlos Delgado Jurado:

I'm trying to clone a bitbucket repository but after introducing the URL it says that this is not a valid path and if I click on Details it says that the username or password is invalid

If I enter the URL , it shows an error message and this code: `fdf9fdb3024a4fcba49a3e83ff0c0ac7`

I tried to delete authentication data, adding again the user, refreshing OAuth Token and reinstalling Sourcetree but the problem persists and I think I made it worse because it won't let me push to previously added repositories that worked fine just before trying to add this new repository. It returns remote:invalid username or password, and fatal: authentication failed.

I don't think the provided username and password are invalid, because I can login to bitbucket.

Also if I open the Remote tab, the remote repositories don't appear and my account's picture has a red X that on hover shows this message:

![S3.PNG](/t5/image/serverpage/image-id/183471i203CBB5A7CECF86F/image-size/large?v=v2&px=999 "S3.PNG")

If I click the Refresh button, the red X disappears and the remote repositories appear. This is not a big issue but it probably is related to the previous errors.


Answers:
author: Carlos Delgado Jurado
body: I finally solved it by deleting the passwd file located in: User\>AppData\>Local\>Atlassian\>Sourcetree\>passwd

And then re-installing and login with credentials (probably re-installing wasn't necessary).

comments: author: Chris Holmes
body: I only had to delete passwd. re-install wasn't needed.

<br />

Thanks for the fix!


author: Ricardo Gamarski
body: I'll try. Thank you!!!


author: Leon Schmetz
body: Thank you, life saver! I was stuck in the loop and did not find a chance to enter the application key. After deleting the password file, I could!


author: Evan Anderson
body: This saved me THANK YOU!


Tags: bitbucket
Cannot connect BitBucket account as remote account on SourceTree
Asked by bluespirit:

Hello,

I can't seem to add my BitBucket account as a remote account on SourceTree. Authentication is ok and has the green checkmark icon, but when I look in the Remote Repositories tab there's a red cross icon next to my account. And it won't show any of my repos.

I tried uninstalling SourceTree, wiped all preferences and made sure my BitBucket account is the only account, but still no luck.

Any ideas?

Thanks!


Answers:
author: Vipin Yadav
body: Hi,   
Its because of some API's of bitbucket has been deprecated and we are working on this and will release the fixes in upcoming version of Sourcetree 1.e. 3.4.8

comments: author: Raphi Levine
body: I'm also waiting on this


author: unnanego
body: When?!


author: Tim
body: Any timeline on this or potential workaround?


author: Vipin Yadav
body: Hi,  

We have released beta of Sourcetree 3.4.8 today and you can download this from below link.   
[SourceTreeSetup-3.4.8-beta-1](https://product-downloads.atlassian.com/software/sourcetree/windows/beta/SourceTreeSetup-3.4.8-beta-1.exe)

Thanks,

Vipin
Unable to read Membership for user from the remote host
Asked by parthiban_selvaraj:

Hi All,

Recently we are not able to connect to Bitbucket cloud from sourcetree application.

Source tree version : 3.0.17.2659

GIT version : 2.20.1.windows.1

We are able to authenticate Bitbucket Cloud from sourcetree, while trying to fetch Cloud Remote Repo we are getting "Unable to read Membership for user from the remote host" error.

I tried with logout from source tree and login again, but no lunck.

source : <https://stackoverflow.com/questions/38402998/how-to-logout-switch-accounts-in-sourcetree>

Kindly help us to resolve the issue.

![authentication.JPG](/t5/image/serverpage/image-id/182937i322D29AC9FD67F01/image-size/large?v=v2&px=999 "authentication.JPG")![unable to read repositories.JPG](/t5/image/serverpage/image-id/182938i75DC5DD309A0495F/image-size/large?v=v2&px=999 "unable to read repositories.JPG")

Thanks,

Parthiban


Answers:
author: Vipin Yadav
body: Its because of some API's of bitbucket has been deprecated and we are working on this and will release the fixes in upcoming version of Sourcetree 1.e. 3.4.8

comments: author: parthiban_selvaraj
body: Hi [@Vipin Yadav](/t5/user/viewprofilepage/user-id/4426727)

Thanks for replying back. May I know the release date of Sourcetree version 3.4.8.

Thanks,

Parthiban


author: Vipin Yadav
body: We are working on the release and will keep the community posted on the release of the fix.

Thanks!


author: parthiban_selvaraj
body: Hope, this will solve your issue too.  

<https://community.atlassian.com/t5/Sourcetree-questions/The-team-is-getting-an-error-stating-quot-Unable-to-read/qaq-p/1892788>


Tags: bitbucket-cloud

jira-cloud