youngmon/atlassian-qna huggingface dataset:
Code Analysis through Bamboo/Crucible
Asked by Ankit Kothari:

Hi,

We are planning to use Atlassian Products and at present we have the trial version. There is one major requirement for which I was not able to get an answer.

We want to perform code analysis through Bamboo/Crucible. I found two plugins -

1. Bamboo FindBugs Plugin

2. Bamboo PMD Plugin

But, not much information is provided and not many users have downloaded these plugins. Could someone please provide some alternatives for performing Code Analysis.

Thanks,

Ankit


Answers:
author: Timothy Harris
body: I would be happy for anything that could do STATIC CODE ANALYSIS. I just can't seem to find anything...


Tags: code-review
Review comments without Jira Issue
Asked by Liam Donaldson:

I am using Jira to raise and issue for each review comment.

Is it possible to greate a list of Crucible review comments that do not have a an associated Jira issue?

Thanks


Answers:
author: Renjith Pillai
body: Tried to check whether REST gives this data. Unfortunately no :(


author: Liam Donaldson
body: This was really for one review. But if I have the full list I could work with that.

Thanks,

Liam


author: Tini Good
body: Do you want that report on each individual review, or one the entire database as a whole?
How do I bulk close crucible reviews?
Asked by Gordon Waddell:

<br />

For various reasons I have several hundred old open reviews in Crucible from various users - how can I bulk close them?


Answers:
author: Bob Swift (personal)
body: [Crucible Command Line Interface](https://bobswift.atlassian.net/wiki/display/crucli) [transitionReview](https://bobswift.atlassian.net/wiki/display/crucli/Documentation#Documentation-transitionReview). One of the **run** actions may help depending on how you know which reviews need to be handled.


author: Rahul Aich [Nagra]
body: This can be achieved through crucible's REST API. Have a look at this url for details

[https://answers.atlassian.com/questions/77385/how-to-delete-draft-reviews-in-a-batch](/questions/77385/how-to-delete-draft-reviews-in-a-batch)

Rahul
Code Security
Asked by tzigone:

Hi,

Is there any way to store SVN user name and password in the Fisheye config file encyrpted or invisible?

Or can it be retrieved from LDAP or CROWD etc?

rong\>\<auth username="the_repo_user_name" password="the_repo_user_pwd"/\>\</strong\>


Answers:
author: TimP
body: Hi Burcu,

I'd recommend configuring your server so that the minimum number of users (i.e. only your trusted System Administrators) have access to the filesystem and make the file readable only to the user that FishEye is running as.

As Partha points out on CRUC-1415, encrypting the password would only really prevent a casual browser from accidentally seeing the password. A malicious user with the right skills and patience would still be able to decrypt it and compromise your system. The best way to protect against this is to lock down your config.xml and your filesystem.

cheers,

Tim


author: Sergey Svishchev
body: That's not possible out of the box and Atlassian "Won't Fix" it -- <https://jira.atlassian.com/browse/CRUC-1415>


author: tzigone
body: Hi,

the customer has different products and each development group should access only to their source code, not others. They shouldn't see irrelevant codebase. Even if SVN account is read only, if someone sees that file, s/he can access entire code base. I wonder how other companies resolve this situation.
FishEye empty SVN repo not updating
Asked by Plexus ALM Support:

I have a FishEye repository pointing to an empty repo. By empty, I mean it was created but it has no commits. For whatever reason, it is not updating at all. All my other repositories are updating correctly every 15 minutes.

Here is the log (the actual repo URL has been redacted):

|-----------------------------------------------|----------------------------------|------|
| log -v -r 0:HEAD $repoURL/@HEAD               | Mon Jan 07 16:43:00 GMT-500 2013 | 31ms |
| info -r HEAD $repoURL/@HEAD                   | Mon Jan 07 16:43:00 GMT-500 2013 | 32ms |
| propget fisheye.access -r HEAD $repoURL/@HEAD | Mon Jan 07 16:43:00 GMT-500 2013 | 46ms |
| info -r HEAD $repoURL/@HEAD                   | Mon Jan 07 16:43:00 GMT-500 2013 | 94ms |

Any ideas? It updated 65 hours ago, when I restarted the repo. I could ask my users to make a commit, but it would spoil the bug/feature. :)

-Matthew


Answers:
author: Plexus ALM Support
body: The root cause turned out to be improper input in the repo's Updates -\> Polling Interval. I had set the interval to be "15" by mistake when it should have had a unit ("15m" in my case).


author: Daniel R
body: Hello PLXS ALM Support,

Please open a support request at <https://support.atlassian.com> so we can investigate further in private forum. Please attach debug logs to the ticket:

1. Go to Administration \> Global Settings \> Server \> Debug Logging and Turn Debug Logging "ON".  
2. Wait 1/2 an hour.  
3. Generate a Support Zip from the Administration} menu (Administration \>\> System Settings \>\> Atlassian Support Tools \>\> Support Zip) and attach it to the ticket you create.

Thank you,

Daniel
Is it possible to activate a trial of BitBucket BEFORE switching from SVN
Asked by Normand Carbonneau:

We are currently using FishEye/Crucible with SVN as part of our OnDemand hosted solution.

I want to try BitBucket in my environment BEFORE doing the switch, so, I can simulate the move and train my users until we are ready to move ahead with the switch.

Is it possible? If not, what do you propose?

Thanks, Normand


Answers:
author: aMarcus
body: **Bitbucket is FREE for any team at/under 5 users** . You can simply create a new test account on Bitbucket at any time by visiting [https://bitbucket.org/account/signup/](https://bitbucket.org/account/signup/.). You can then manually configure the team in your OnDemand account following our guides.

This way you can use Bitbucket very nearly exactly the same way you would if you activated it in OnDemand. To get started today, do the following:

* Sign Up - <https://bitbucket.org/account/signup/>
* Take the Bitbucket 101 - <https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+101>
* Setup the JIRA DVCS connector - <https://confluence.atlassian.com/display/BITBUCKET/Linking+Bitbucket+and+GitHub+accounts+to+JIRA>
* Read over our migration guide and give it a try - <http://go-dvcs.atlassian.com/display/aod/Migration+Introduction>

Again, this is 100% FREE all the time as long as \< 5 users have access to the Bitbucket account. Also, support is provided here or through [support.atlassian.com](http://support.atlassian.com).


Tags: bitbucket-cloud

cloud

fisheye-crucible-svn-ondemand
Unable to connect to my remote GIT repository
Asked by trebernju:

Hi,

I'm trying to set up a GIT repository for my compagny. It is located on a Linux remote server. I set it up with **gitolite** to manage the permissions.

Currently I'm trying to link FishEyes with this repository. I chose SSH (tried to upload the private key from the server and to generate the public key and set it up on the server).

The question is : If I chose the public-key solution, should I rename it in any way ? Where should I put it on the server ? Should I modify any file (like authorized_keys) ?

Also, is the syntax : <ssh://user@server/path/to/repo.git> ?

I need some help to link FishEyes to this repo using gitolite. Have someone here ever been in this situation ?

I keep having these kinds of error :

Error testing connection.  
Error talking to repository:   
'"null"' is not recognized as an internal or external command,

or

Error testing connection.  
Error talking to repository:   

fatal: 'server/repositories/repo_team.git' does not appear to be a git repository  
fatal: Could not read from remote repository.

Thanks in advance


Answers:
author: Bastiaan Jansen
body: Hi Julien,

I hope I understand your question correctly. Do you mean that you are trying to integrate your local git repo with an OnDemand Fisheye instance? If this is the case have you been informed regarding the [EOL announcement](http://go-dvcs.atlassian.com/display/EOL/Source+Review+Bundle+End+of+Service) for Fisheye OnDemand?

As this service is going to be decomissioned later this year it might be in your best interest to switch to a local copy of Fisheye.


Tags: cloud

fisheye-crucible-svn-ondemand

git

gitolite

ssh
Fisheye/Crucible becomes unusably slow over time (24-48 hrs) and consumes lots of CPU
Asked by Oliver Meyn:

Initially our installation was fine (starting around 2.7-ish) and then towards the end of 2.8 we started seeing dramatic slowdowns after the install had been running for a few hours/days (typically 24-48 hrs). When slow, and even without any users touching the app, top says the CPU is using at least 100%, often more. Restarting the app gets it back to normal speed.

It is not heavily used - we only have 8 people with accounts, and the slowdown happens when even a single reviewer is doing a review. It does seem to be related to reviews - browsing around doesn't seem to cause the problem. Though could be that we only care about performance when trying to do review so only notice then.

It has 4gb heap, and the VM it lives in has 16gb ram and 8 cores. It shares the VM with Jira and Confluence and the postgres instance they all read from, but that's it. Our svn repos are on googlecode. I upped the # of threads for indexing as suggested in your fecru performance tuning page.

As of issue creation it is in its slowdown state, publicly accessible at: <http://dev.gbif.org/code>


Answers:
author: Sergey Svishchev
body: Try to find out which thread(s) are consuming the CPU and look at thread dump to find what are they doing (use JDK's jstack to take the dump). If GC logging is enabled, look there for signs of thrashing too


author: JamieA
body: I see similar problems with 2.9... it grinds to a halt every 2 or 3 days.


Tags: performance
Prevent adding review comments once review is Completed
Asked by Avdhesh Chauhan:

We are using crucbile 2.7, And we are fcing the below behavious in crucible

I have two reviews for a file and person A has completed review - so the tool shows Person A 100% review completed

Now person B also starts reviewing and adds a new comment - not it shows person B is 100% and person a is 0%

The same will repeat even when both have completed review (100% Completd) and one person is adding a new defect - the other persons completion becomes 0%

Please help to solve this


Answers:
author: Renjith Pillai
body: The title of the question and the description seems to be two different things.
Why does my "use alternative author" setting not persist
Asked by aramey:

The only way I can find to force Sourcetree to use my correct author information on commits is by using the "use alternative author" option. However, after every commit this selection resets to "use default author".  

Why is my "use alternative author" selection not persisting?  

An alternate view of this question would read:  
"Why does the default author information in this selection override the author information configured everywhere else within Sourcetree, forcing me to rely on the 'use alternative author' selection for accurate author info on my commits?"


Answers:
author: JHOAN ANACONA
body: no deja descargar en el sourcetrre

comments: author: aramey
body: I'm sorry. I'm not sure whether this is meant to be an answer to my question.
?????????????????????????????????????
Asked by dmatsu2006:

???????????????????????????????????????????????????????3.3.8?????????????????

SourceTreeSetup-3.3.8.exe

????????????????????SourceTree??????????????????????????????????????

??????????????????????????????????????????????????????????


Answers:
author: Ai Hirama
body: ?????????????????????????

?????????????????????????????????????????????????????????????????????

??????????????????????????

1. C:\\Users\\%username%\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\?????
2. ?Atlassian?????????????????????
3. ????????????????????
4. ????????????C:\\Users\\%username%\\AppData\\Local\\SourceTree??????Sourcetree.exe???

????????????????????????

* [SourceTree is missing launch shortcuts](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-is-missing-launch-shortcuts/qaq-p/736285)

comments: author: dmatsu2006
body: ???????????????????????


author: Ai Hirama
body: ??????????????????????

???????????????????


Tags: language-ja
Getting error - Sourcetree? can?t be opened because Apple cannot check it for malicious software"
Asked by Ananda Bhaumik:

I am new to Bitbucket, tried to download the Mac version of Sourcetree to connect with my Bitbucket repository. After downloading getting the issue -

**"Sourcetree" can't be opened because Apple cannot check it for malicious software**


Answers:
author: josephbruni
body: Unfortunately, the only solution would be to override GateKeeper. To do this, after you see that warning, open System Preferences-\>Security \& Privacy-\>General. You should see a warning and a button near the bottom labeled "Open Anyway". This will bypass GateKeeper and open Sourcetree.

Ideally, Atlassian would use a code-signing certificate from Apple to avoid this situation.
Authentication failed after I changed my enterprise password
Asked by Onur Arpapay:

I work in a company and we use "git on tfs" on premise solution for source control. I use SourceTree since I am too old to learn git.

Short: How do I set up my enterprise "Git on TFS" account on Sourcetree?

Long:

Every time I change my company password, I struggle with SourceTree to make it working again but I always sometimes succeed... until today. I cannot change my password and I was also not able to define a new account within Sourcetree.

\* Hosting Service: Git on TFS - On Premise. So which one should I select? Bitbucket server? Azure DevOPS?

\* Host URL should be the same URL that we use to clone repos, shouldn't it?

\* Authentication was basic, that I am sure.

\* Username: My enterprise gid that I use to log on to Windows, OR my email address?

Afterwards I hit "refresh password" but get a 404 error.

What should I do? There are some posts regarding personal access tokens but they are 7 years old and the solutions provided there don't work anymore.


Answers:
author: Onur Arpapay
body: I couldn't find any different and nicer solution than deleting the password file (as suggested here: <https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564>), unfortunately. Sourcetree might perhaps think about asking for a new password if there is an authentication error.
SourceTree Forbbiden, but ssh -Tv -l >>username<< git@bitbucket.org works
Asked by Marcus:

I have multiple Bitbucket accounts. One is a personal account, which is working perfectly. The other is a work account where I have a personal profile as well as a team profile which owns the repo in question.

As of last night I am unable to get Sourcetree to authenticate with the work repo. I was getting the Atlascode VSCode extension up and running when everyone broke.

My personal account has an ssh key pair configured which works from the terminal (ssh -Tv bitbucket.org) as well as pushing, pulling \& fetching via Sourcetree.

My work account has an ssh keypair configured on the personal work account. That account has admin rights to the team account and the repo. I am able to run *ssh -Tv -l \>\>work_username\<\< git@bitbucket.org* from terminal successfully, but any action performed through Sourcetree yields the error  
"Forbidden  
fatal: Could not read from remote repository.  
Please make sure you have the correct access rights and the repository exists."

I have also ensured \~/.ssh/config has the correct host settings. I have been trying to fix this for hours now and I am simply out of ideas.


Answers:
author: Marcus
body: Of course after posting this I figure it out... Despite not requiring this configuration in the past (with exactly the same setup as I have now) I essentially started over again and setup my ssh keys manually in terminal by following this guide <https://blog.developer.atlassian.com/different-ssh-keys-multiple-bitbucket-accounts/>
How to change login credentials for Github?
Asked by Gerhard Mueller:

Github will soon change its login credentials:

"Basic authentication using a password to the API is deprecated and will soon no longer work. Visit <https://developer.github.com/changes/2020-02-14-deprecating-password-auth/> for more information around suggested workarounds and removal dates."

I have tried to change to OAuth but it does not work. I always get this when i try a push:

"Pushing to <https://github.com/CarCode/Cocoa-OCPN>  
remote: Permission to CarCode/Cocoa-OCPN.git denied to CarCode.  
fatal: unable to access '<https://github.com/CarCode/Cocoa-OCPN/>': The requested URL returned error: 403"

Where do I find any information to connect Sourcetree to Github with the new authentication? Or is that not supported by Sourcetree? I use version 4.0.1 for macOS.


Answers:
author: P_ Mergey
body: I guess [this answer](https://community.atlassian.com/t5/Sourcetree-questions/How-do-I-use-a-personal-access-token-PAT/qaq-p/1263836 "How do I use a personal access token (PAT)") might help you.

<br />

In my case, I was able to rather simply switch to the new authentication (using personal token) which now seems to work (without sending me any [depreciation notice](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/ " Deprecating password authentication ")).

comments: author: Gerhard Mueller
body: Thank you, got it now.


author: bgf777
body: How did you get this to work? My new token works fine from command line git, but nothing I try will be accepted by sourcetree.

I'm using basic auth.

For user name i've tried my github username, the email address I use, others. But nothing works. With command line git I use my full email for username, and I use the token as the password. no problems.

What does sourcetree want as my username? The same thing command line git wants (my email)? something else?  

do I need to give my token more scopes just so source tree can log in?

comments: author: P_ Mergey
body: As I wrote above, you can check answers to this [related question](https://community.atlassian.com/t5/Sourcetree-questions/How-do-I-use-a-personal-access-token-PAT/qaq-p/1263836 "How do I use a personal access token (PAT)") (and maybe more particularly [this one](https://community.atlassian.com/t5/Sourcetree-questions/Re-Re-How-do-I-use-a-personal-access-token-PAT/qaq-p/1777854/comment-id/39193#M39193)). In addition, an interesting summary of procedures can be found on [Stack Overflow](http://%20https://stackoverflow.com/a/68192394/4094098).
How to pop a stash in SourceTree?
Asked by Sergei Kulagin:

How to pop a stash in SourceTree? I stashed some work on a branch, now Stash button is greyed out and both - stash list nor pop are nowhere to be found.


Answers:
author: Sergei Kulagin
body: Ok, found it on the left-side menu:

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


Tags: atl-gruland
Why I should press F5 for refresh.
Asked by tsi:

Something I feel souretree is not update my work.

I just test post.


Answers:
author: Alexander Sorg
body: there is a known bug in the current release. Try to close all tabs after starting Sourcetree and re-opening them. This should fix the update problem.

comments: author: tsi
body: Thank you.

I hope the new release fixes this bug.


author: John Perry
body: Updated: I still experienced this issue in 3.3.8 (had to hit F5 when I changed branches) till I tried [@Chris Weber](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3692443) 's workaround to [#1270390](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-3-3-6-not-updating-UI-content-properly/qaq-p/1270390), which solved my issue with the Sourcetree GUI update AND branch views in the Win 10 file explorer. Thanks, Chris!
I have 100 Jira users but for confluence I want to get license only for 20 users and give access to
Asked by Ayush Shrestha:

I have 100 Jira users but for confluence I want to get license only for 20 users and give access to 20, Can I do that?


Answers:
author: Kristian Klima
body: Hi [@Ayush Shrestha](/t5/user/viewprofilepage/user-id/5498618) and welcome.

Yes.

You can mix and match your needs when it comes to product tiers and the number of users.

You Jira can be 100 users on Jira Premium and you can give 20 of those people access to Confluence Standard (set up Jira first, then set up Confluence and invite 20 people as users).

Also... not every Confluence user must have a seat on Jira.

comments: author: Ayush Shrestha
body: [@Kristian Klima](/t5/user/viewprofilepage/user-id/5074962) Than you so much for the reply, This is really helpful.


Tags: cloud

confluence-cloud
Can't install Sourcetree on Windows 7
Asked by MrAmericanMike:

So I'm trying to install Sourcetree but after selecting Bitbucket on the Registration step, even when it opens the browser with the link to authorize the app and it says I can close the tab not, the installation proccess goes back to the same registration tab with the 2 options and it wont continue.

What am I missing here?![654.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/93719i093AC4966B8C939C/image-size/large?v=v2&px=999 "654.PNG")


Answers:
author: Jose Manzano
body: It's the same for me. Impossible to install...


author: dmitry_sapelnikov
body: Here it's a solution that works for me.

**You need to enable TLS 1.2 protocol**(it is disabled by default on Windows 7.)

An article explaining how to do this:

<https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-wi>

So you can either install MS update or manually create a registry key using regedit:

Registry location: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL\\Protocols\\TLS 1.2\\Client  
DWORD32 name: DisabledByDefault  
DWORD32 value: 0

comments: author: TheRG2
body: Thanks, it worked for me too.

Sadly, it seems that SourceTree can not be installed on computers without an internet connection. Not installed = not used.


author: Dmytro
body: Same problem. Used FireFox to confirm access...


author: Jose Manzano
body: I solved by it installing an old version.


author: TheRG2
body: Exactly the same problem, I see no future with this "tool".