youngmon/atlassian-qna huggingface dataset:
Adding repository to multiple projects
Asked by mitov:

I have repository that is used in multiple projects. I am unable to add it to more than one project :-( . How to add it to all projects that depend on the repository?


Answers:
author: Graham Twine
body: Hello [@mitov](/t5/user/viewprofilepage/user-id/677344)

This is not possible. Maybe the projects should be repositories that depend on this repository in the same project?

comments: author: mitov
body: Thank you [@Graham Twine](/t5/user/viewprofilepage/user-id/1575905)

Separating the projects per repository is not possible.

Some of the repositories are open source, and they are libraries naturally used by multiple projects.

Others are private libraries used across projects and products as well.

This limitation makes projects completely useless from a practical point of view :-( .

I am very disappointed, as I got excited about the possibility of organizing my repositories per projects, but well... I guess just a useless feature :-(


author: Graham Twine
body: [@mitov](/t5/user/viewprofilepage/user-id/677344) May I challenge why a project needs access to the source of another project?

Most applications have dependencies, tools like maven, gradle or yarn to mention but a few assist a team to include these in a project.

This depends on the technology used to create the binary.

With the above in mind; one of your core libraries should be left in its own project and this project may include any number of repositories.

When a new version of the project is built it should be deployed to something like [Nexus](https://help.sonatype.com/repomanager3), [Artifactory](https://jfrog.com/artifactory/), [nuget](https://www.nuget.org/) or your custom internal Docker [registry](https://docs.docker.com/registry/).

Other projects can depend on different versions of this thing.

The team developing the core thing may also release snapshots in things like a nightly build so teams using the library can also get new features not yet released.

Maven or Gradle is used so I can include things like the Jira API from [atlassians pulic repo](https://maven.atlassian.com/repository/public) to write a custom plugin. I do not require the source code to Spring or some other propitiatory library.

If I am understanding your use case correctly I would propose using something like a private repository to manage dependencies.

Kind Regards,

Graham


author: mitov
body: Thank you [@Graham Twine](/t5/user/viewprofilepage/user-id/1575905) ,  
The projects are Desktop applications build in various IDEs, and the libraries are component libraries that need to be maintained compiled and installed in the IDEs for the development.

None of this uses Docker, or other build deployment tools.


Tags: bitbucket-cloud

cloud
Your credentials lack one or more required privilege scopes. - On WSL2
Asked by Christoph Schr?er:

Hello,

I am facing a problem using git and bitbucket on WSL2.

I have a user and created a Bitbucket App Password. I use HTTPS for cloning.

For cloning and pulling, the App Password works well.  
Only for pushing changes, I get the following error message:  
remote: Your credentials lack one or more required privilege scopes.  
fatal: unable to access '<https://bitbucket.org/.../.git>: The requested URL returned error: 403

I used the same App Password on the windows host system or on other linux systems successfully, but on WSL, it is not working.

How can I handle this error?

Thanks and best,  
Christoph


Answers:
author: Christoph Schr?er
body: Ok, the APP password was not set correctly in the remote URL

git remote -v

git remote set-url origin <https://cschroeer:CORRECT_APP_PASSWORD@bitbucket.org/....git>

It is a bit crazy that pulling works, but for pushing this has to be set extra.


Tags: bitbucket-cloud

cloud
How to send the repo for review.
Asked by Sreehas.Gade:

I want to send my master branch for review, how i can send my branch for review for my manager after the pull request.


Answers:
author: Graham Twine
body: Hello [@Sreehas.Gade](/t5/user/viewprofilepage/user-id/5299209)

How about adding your manager to the list of reviewers in your branch pull request?

Shouldn't the review happen before merging into master?

comments: author: Sreehas.Gade
body: we already merged into the master and currently in my repo there is only master branch and there are no more changes in the repo, yes, I can add but i have to send him the files for review, how i can do that?


author: Graham Twine
body: "i have to send him the files for review, how i can do that?"

Create an archive and email them to him.

I still think this is very counter intuitive. Send a link to the merge into master so that the person can log in and view the changes there.


Tags: bitbucket-cloud

cloud
Is there a way to see the number of minutes spent by each user on reviews for the week?
Asked by Maria Janet C. Figueroa:

We have just rolled out code reviews and would like to see how much time each user is spending on code review related activities. Is it possible to get this report, similar to the commit activity by week or day, for each user?


Answers:
author: Bhushan Nagaraj
body: Hey Maria,

This plugin has a Time spent per reviewer vs revierwers in review report.

<https://marketplace.atlassian.com/plugins/com.atlassian.crucible.plugins.review-statistics>

You might want to check it out. Other than this, I wasn't able to find anything.

comments: author: Maria Janet C. Figueroa
body: Thank you Bhushan. I will check it out.

After a quick skim, the plug in seems to only be supported for Fisheye/ Crucible 2.7.x. More investigation will be needed to see if it is compatible with later versions.


author: Maria Janet C. Figueroa
body: Folks - Our team is no longer using Crucible. If you have an answer to this question, please share it.

Thanks - Janet


Tags: report
Can FishEye OnDemand integrate with Mercurial hosted internally?
Asked by ttc_rbadgett:

We want to have FishEye hosted OnDemand and configured to point at our Mercurial repository hosted internally. We would make our Mercurial repository accessible via HTTPS.

Does FishEye OnDemand support talking to an internally hosted Mercurial repository accessible via HTTPS?


Answers:
author: NikE
body: When using OnDemand, it is an all-inclusive suite of applications. Everything is designed to be hosted by us sans Bamboo which only uses Amazon's EC2. As such, unfortunately, you cannot link it to your internal Mercurial repo.

comments: author: Leon Berger
body: In that case, what can we do? Since Mercurial doesn't support SVN packets, how else can we get our source code onto your servers?


author: Norman Abramovitz
body: You can import svn data. Please see

[https://answers.atlassian.com/questions/19106/importing-svn-into-jira](/questions/19106/importing-svn-into-jira)

<https://confluence.atlassian.com/display/AOD/Importing+Data>


Tags: cloud

fisheye-crucible-svn-ondemand

mercurial
No submodule support for git in FishEye?
Asked by Cameron McBride:

I have pointed my FishEye 2.7.5 to one git repository. This repository has submodules. The submodules do not seem to be scanned and indexed. Instead it is just shows up like it is a file. Is there no support for this?


Answers:
author: seb
body: There is currently no support for Git submodules in FishEye. If you are interested in seeing this feature added to a future product roadmap, I would suggest that you vote and comment on the feature request here: <https://jira.atlassian.com/browse/FE-3122>
How do I clean up my Fisheye/Crucible instance with the same server ID?
Asked by Kyle:

I have been using the same deployment with evaluation keys and now migrated to my production license key, which is only a Starter License. But due to misuse of the system, I am stuck without the ability to perform users mapping.

My problem start with this scenario:

I have problems with upper case usernames and lower case usernames in Fisheye/Crucible integrating with our LDAP. Our repository had all usernames in lower case. LDAP has some upper case usernames. Since Crucible is configured to automatically add users from our LDAP server, i find myself only be able to login with my upper case username in Fisheye/Crucible. Then i switched Crucible to force user lower case usernames only. And that did not solve my login problems so i started to delete users and re-syncing them again from LDAP. Because of this, i am left without any committers to map to users who are licensed to login.


Answers:
author: Anna Buttfield
body: Hi KY Lee,

To start with, this sounds a little complex so feel free to raise an issue at [support.atlassian.com](http://support.atlassian.com) so you can work through it with our support team.

I'm not clear what state your system is in now. Are users able to log in? Are you able to manually map committers to users through the admin interface ("User Settings" / "User mappings" in the admin left hand categories), or are users able to map committers for themselves (User menu / "Settings" / "Author Mapping")?

Thanks, Anna

comments: author: Kyle
body: Hi Anna,

Thanks for the suggestions. I figured out that it wasn't any issues at all after changing to automatic user mappings. I will have to remove all the older reviews as they are mapped to renamed usernames due to username deletion.

Thanks, Lee
Integrate Fisheye's side-by-side diff viewer into Crucible
Asked by Gil Elad:

Hello,

Is there a plan anywhere in future to integrate Fisheye's side-by-side viewer, which is very good, into crucible, which currently uses a very annoying side-by-side viewer?

Thanks


Answers:
author: rverschoor
body: The official answer is posted in [CRUC-5994](https://jira.atlassian.com/browse/CRUC-5994) :
> Unfortunately FishEye's side-by-side diff is unlikely to get implemented in Crucible in the upcoming releases because of the current priorities.
Is it possible to exclude user from the commits in Fisheye
Asked by JIRA Autobot:

Hi,

We have an buld user which builds our code everyday and changes a lot of files. Can we exclude that user for showing up in the activity and other places in FishEye ?

donnib


Answers:
author: Anna Buttfield
body: Hi donnib,

There's currently no way to ignore a user in FishEye. I'd suggest raising a feature request in our JIRA instance with details of your use case and how you'd like such a feature to work: <https://jira.atlassian.com/browse/FE.>

Anna

comments: author: JIRA Autobot
body: @Anna

I take it back. It does not make sense to exclude an user because it will be weird looking at history.
Starter license and very old metadata commit
Asked by Stephane Stephane:

We are in a team of 8 individuals and we're using the starter license to evaluate if fisheye could fit our needs (the company has 150+ developers).

We working on project foo in the incubator (/trunk/incubator/foo). I am trying to add this repository as an example but hit the number of commiters limit because a few people actually changed the metadata of /trunk and /trunk/incubator. What I did was adding <http://svn.mycorps.com/myrepo> with an include on /trunk/incubator/foo.

How can I circumvent this? I actually don't care about these metadata changes but since it was done by a separate team, it counts and hit the committers limit.

Thanks,

S.


Answers:
author: seb
body: You would need to set the start revision of the svn repository configuration at a point which those old committers are not visible after.

Documentation can be found here: <http://confluence.atlassian.com/display/FISHEYE/Subversion>

comments: author: Stephane Stephane
body: does not work for me. I have added start revision 9365 and I still have commits from that user (#9364)


author: Chii
body: Did you reindex the repository after setting the start revision? If you have, you should lodge a support case with the debug logs - a user that has only committed prior to the start revision should not show up.


author: Sten Pittet
body: Hi St?phane,

If you want to evaluate the product the best option would be for you to use an evaluation license.

You will be able to use FishEye and Crucible with 100 users for 30 days. The simplest path to do this is to

(1) Download the latest version of FishEye here: <http://www.atlassian.com/software/fisheye/download>

(2) Start your FishEye instance and follow the steps

(3) Choose the evaluation license when prompted

That should be a better way for you to try out the product as you will not have any limitation. You can also include Crucible to your evaluation to leverage code reviews with your team.

Cheers,

Sten

comments: author: Stephane Stephane
body: Hi there,

Yes I know about the evaluation. I just want to make sure I can still use the tool after 30 days for this small team. Right now, I can't because of a few commits. which are outside the project's space.

Any idea?


Tags: limit

starter-licence
Make fisheye's LOC only report on files with a specific extension (like .java)
Asked by chris_roeder:

We check in large resource files that inflate the LOC count. Is there a way to restrict its action to just java and/or clojure files?


Answers:
author: Michael Heemskerk
body: Hi Mark,

The LoC count can be filtered by file extension and/or author, but only in the 'reports' section. Here is how you get to the feature:

![](https://img.skitch.com/20111124-1r7jpf9eg1f71xmy8h8jx29gdt.jpg)

Hope this helps,

Cheers,

Michael

comments: author: chris_roeder
body: Works great! thanks.

Is there anyway to save a report's configuration?


author: Michael Heemskerk
body: There are two ways:

* create a bookmark (the filter params are in the URL)
* 'star' the chart (click the little star in the top left corner of the chart)


author: Felipe Kraemer
body: Hi,

Unfortunately the functionality you're requesting is not currently implemented in FishEye. Nowadays, it'll read all text files in order to calculate the LOC.

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:

<http://jira.atlassian.com>

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.

Cheers,  
Felipe Kraemer  
Atlassian Support

comments: author: chris_roeder
body: thanks for the timely reply, and I look forward to future releases.
Is there a list of all the Fisheye/Crucible smart Commit Handlers ilke +review
Asked by kamal2222ahmed:

or an API documentation, so i can get the lat of commands.

There is one tutorial list <https://developer.atlassian.com/display/FECRUDEV/FishEye+Smart+Commit+Tutorial>


Answers:
author: Sten Pittet
body: Hi Kamal,

You can see the list of Smart Commits handlers here: <http://confluence.atlassian.com/display/FISHEYE/Using+Smart+Commits>

Cheers,  
Sten
Fisheye - Welcome Message and SSL setup
Asked by Brad Blondin:

I am running Fisheye Version:2.7.6 Build:20111107234450

**Question 1)** Has anyone got the Welcome Message to display?

```
&lt;content&gt;&lt;front-page-message&gt;This is my Welcome Message &lt;/front-page-message&gt;&lt;/content&gt;
```

**Question 2)** Has anyone setup SSL for Fisheye? (without using another application)

I have it running, however I am unable to access the Administration page. I get the following error:

Your request was unable to be processed  
-  
You are running release FE2.7.6 (20111107234450 2011-11-08), please report your release number when reporting

Also, I can't seem to disable the normal HTTP page.

```
&lt;web-server site-url="http://fisheye.mysite.com"&gt;        &lt;http bind=":8070"/&gt;    &lt;ssl keystore="keystore" truststore-password="XXXXXXX" truststore="keystore" keystore-password="XXXXXXX" bind="8433"&gt;&lt;proxy-info proxy-host="" proxy-scheme=""/&gt;&lt;/ssl&gt;&lt;/web-server&gt;
```

Any suggestions would be appreciated, Thank you


Answers:
author: Conor
body: For Question 2, this has recently been reported as a bug:

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

The workaround is to manually edit the config.xml file and set the \<proxy-info\> to an empty element.

\<proxy-info/\>

You can vote-up the bug

comments: author: Brad Blondin
body: Thank you for the reply.. Yes this fixed my issue with SSL, Thank you.

```
deleted line: &lt;http bind":8070"/&gt;edited (From) &lt;proxy-info proxy-host="" proxy-scheme=""/&gt;(To) &lt;proxy-info/&gt;
```

:)


author: Brad Blondin
body: Update to Question 1)

After playing around with it, I found if you Allow - Global Anonymous Access, then the welcome pages works. however I'd like to have secuirty so that, people need to login before they can see everything!
How to configure FishEye to bind to LDAP over SSL for authentication
Asked by Martin Barrs:

I have FishEye successfully using LDAP (AD to be exact) for authentication on the default, non-encrypted port.

I need to have FishEye connect to LDAP using SSL however.

I have a Java keystore with the root certificate, and have added that to both the SSL Bind server configuration, and have added it via keystore and truststore Java options in fisheyectrl. Yet FishEye cannot bind on the SSL port (LDAp browsers can, just fine). I get this error:
> Results  
> username/password check failed  
> Debug   
> problem getting initial LDAP context  
> my.domain:636; socket closed

How do I have FishEye use the certificate in the keystore to connect to the LDAP SSL port?

TIA!


Answers:
author: Tom Towkach
body: Hi Martin,

You will need to import from the LDAP server it's certificate into FishEye as well.

Please let us know if that helps.

Cheers,

Tom Towkach

Atlassian Support


author: Felipe Kraemer
body: Hi, Martin.

I think this document can help you configuring SSL in FishEye:

<http://confluence.atlassian.com/display/FISHEYE/FishEye+SSL+Configuration>

Please let us know how it goes.

Cheers,  
Felipe Kraemer  
Atlassian Support

comments: author: Martin Barrs
body: Hi Felipe,

That document describes how to run FishEye with SSL certificates, i.e. how to access a FishEye server via HTTPS.

However FishEye, apparently, does not use the HTTPS keystores to connect to LDAP via SSL. The keystores are used by the Jetty container, but not theLDAP code.

Martin


author: Felipe Kraemer
body: Hi, Martin.

I think this document can help you configuring SSL in FishEye:

<http://confluence.atlassian.com/display/FISHEYE/FishEye+SSL+Configuration>

Please let us know how it goes.

Cheers,  
Felipe Kraemer  
Atlassian Support


author: Felipe Kraemer
body: Hi, Martin.

I think this document can help you configuring SSL in FishEye:

<http://confluence.atlassian.com/display/FISHEYE/FishEye+SSL+Configuration>

Please let us know how it goes.

Cheers,  
Felipe Kraemer  
Atlassian Support
Is there a way to have a local backup of my SVN repository
Asked by Eugene Dvorkin:

Hi,

One of the requirement we have is to have backup file for our SVN repositories/ projects locally.

Is there a way, script or other procedure to get our repositories as a dump or any other way into out local server on schedule like cron job?

This requirement may apply to both SVN and Jira, but I more conserned about SVN for now.

Thanks


Answers:
author: Sergio Marcano
body: Maybe it can be helpful for you, there is a way to merge repositories so maybe you can include your old repository in the jira repository under your jusra project folder by matching trunk, branch and tag.

<http://geekswithblogs.net/kariemali/archive/2009/06/02/how-to-merge-two-svn-repositories.aspx>


author: Michael Knight
body: Yes, you can create a backup using 'svnsync' as per [these instructions](http://confluence.atlassian.com/pages/viewpage.action?pageId=253231621). Ensure that the user account you use to perform the svnsync has permission to read the full repository.


Tags: cloud

fisheye-crucible-svn-ondemand
Explore Repositories option fails for adding new content - CSS hides the content form
Asked by EddieW:

I originally thought this was a performance issue until I used fiddler to see what was actually going on.

Turns out that the CSS panel that shows the loading indicator is never set to hidden and the div panel that shows the picker/browser is never shown (left as hidden)

# create new review

# click to add content

# Choose Explore Repositories

# Greyed out screen with loading image appaears, and never goes away.

The interesting twist is that fiddler showed a successful call against this URL: [https://XXXX/source/cru/TINEVENTS-6/edit-browse/\~author%3DXXXXXXX/Reuse_Pathed/](https://XXXX/source/cru/TINEVENTS-6/edit-browse/%7Eauthor%253DXXXXXXX/Reuse_Pathed/)

And when I pasted that URL into a new window, I _immediately_ got the repository explorer!.

So i went back to Chrome and started looking at the live source code for the page. By only changing the CSS properties of 2 divs (hiding one, showing the other) I weas able to display the repository explorerer and choose my files. (screenshots on their way)


Answers:
author: Felipe Kraemer
body: Hi, Eddie.

I'm not sure what's your FishEye / Crucible version, but I think you're having this problem:

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

This bug was fixed in FishEye / Crucible 2.7.6. If your FishEye / Crucible version is prior than that, could you please consider [upgrading](http://confluence.atlassian.com/display/FISHEYE/FishEye+Upgrade+Guide)?

Hope this helps!

Cheers,  
Felipe Kraemer  
Atlassian Support

comments: author: EddieW
body: Yeah, just a minor bug that completely destroys the primary use case of code reviews. Its not surprising such a teeny-weeny defect slipped out the door without any communication to follow or warn customers.

\^ sarcasm - how could such a defect ship from the makers of tools meant to prevent such disasters!
I am looking for Git+FishEye+Jira combination and integration
Asked by Eugene Dvorkin:

Hi

I just subscribed to Jira with SVN, Fisheye add-on. but I am interested in using GIT instead of SVN. I want to be able to have FishEye functionality

integrated with Git and Jira. I understand I can have a separate BitBusket account but how can I have one account with all 3 tools integrated together?


Answers:
author: Sander Brienen [Avisi]
body: Hi,

Git is not (yet) supported for Jira OnDemand. If you want exactly that, you need to find an Atlassian partner that offers customized managed hosting (like us!).


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)


Tags: cloud

git

integration