youngmon/atlassian-qna huggingface dataset:
FishEye/Crucible 2.10.4 not resonpse
Asked by Jirong Hu:

Once a while our FishEye/Crucible will not response so we have to restart it. How can I troubleshoot this?

I see tons of errors like this: <https://answers.atlassian.com/questions/115149>

Jirong


Answers:
author: Felipe Kraemer
body: Hi Jirong,

Are you able to identify any patterns to the problem? For example, do you have any scheduled backups? Does the problem happen while those are running?

Is FishEye trying to index a huge changeset?

Do you have any huge Crucible review?

Do you sync users with an external tool like JIRA / Crowd / LDAP? How many users are synced, and how often?

Has your instance always behaved this way, or has this problem started to happen lately? If the latter, are you aware of any changes in instance settings or even server settings?

Your instance version is rather old, and many performance improvements have been made since then. Can you give the latest FishEye version a try, to see if it performs better?

What are the current JVM settings? Do you see any OutOfMemory issues?

You might want to raise a [support](https://support.atlassian.com) issue, so that the support team can have a look at the instance logs and configuration.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


Tags: fisheye-crucible-administration
Using Anchors
Asked by Desmond Adams:

Following the [wiki markup user guide](https://confluence.atlassian.com/display/CRUCIBLE032/Using+Wiki+Markup+in+Crucible) for Crucible (the guides for Confluence do not seem to apply to Crucible), I've created a link in a comment like this:  

```
{anchor:fancyAnchorName}
```

<br />

And in another comment on the same document, I've attempted to link to it using the provided example for linking to an anchor on the same page:

```
[#fancyAnchorName]
```

<br />

However, this shows up highlighted in red, as malformed macros are wont to do.

The other example given is rather unclear:  

```
[My Page#fancyAnchorName]
```

<br />

What is 'My Page' here? Is it the URL of the document containing the anchor? an arbitrary name? I've tried both ways, neither of which work.

```
[http://url-to-my-review-document#fancyAnchorName] =&gt; invalid[Random title#fancyAnchorName]                     =&gt; invalid
```

<br />

There does not seem to be any more documentation on this. What am I doing wrong?


Answers:
author: khanh nguyen
body: Here's what I do. . .

Target Page

1) Insert the Anchor Macro and Edit that Macro and specify the Anchor Name="fancyAnchorName"

Source page

1) sample confluence page named "Link Farm"

2) get the "Tiny Link" for example <https://some.company.com/confluence/x/wyHTsfd>

3) your link to the fancyAnchorName anchor directly will be. . .

<https://some.company.com/confluence/x/wyHTsfd>#LinkFarm-fancyAnchorName

Give that a try

comments: author: Desmond Adams
body: Where do you see a way of 'inserting' a macro on Crucible? As far as I can see, the only option you have for commenting on reviews is to type in straight wiki markup.


author: khanh nguyen
body: sorry - rushed right passed the crucible reference. . . not sure how to do this in crucible.


author: muneeb.ahmed
body: This is from 5 years ago. But I am stuck at the same problem. Did you manage to find a solution to this ?
Setting up crucible with Perforce : Crucible is not using the user I configured (not SYSTEM)
Asked by valipost nicolas:

Hello.

I'm trying to set up crucible (Evaluation version). I've configured my Perforce repository like I should, with a user with read/write rights - no super user -, lets say "userA"

When I run the connection test, it gives me

```
Perforce Server Version: P4D/LINUX26X86_64/2014.2/978861 (2014/12/19)Perforce Server Time: 2015/03/11 16:55:40 +0100 CETNon-zero exit status determining latest revision: com.atlassian.utils.process.ProcessException:Non-zero exit code: 1 | Access for user 'testSwarm' has not been enabled by 'p4 protect'.
```

I don't know where he got the 'testSwarm' user, but it's nowhere to be found in my Perforce config files. (I've checked P4USER/P4PORT just to make sure it was not my environnement)

Any idea on how to make crucible use the "userA" instead of "testSwarm" ? Thank you


Answers:
author: gustavo_refosco
body: Hi,

It seems this is happening because of the following bug: <https://jira.atlassian.com/browse/FE-2922>.

As per its description, when **show advanced settings** isn't checked, it will ignore the user you are specifying when adding the repository and will instead try to use the user running Crucible.

Could you please follow the workaround for this bug, which consists just in checking the **show advanced settings** box and try adding this repository again?

Regards,

Gustavo Refosco

comments: author: Sergey Svishchev
body: check $HOME/.p4tickets as well


Tags: fisheye-crucible-administration
How do I notify reviewers?
Asked by Jason Friedman:

When I assign a colleague to participate in a code review I want that person to receive an email notification.

How can I set that up?


Answers:
author: Felipe Kraemer
body: Hello Jason,

You need to [configure SMTP](https://confluence.atlassian.com/display/FISHEYE/Configuring+SMTP). Once this is configured correctly, whoever gets added to a review will receive an email notification.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


Tags: fisheye-crucible-administration
Why are links in fisheye disabled?
Asked by david kreuter:

If I try to search trough my repositories in fisheye and get the correct results, but cannot click on the displayed file links, because they are faded (disabled). See the screenshotfisheye_file_list.PNG  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Why-are-links-in-fisheye-disabled/qaq-p/381163?attachment-id=2326){#link_1164f37b6aefe9}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/5064/1/fisheye_file_list.PNG){#display_1164f37b6aefe9_0}


Answers:
author: david kreuter
body: This is really odd. I expect the same behaviour you described in the comment. Unfortunately, there is no loading indicator and the links are disabled forever. It seems that only my user is affected by this strange effect. I will review the permission and have a look into the log files.

comments: author: Piotr Swiecicki
body: What web browser do you use and what version of FishEye do you have? Is the browser supported by this particular FishEye version? See <https://confluence.atlassian.com/display/FISHEYE/Supported+platforms> for the browsers supported in the current, 3.7 version.Also, does the problem happen intermittently, or rather every time you perform a search? Do you see any JavaScript errors reported?


author: david kreuter
body: Fisheye: 3.5.1 (yes I know we have to upgrade Smile :) )FF 36.0.1 (not working)IE: 9.0.8112 (works surprisingly)For my user it happens always in FF, does not matter which repository, search query, etc. I'm really confused. Also no js error in FF.


author: Piotr Swiecicki
body: I just checked on FF36.0 on Mac OS, seems working fine. Can you check with your firefox our instance: <https://fisheye2.atlassian.com/qsearch?q=abc> please? Let me know what OS are you on too.


author: david kreuter
body: I'm using Windows7. Your provided links work fine, the loading indicator appear so a sec, then the search result links are displayed as normal links. I have already tried to delete the whole browser cache and restarted the instance, but with no success


author: david kreuter
body: Wait a sec, I have always used the same pinned tab for my testing. I have closed this tab and after performing the same search it worked. Thanking you for the support!


author: Piotr Swiecicki
body: Excellent news @david kreuter, glad you got it working eventually


author: Piotr Swiecicki
body: Hi @david kreuter,

The result of the previous query are greyed out when you search for a new phrase. This is intentional, it avoids confusion that one could assume current search completed and its results were displayed. In fact you should notice, center of the result window, a rotating spinner indicating the current search has not completed yet.

Just wait for the results to come back and you would see clickable result list.

Hope that helps,  
Piotr
https and fisheye
Asked by Fabrizio Santini:

Hi,

I have Jira, Confluence, Crowd, and Fisheye behind a firewall on which only HTTPS is open. Everything works just fine. However, when loggin in with Fisheye, the re-direct address is correct but without the HTTPS. It will re-direct to the regular HTTP (there is only a simple page there). If I manually modify the address and add HTTPS, the re-direct works just fine.

I tried with Google Chrome and Firefox on different platforms.

How can I fix it? maybe change something in the configuration?


Answers:
author: Fabrizio Santini
body: Hello there,

thank you both to look into this issue! I apologize, the firewall is open to 443, 80, and 22.

All the products are behind a proxy (apache2). In the server.xml file, I tell Tomcat that both JIRA's and Confluence's connectors are behind the proxy in the following way (this is for confluence):

```
?
```

```
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090"?
```

```
 ? ? ?minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8443"?
```

```
? ? ? acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false"?
```

```
? ? ? URIEncoding="UTF-8" scheme="https" proxyName="confluence.santinidesigns.com"
```

```
? ? ? proxyPort="443" />
```

Reading your suggested documents, I found [this one](https://confluence.atlassian.com/display/FISHEYE/Integrating+with+other+web+servers). I applied the part which specifies that fisheye is behind the proxy:

`<http bind=``":8060"` `proxy-host=``"`[fisheye.santinidesigns.com](http://extranet.example.com)`"` `proxy-port=``"443"` `proxy-scheme=``"https"``/>`

The re-direction works, so is the image of the avatar, etc.

Thank you VERY much.


author: Felipe Kraemer
body: Hi Fabrizio,

I am wondering if you can give this KB article a try:

<https://confluence.atlassian.com/display/FISHKB/How+do+I+redirect+HTTP+requests+to+HTTPS+without+proxy>

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


author: rrudnicki
body: Hi Fabrizio,

Can you check out [this documentation](https://confluence.atlassian.com/display/FISHEYE/FishEye+SSL+configuration) to verify if the config.xml is properly configured?

Also, can you let us know if there's a reverse proxy into your network?

Regards,

Renato Rudnicki


Tags: fisheye-crucible-administration
Blocking commits using svn and crucible until it get reviewed
Asked by elhmarouan:

Is there any possibility to block SVN commits until it get reviewed and approved by Atlassian Crucible code reviewers ? I want to do something similar to Gerrit but using SVN, i heard that it can't be done with centralized control version systems, if it were for me i'd rather move to Git, but is there some alternative solution ?


Answers:
author: Felipe Kraemer
body: Hi Marouan,

I thought about [creating a pre-commit patch review](https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews) and then making the SVN pre-commit hook call [this REST resource](https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#rest-service:reviews-v1:search:repository) using cURL / wget in order to search for reviews which include a particular file from the pre-commit patch, iterate over the results, and then:

1. If a review is returned, check if its status is Closed.
   1. If it's not Closed, block the commit.
   2. If it's Closed, allow the commit.
2. If no reviews are returned, block the commit.

I believe this would work perfectly to you, but while investigating this I've discovered that [the REST resource](https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#rest-service:reviews-v1:search:repository) **does not**return reviews based on files from pre-commit patches. It only returns reviews based on revisions that have already been committed.

I have created an improvement request in our development issue tracker in order to make that REST resource include reviews based on files from pre-commit patches:

<https://jira.atlassian.com/browse/CRUC-7198>

Feel free to [vote](https://confluence.atlassian.com/display/JIRA/Watching+and+Voting+on+an+Issue) for the issue and/or leave a comment to describe your use-case in more detail. It will help our development team to build a solution that meets your needs.

If you want to know more about how we prioritise feature requests, take a look at our [policy](https://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy).

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer

comments: author: elhmarouan
body: Thanks for your answer ! So is it possible to use the Crucible Review CLI tool to block commits by developers and send the diff to Crucible review instead ?


Tags: code-review

pre-commit

svn
Adding RTC repository
Asked by PK:

Hi,

Can I add RTC repository in the Crucible? What are the steps to do this?

Thanks.


Answers:
author: Sergey Svishchev
body: There is no support in Crucible for Rational Team Concert native repositories, but you could go the other way -- upload diffs into Crucible a la <https://github.com/jankoprowski/org.reviewboard.rtc>


Tags: rational-team-concert
How do I tell Crucible to always display full context in reviews?
Asked by Boris Brudnoy:


Answers:
author: Piotr Swiecicki
body: Hi @Boris Brudnoy,

Go to "Profile settings" by clicking your avatar in the top right corner. In the "Display Settings" / "Diff view" section there is "Context lines" setting. Change it and that will be the default context size when you review in Crucible. See the screenshot attached

crucible-profile-context-size.png

Hope that helps,  
Piotr

[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/How-do-I-tell-Crucible-to-always-display-full-context-in-reviews/qaq-p/378893?attachment-id=12476){#link_1164f3f28fbf16}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/5045/1/crucible-profile-context-size.png){#display_1164f3f28fbf16_0}
How do I permanently change the sort order for the review dashboard?
Asked by Tim Belski:

I want to change the review dashboard settings so the reviews are shown newest to oldest by default. Right now the dashboard shows oldest to newest when I select it.


Answers:
author: Piotr Swiecicki
body: Hi @Tim Belski,

Just click on the Age column header to change the sort order. You will notice URL changes between [https://CRUCIBLE_HOST/cru/?sort=age\&order=desc](https://CRUCIBLE_HOST/cru/?sort=age&order=desc) and [https://CRUCIBLE_HOST/cru/?sort=age\&order=asc](https://CRUCIBLE_HOST/cru/?sort=age&order=asc)

There is no setting to keep requested order permanently, feel free to raise an enhancement request in <https://jira.atlassian.com/browse/CRUC> project if you think such feature would be usfeful.  
Kind regards,  
Piotr
I can't reach fisheye using :port/fisheye
Asked by Phillip Jones:

Hello. I can get to fisheye in the browser when I use http://\<host name\>:8060 but not when I use http://\<host name\>:8060/fisheye

I added the  
`<``web-server` `context``=``"/fisheye"``>`  
to the config.xml file in both locations (install and data). found out how to access fisheye by not using the "/fisheye" but it resurfaced when I attempted to do the JIRA Gadget Subscriptions.


Answers:
author: gustavo_refosco
body: Hi Philip,

Please give a try doing as follows:

1. Set the context without the **/** (slash):

   ```
   &lt;web-server context="fisheye"&gt;
   ```

2. Set the Site URL, including the context:

   ```
   &lt;web-server site-url="http://localhost:8060/fisheye" context="fisheye"&gt;
   ```

   In the example above you can change "localhost" by your host name.
3. Make sure you restart FishEye.

Please let me know how it goes.

Regards,

Gustavo Refosco


author: Phillip Jones
body: Thank you so much Gustavo!! I have another question.

1) this fixed the address issue. now I can use http://\<localhost name\>:8060/fisheye to get to the fisheye page.

BUT

when I went back to JIRA to update my subscriptions for fisheye and cricible with the new subscription address encounter a new error.

1) I went to JIRA \> Dragon Development Dashboard

2) I deleted both a) fisheye recent changesets and b) Crucible Charts

3) went to + Add Gadget \>\> Gadget Subscriptions then unsubscribed from the "old" gadget feed (http://\<localhost name\>:6060)

4) add subscription to correct link (http://\<localhost name\>:8060/fisheye) then close out of Gadget Subscriptions

5) Then + Add Gadget \>\> search for Fisheye Recent Changesets and Add it Now

6) Then when I go to configure the gadget I cannot select the correct link from the drop down menu.

This is the field for the FishEye URL (The URL of the FishEye instance containing the specified FishEye repository)

Same issue for Crucible Charts

Any advice would be greatly appreciated!! Thanks!

comments: author: Phillip Jones
body: I solved this issue but reconfiguring the add application link in JIRA. restarted JIRA and redid the subscription and everything is working now!!!!
I am trying to link fisheye / crucible with Stash, and I am getting "Authentication Failed"
Asked by Keith Fogle:

I end up here, and press "Allow"

image2015-2-25 11:36:57.png

Then I get this . Not sure where to go from here. Please advise

image2015-2-25 11:37:50.png


Answers:
author: Piotr Swiecicki
body: Hi @Keith Fogle,

To be honest I am not sure how you ended up in this situation, but it seems like there is some discrepancy between both systems, like link configuration on one side is not matching its configuration on the other side.

Perhaps the best way to fix that is to log in into both applications (stash and fisheye) separately and delete the link to the other side on both sides. Then set up new link between the applications.

Hope that helps,  
Piotr
REST API related to python script development
Asked by Hyunjun Kim:

Hi

I'd like to add the users to the crucible groups by using of REST API.  
This was requested by a Korea Customer urgently, so I was trying to develop some script with Python.

However, I can't put the users into the Crucible group.  
Here is the source code what I've been developing so far.

Could you please advise which should be changed for that?  
============================================  
import requests  
import json

username = "hyunjun.kim1"  
password = "thddkwl12"  
data = json.dumps(

{"name":"hyunjun.kim1"}

)  
print(data)

r = requests.get('<http://crucible.hynix.com:8060/rest-service-fecru/admin/groups/Amber-FlashSolution-users/users>',   
auth=(username, password),  
headers=(

{'content-type':'application/json', 'accept':'application/json'}

)  
)

test = json.loads(r.text)\[u'values'\]  
print test

r = requests.put('<http://crucible.hynix.com:8060/rest-service-fecru/admin/groups/Amber-FlashSolution-users/users>',   
data,  
auth=(username, password),  
headers=(

{'content-type':'application/json'}

)  
)

print r.status_code  
============================================

Thanks.


Answers:
author: Maciej Swinarski
body: Hi Hyunjun Kim,

There is an example REST API Python client which covers user management.

<https://bitbucket.org/atlassian/fecru-rest-examples/src/master/python/?at=master>

```
create_user("example_user", "1234", "Example User", "example.user@gmail.com")create_group("example_group")add_user_to_group("example_user", "example_group")
```

Your usage of the REST API looks correct. What error are you getting?

mac
Making reviews work like "git difftool" in Crucible
Asked by lophat:

We have been using Crucible for a couple months now, and there's something we don't quite get. If I do a diff using a diff tool, like:

`git difftool master..mybranch`

I see the current state of "mybranch" being compared to the current state of "master". If I create a review in Crucible and use "Choose Branches", I see the "sum" of each individual commit. Here's the difference...

If a developer creates a branch, and in commit A they have modified a file, then in commit B they have removed the file, and I create a Crucible review, I see the changes in commit A as part of the review. If I do "git difftool", as above, I don't see the file at all, because it no longer exists. This is the preferred functionality. Does anyone know how to achieve this?


Answers:
author: Piotr Swiecicki
body: > If a developer creates a branch, and in commit A they have modified a file, then in commit B they have removed the file, and I create a Crucible review, I see the changes in commit A as part of the review. If I do "git difftool", as above, I don't see the file at all, because it no longer exists.

In this scenario both Crucible and git diftool would show change to this file I believe. Just to be clear - file existed on a main branch before, you modified the file on commit A (on new branch) and then deleted it subsequently on on commit B (on the same new branch)? When comparing this branch to master you surely would see a difference, file still exists on a master and does not exist on your branch any more.

I am guessing there might be a confusion in different scenario, when file was created and then removed on subsequent commit, both commits made on a new branch. In this scenario git difftool would not show such file at all, while Crucible would indeed show such file as touched on a review, though it would be shown as deleted and no diff would be presented. Arguably such file could perhaps be ignored and not shown on Crucible review at all. Fell free to raise a feature enhancement in <https://jira.atlassian.com/browse/CRUC> project, so this could be addressed if more customers vote on this issue.

<br />

Hope that helps,  
Piotr
sourcetree????????????????
Asked by ????:

SourceTree?github?????????????????????????  
?????????????????????????????????????????????

SourceTree?????????????????????????????  
<https://sukkiri.jp/technologies/devtools/git/sourcetree_win.html>

github????????????????????  
<https://ics.media/entry/15195/>

<br />

??????https??????????????????????????  
????????????ssh????????????????????????

(?????????????????????)  
???????????????????????????????

??sourceTree???????????????????????????  
???????????git????????????????????????

?????????????  
(OS?Wndows10???)


Answers:
author: Rick Li
body: ?????????????????????????  

Sourcetree???????????????????????????????????  
C:\\Users\\\<username\>\\AppData\\Local\\Atlassian\\SourceTree\\sourcetree.log

???sourcetree??????????????????????