youngmon/atlassian-qna huggingface dataset:
Not possible to access Moderator or Author Time Spent data from REST or Java Plugin APIs
Asked by AaronR:

I'm developing a Crucible plugin to generate reports using the Crucible Java Plugin APIs.

One limitation I'm noticing is that it doesn't seem to be possible to get the Time Spent fields from either the REST or Java APIs for the Author or Moderator of a review. I can get the Time Spent for reviewers by calling ReviewerData.getTimeSpent.

I tried calling DetailedReviewData.getAuthor() and casting the UserData to a ReviewerData but the cast fails. Similarly calling DetailedReviewData.getModerator() and casting to a ReviewerData fails.

Is there a way to get Time Spent for the author or moderator that I'm missing in the plugin APIs?


Answers:
author: Tom Davies
body: The API doesn't supply this information at present. I've raised this issue: <https://jira.atlassian.com/browse/CRUC-6164> to add that data to the API.

Please watch that issue to be informed when it has been implemented.


author: Jeff Keating
body: Was there ever a resolution to this issue?

What is the latest status? Is there a forecast for resolution?

Thanks!


author: Duy Nguyen
body: It has been 2 years since the issue was raised, but it doesn't seem to be resolved yet. Is this in the development path of Crucible API anytime soon?
Generating Commit Emails for GIT Repos from FishEye
Asked by Kandarp Desai:

Hi,

I have sucuessfully added all my GIT repos to FishEye. Now I'm trying to configure email notification for each commit. I can't any option to do that. I have configured SMTP relay on FishEye and Test Email went fine.

I have also enabled Watch tab on all the repositories. But, I don't get any emails when someone commits to Repository.

How can I generate that ? Can you please help me ?


Answers:
author: onstottj
body: Is there any update to this? Does the feature work if users watch a Git repo? Also, is possible to set this up so that everyone gets notification emails from all projects? (We have a LOT). Thanks.


author: Kandarp Desai
body: Thanks Leonardo for your response.

Yes, It's been activated . the checkbox on the page which says "Allow users to watch for repository changes"

is checked.  


author: LeonardoL
body: Hi Kandarp,

Have you verified if Watches option is actived in the repository Defaults? You can check at FishEye Admin -\> Defaults -\> Other Settings Tab -\> Watches.

Cheers,

Leonardo.
Crucible emails are being delayed
Asked by david.humeniuk@udri.udayton.edu:

When someone creates a review or adds something to a review, the email notification seems to take a long time to be received, like over 5-10 minutes.

On the other hand, notification emails about someone leaving a comment is received right away.

I would expect all emails to be sent right way. What is the expected behavior?

Is there somewhere this is configured (timing for emails)? Is there a way to debug this?


Answers:
author: seb
body: What you are describing is intentional behaviour. Crucible will batch emails together when they are of a similar nature (eg, multiple comments added) to avoid spamming the recipients.

Adding files to a review is batched a little longer than comments to give authors a chance to add multiple changes to a review, which Crucible will only send one email for.

comments: author: david.humeniuk@udri.udayton.edu
body: Thanks for the info. For us, it seems like the emails for comments come out too quickly. Is there a way to extend the timeout there?


author: pslootweg
body: I'd like all the batching/timeout parameters to be configurable. In our situation we'd like review creation emails to come out sooner, rather than later.


author: pslootweg
body: I'd like all the batching/timeout parameters to be configurable. In our situation we'd like review creation emails to come out sooner, rather than later.


author: Ron Summers
body: I see one of the answers is that Crucible batches emails which I can understand but some of my users are saying it can take 30-60 minutes before they see the emails when a review is created. That seems a little too long.

I couldn't find any settings to control this.
How can I collapse comment threads in a Crucible code review?
Asked by Michael Hilton:

Is there a way to collapse comment threads in crucible?


Answers:
author: Felipe Kraemer
body: Hi Michael,

Unfortunately this functionality is not currently implemented in Crucible, but you have other options.

By clicking in the **Prefs** dropdown while diffing a file, you can choose to list the source comments in three different ways:

* **Inline:** show them where they were added
* **Above:** show all comments at the top, before the source code
* **Hidden:** hide all comments

I would recommend creating a new issue in our development issue tracker for this functionality to ensure our development team is aware of your request:

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

For more information on how Atlassian implements new features and improvements please see the following document:

<http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>

My apologies that I don't have a solution for you at this time.

comments: author: Chii
body: Actually, it is possible to collapse comment threads in crucible - click near the top of the comment (the cursor should change shape when you mouse over the area that is clickable to collapse the thread).
Problem processing revisions from repo CAS due to class com.cenqua.fisheye.rep.DbException - Problem getting diff information
Asked by Onkar Ahire:

Hello,

I am sending you Support Zip file by making Debug mode on.

Please have a look and help me to come out from this problem asap.

Thanking you

Waiting for your reply.

The file name is FishEye_support_2012-06-29-16-33-07(DEBUG mode ON)


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

I see that your query has already been answered by Atlassian Support here:

<https://support.atlassian.com/browse/FSH-9314>

Feel free to contact us via the support channel, if you have any further queries related to svn 1.7 on Fisheye 2.8.

Thanks,

Gurleen
How to view the full source code of a file
Asked by Enigma Enigma:

Hey, I'm new to crucible. So, this question might be silly but here I go...

I'm doing a code review submitted by a colleague of mine. But I can see only the changes from the original code (only the diff) and I cannot see the full source code.

Is there any filter that I can disable to get a full view of the source code?

Thanks!


Answers:
author: Julien Hoarau
body: You can get a full view of the source code using the ***Full Context*** option in the ***View*** menu.

![Full Context Option](http://i.imgur.com/2JlHP.png)


Tags: cloud
How do you add an external Repository?
Asked by Terri Caldwell:

We are trying to follow the instructions at this link: <https://confluence.atlassian.com/display/FISHEYE/Adding+an+External+Repository>

But we only get to step 2 and don't see the Repository Link referenced. We are new to Attassian (a couple of weeks) so very sorry if this is a basic question that's been answered many times before (couldn't find anything recent on it).

Thanks in advance!


Answers:
author: rverschoor
body: This is a restriction of the OnDemand installation.  
An overview of the restrictions of OnDemand is listed on the [Restricted Functions in Atlassian OnDemand](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) page.  
In the **FishEye and Crucible** section it states:

Restricted Function: External SVN repositories  
Configurable on Request?: No  
Notes: Only the internal Subversion repository can be used. Feature request is [JST-710](https://studio.atlassian.com/browse/JST-710).

comments: author: Terri Caldwell
body: Thank you so much!


Tags: fisheye-crucible-svn-ondemand

repository
Readonly Crucible Rest Api setting
Asked by MohammedNadeem Shaikh:

Hi

Could anyone guide me how do i enable Rest API settings in readonly mode.

Is there a way to do this.

Thanks

Nadeem.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: I don't think you can do that. Not in onDemand for sure. In download version, you can atleast modify the rest plugin but you can't do that in onDemand.


Tags: cloud

fisheye-crucible-svn-ondemand
Repository paused due to error
Asked by Onkar Ahire:

Repository paused due to error

org.hibernate.exception.GenericJDBCException: Cannot open connection

java.sql.SQLException: com.mchange.v2.c3p0.PoolBackedDataSource@dc007ae6 connectionPoolDataSource -\> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@b7847691 acquireIncrement -\> 3, acquireRetryAttempts -\> 30, acquireRetryDelay -\> 1000, autoCommitOnClose -\> false, automaticTestTable -\> null, breakAfterAcquireFailure -\> false, checkoutTimeout -\> 0, connectionCustomizerClassName -\> null, connectionTesterClassName -\> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -\> false, factoryClassLocation -\> null, forceIgnoreUnresolvedTransactions -\> false, identityToken -\> 2rxmf28ob7dno0o1la7y\|318e45a8, idleConnectionTestPeriod -\> 0, initialPoolSize -\> 5, maxAdministrativeTaskTime -\> 0, maxConnectionAge -\> 0, maxIdleTime -\> 1800, maxIdleTimeExcessConnections -\> 0, maxPoolSize -\> 20, maxStatements -\> 50, maxStatementsPerConnection -\> 0, minPoolSize -\> 5, nestedDataSource -\> com.mchange.v2.c3p0.DriverManagerDataSource@c79963d6 description -\> null, driverClass -\> null, factoryClassLocation -\> null, identityToken -\> 2rxmf28ob7dno0o1la7y\|55ea0024, jdbcUrl -\> jdbc:hsqldb:file:/jira01/atlassian/FishEye/fecru-2.7.10/var/data/crudb/crucible, properties -\> {user=\*\*\*\*\*\*, password=\*\*\*\*\*\*, autocommit=false} , preferredTestQuery -\> null, propertyCycle -\> 0, testConnectionOnCheckin -\> false, testConnectionOnCheckout -\> false, unreturnedConnectionTimeout -\> 0, usesTraditionalReflectiveProxies -\> false; userOverrides: {} , dataSourceName -\> null, factoryClassLocation -\> null, identityToken -\> 2rxmf28ob7dno0o1la7y\|7fd3510d, numHelperThreads -\> 3 has been closed() -- you can no longer use it.


Answers:
author: Conor
body: I think we'd need to see a stacktrace to understand the context of this error fully. FishEye indexing does not use the SQL database so there is a chance that the repository being paused is not related to the JDBC error you have posted.

I recommend you open a support case on <https://support.atlassian.com> to explore this issue. The best thing would be to turn on DEBUG logging and capture logs around the problem.

comments: author: Onkar Ahire
body: Thanks Conor. Do we must need to create a new data directory for fisheye or can we set bydefault installation directory?
Repository paused due to error
Asked by Onkar Ahire:

![](../../upfiles/reperror.png)ye

org.hibernate.exception.GenericJDBCException: Cannot open connection

java.sql.SQLException: com.mchange.v2.c3p0.PoolBackedDataSource@dc007ae6 \[ connectionPoolDataSource -\> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@b7847691 \[ acquireIncrement -\> 3, acquireRetryAttempts -\> 30, acquireRetryDelay -\> 1000, autoCommitOnClose -\> false, automaticTestTable -\> null, breakAfterAcquireFailure -\> false, checkoutTimeout -\> 0, connectionCustomizerClassName -\> null, connectionTesterClassName -\> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -\> false, factoryClassLocation -\> null, forceIgnoreUnresolvedTransactions -\> false, identityToken -\> 2rxmf28ob7dno0o1la7y\|318e45a8, idleConnectionTestPeriod -\> 0, initialPoolSize -\> 5, maxAdministrativeTaskTime -\> 0, maxConnectionAge -\> 0, maxIdleTime -\> 1800, maxIdleTimeExcessConnections -\> 0, maxPoolSize -\> 20, maxStatements -\> 50, maxStatementsPerConnection -\> 0, minPoolSize -\> 5, nestedDataSource -\> com.mchange.v2.c3p0.DriverManagerDataSource@c79963d6 \[ description -\> null, driverClass -\> null, factoryClassLocation -\> null, identityToken -\> 2rxmf28ob7dno0o1la7y\|55ea0024, jdbcUrl -\> jdbc:hsqldb:file:/jira01/atlassian/FishEye/fecru-2.7.10/var/data/crudb/crucible, properties -\> {user=\*\*\*\*\*\*, password=\*\*\*\*\*\*, autocommit=false} \], preferredTestQuery -\> null, propertyCycle -\> 0, testConnectionOnCheckin -\> false, testConnectionOnCheckout -\> false, unreturnedConnectionTimeout -\> 0, usesTraditionalReflectiveProxies -\> false; userOverrides: {} \], dataSourceName -\> null, factoryClassLocation -\> null, identityToken -\> 2rxmf28ob7dno0o1la7y\|7fd3510d, numHelperThreads -\> 3 \] has been closed() -- you can no longer use it.


Answers:
author: LeonardoL
body: Hi Onkar,

I've already saw this before after migrate database to MSSQL when using wrong collation. Please review documentation about migrating database and see if you're looking the right collation for your database.

Here's the documentation:

<https://confluence.atlassian.com/display/FISHEYE/Migrating+to+an+External+Database>

Cheers,

Leonardo.
Please help me to come out from this error in fisheye Outgoing authentication.
Asked by Onkar Ahire:

Hello All,

Please help me to come out from this error in fisheye Outgoing authentication.

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


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: What happens when you retry? This normally comes when the XSRF token is missing in the url and when you refresh, it should work fine.
Deleted subversion repositories are not really gone
Asked by George Stathis:

Hello,

We have been evaluating JIRA/FishEye OnDemand by doing some trial ticket and code migrations from our current ticketing/source control system.

Now that we are ready to do the final imports, we have deleted our test JIRA projects and associated FishEye/Subversion repositories using these steps (<https://confluence.atlassian.com/display/AOD/Deleting+a+project>) and are preparing to re-import them from scratch but we are encoutering the following issues:

* We have created new blank projects in Jira OnDamand with the same project keys we used during testing
* It seems that re-using the same project keys is actually re-instating the previously imported subversion / FishEye repos with the same keys. Without actually re-importing the source code, the suposedly deleted folders are browsable in FishEye but show up empty under https : //\<company name\>.atlassian.net/svn/PROJECT_CODE or when we try to check them out. The revision numbers are actually still there.
* Attempting to re-import the SVN dmp files for these projects yields the same error as in this ticket: [https://answers.atlassian.com/questions/20450/import-svn-repository-resulted-in-cleandirectorycommand-failed-to-execute-command-bin-rm-rf-data-jirastudio-svn-root-back](/questions/20450/import-svn-repository-resulted-in-cleandirectorycommand-failed-to-execute-command-bin-rm-rf-data-jirastudio-svn-root-back)

Questions:

* Can we re-import our projects using the same codes as before? We really want to use those codes and not have to come up with new ones
* If not, can someone help us actually really delete the old subversion repositories so that we can trully re-import them?

Thank you in advance for your time.


Answers:
author: LucasA
body: Hi George,

If you still facing this problem, please raise a support ticket at <https://support.atlassian.com> . We need to perform some manual procedures on your Subversion server.

Lucas Lima

Atlassian Support


Tags: cloud

fisheye-crucible-svn-ondemand
How do I incomplete other reviewers statuses
Asked by S:

The crucible permission scheme allows for other review members to "uncomplete" fellow reviewer's statuses, but where do I go in the GUI to actually make that happen?


Answers:
author: Sten Pittet
body: Hi Stephen,

It is not possible to uncomplete other reviewers' statuses. I'm currently troubled by the fact that you believed it was possible.

Could you let me know which part of the UI made you think this was possible? Maybe it's the wording in the screenshot below:

![](https://img.skitch.com/20120622-x96yfk3hw98m5sfbwf84dp4y7b.jpg)

comments: author: Alexander Taler
body: Perhaps not what's asked, but the review author can uncomplete reviewer's status by changing the contents of the review.


author: Richard Bradley
body: It would be very useful to be able to uncomplete other reviewers. Some actions on a review, such as adding a comment or (and this one seems like a bug?) adding an unanchored patch to the review, do not automatically uncomplete all reviewers. It can be difficult to know if a reviewer has seen that you are waiting for their reply. It would be nice to be able to "uncomplete" them, so that the review went back into their inbox.

comments: author: Chip Selden
body: This is exactly what I'm looking for as well. Reviewers have to actively seek comments in previous reviews in order to find them. Would be nice to be able to send it back to their inbox.
Fisheye/Stash integration
Asked by Shai Yallin:

Can I or will I be able to integrate FishEye with Stash? meaning, will FishEye be able to index and browse Stash repositories without me having to enter them one by one into FishEye? we have hundreds of repositories in our organization...


Answers:
author: seb
body: There is currently no way to automatically import Stash repositories into FishEye. However, we have an open issue to address this which can be tracked, commented or voted on here: <https://jira.atlassian.com/browse/STASH-2589>

comments: author: Shai Yallin
body: Thanks. This is not a minor issue, IMO - it's a major shortcoming.


Tags: bitbucket-server
replace svn with git by default
Asked by Cristian Messel:

At the moment, when creating a new project, it creates a svn repo. I would like to use git by default.

Is it possible to host it on bitbucket, in a team?

I tried playing around in the admin panel.

It is listed as a DVCS Repository linked to the correct bitbucket account; it still displays Subversion Repository: None and in the SOURCE tab, there is only the inital commit in the svn repo that was created when I created the project.

Basically, I want to replace that with the bitbucket git repo.

Thank you in advance.


Answers:
author: Cristian Messel
body: it can not be done yet


author: aMarcus
body: You can use the DVCS connector included with OnDemand to connect to your Bitbucket (Git or Mercurial) repositories. We are working on better and tighter integration between Bitbucket and OnDemand to enable you to do even more other than showing relevant commits linked to issues (which can be done now).

Check out the following for more information on how to do this in OnDemand JIRA and what is coming down the road:

* <https://confluence.atlassian.com/display/BITBUCKET/Using+the+JIRA+DVCS+Connector+Plugin>
* <http://blog.bitbucket.org/2012/07/24/continuous-integration-bamboo-ondemand-bitbucket/>
* <https://studio.atlassian.com/browse/JST-2090>


Tags: cloud

fisheye-crucible-svn-ondemand

git
How do you remove or permanently delete folders that have been deleted from the SVN repository tree?
Asked by Patrick B_ Roberts:

SVN folders that have been deleted and are located at the root of the project or in the tags folders show up in a grayed out fashion in the UI. These folders provide no value and may add confusion if the "Show empty directories" setting is selected. Can these folders be completely removed from the UI so that they are never displayed?


Answers:
author: LucasA
body: No,

Subversion was designed to mantain all the history, so deleted files are check as "deleted", but still there. This is the expected behavior.

Lucas Lima

Atlassian Support


Tags: cloud

fisheye-crucible-svn-ondemand
Unable to create issue in Fisheye2.7.10
Asked by Onkar Ahire:

I am trying to comment on my code and wish to raise an issue for that but the create issue link is not there.![](../../upfiles/Issue_1.png)e


Answers:
author: seb
body: You need to configure a JIRA application link, as well as links between your Crucible project and your JIRA project.

Please have a read of the following documentation: <https://confluence.atlassian.com/display/CRUCIBLE/JIRA+Integration+in+Crucible>

comments: author: Onkar Ahire
body: Thanks Seb Ruiz!!!


author: Onkar Ahire
body: I have had the configuration but still not working, I checked configuration from other PC as well still same.
As an Admin how do I edit reviews where I am not the moderator?
Asked by Chris Wagner:

I have a team member who has since left but left a bunch of reviews open. How can I go through and close out all those reviews so they are not cluttering our Dashboard?


Answers:
author: Renjith Pillai
body: You have to get the permission scheme adapted to include your admin username for all the permissions listed [here](https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+Permission+Scheme#CreatingaPermissionScheme-ListofCruciblePermissions).

comments: author: Chris Wagner
body: It seems these permissions are not available in OnDemand instances.

![](../../upfiles/Screen_Shot_2012-06-20_at_1.54.23_PM.png)


Tags: cloud

fisheye-crucible-svn-ondemand
Anything we should care about when integrating one FishEye with two JIRA instances?
Asked by Daisuke Niwa:

Hi there,

I believe it is possible to integrate one FishEye with two JIRA instances via application link.

Is there anything we should care about when we opt for the above configuration? Especially, should we care about performance, any duplication of commit message etc?

Please let us know.

Regards,  
Daisuke Niwa


Answers:
author: Daisuke Niwa
body: I've asked this question to Atlassian support.

Basically it should work fine so long as you separate project keys between JIRA instances.

Daisuke Niwa
Display is not updated when switching branches
Asked by akira345:

Hi.  
I use sourcetree for windows version 3.3.6 with git for windows version 2.25.0.windows.1.  
If you have a large number of branches (about 20), double-clicking on a branch to switch it will not cause SourceTree to automatically update the display.  
![?????????_021920_060751_PM.jpg](/t5/image/serverpage/image-id/83578i8A36BE540FBF0CB1/image-size/large?v=v2&px=999 "?????????_021920_060751_PM.jpg")  

<br />

If the number of branches is small, it will be updated automatically, but often you need to press F5. It behaves as if not switching and is very confusing.


Answers:
author: nhalink
body: I have a similar issue, but I only have a few local branches and a lot of remote branches.  
I have to F5/refresh the program to show changes, this goes for changing branches, committing, pushing commits, almost anything I do.  

Is this a bug when you have a lot of branches (local or remote) or something I might have done?  
I have a repository which has an other repository included, might this be the problem?
Crucible Permissions
Asked by JasonP:

Hi,

Currently we have some crucible admins that have the privileges to create a repository to point to say a github repository. Is there a way we can give all our uses just privs to create this repo and also change where it is pointed to in case the repository is renamed or moved in github? We want to make this as self service as possible to avoid having these simple tasks be an interupt and let the user handle these actions. I would like this to be the only admin priv they have so they they can't do any other admin type actions.

Thanks,

Jay


Answers:
author: Sten Pittet
body: Hi Jay,

We do not have this kind of fine grain permission in Crucible. We do have a JIRA issue that you can track that relates to that story: <https://jira.atlassian.com/browse/FE-2486>

We have this problem in mind and we want to facilitate the administratio of Crucible.

Cheers,

Sten  
Dev Tools Product Manager

comments: author: JasonP
body: Is there a way to to create ane edit a repo from the api? Meaning could we write something to hit the api that does this so we don't have to give access to the rest of the system?


Tags: permission