youngmon/atlassian-qna huggingface dataset:
Crucible: Running groovy scripts?
Asked by Brent Webster:

Jira has scriptRunner to easily run groovy scripts. Is there an equivalent plug-in for Crucible/Fisheye.  
Or can groovy scripts be run in another fashion?


Answers:
author: Timothy
body: No. This could be the closest thing ([](https://marketplace.atlassian.com/plugins/org.swift.atlassian.cli)<https://marketplace.atlassian.com/plugins/org.swift.atlassian.cli>)

comments: author: Brent Webster
body: Getting more dissappointed. :-((


author: JamieA
body: The latest beta version ([](https://jamieechlin.atlassian.net/wiki/display/GRV/Upgrading+to+3.0)<https://jamieechlin.atlassian.net/wiki/display/GRV/Upgrading+to+3.0>) works in stash and confluence as well as jira. But no intention to make it work in fecru...


author: lpater
body: The easiest way to achieve that would be to write a Crucible Java plugin that listens to the events that interest you (ReviewStateChangedEvent in your case), and calls the JIRA rest api.


author: Brent Webster
body: I want the scripting to communicate back to Jira (i.e. when a review is closed, have one or more fields in Jira updating).

Re: [Can Crucible update a Jira field when review closed?](/questions/306656/can-crucible-update-a-jira-field-when-review-closed/306909)


author: Tom Davies
body: What is it you want to accomplish? You may be able to use FishEye/Crucible's REST API.


Tags: fisheye-crucible-administration
fisheye, globally set number of lines displayed in diff
Asked by Brent Webster:

Under the View pulldown menu, there is the option for 3, 20,100 or full content when viewing each diff but it works on a per file basis. Where can I globally set this option?


Answers:
author: Piotr Swiecicki
body: You can change this in Profile Settings, see:

![](https://monosnap.com/image/zs83IZNFBIW017TJ7hdF1FhjDVvWm8.png)
fisheye, how to tell how many diffs in a file
Asked by Brent Webster:

How do you tell how many diffs are associated with each file in the review?


Answers:
author: Brent Webster
body: With a previous question/issue, I was told to disable "Show diff info" for performance concerns so it looks like there is no real solution. Hmmmmmm. It's a reasonable request with no obvious solution.


author: Tom Davies
body: Can you explain exactly what you mean? Do you mean how many different revisions with each file? Or in how many places two revisions differ?


author: rsperafico
body: Hello,  

Please, have a look at [](https://confluence.atlassian.com/display/FISHEYE/Store+diff+info)<https://confluence.atlassian.com/display/FISHEYE/Store+diff+info>

Kind regards,  
Rafael
Disk space, espceially the var\cache taking up a lot of space and growing?
Asked by Nelson Faustino:

our repository is only 10G, but our fisheye\\var\\cache folder is over 80G and growing? is there a way to manage this?


Answers:
author: gustavo_refosco
body: Hi Nelson,

<br />

If the structure of your repository is different of the convention, it would matter, possibly making the caches growing more than expected, so you would need to configure the Symbolic Rules as per the instructions in the [SVN tag and branch structure](https://confluence.atlassian.com/display/FISHEYE/SVN+tag+and+branch+structure) document. This is further explained under [How Subversion works](https://confluence.atlassian.com/display/FISHEYE/SVN+tag+and+branch+structure#SVNtagandbranchstructure-HowSubversionworks) in the same document.

Additionaly, for reference, I'm sending a document regarding disk space consumption, in which the recommendation to check the Symbolic Rules is also included among the resolutions proposed: [](https://confluence.atlassian.com/pages/viewpage.action?pageId=280069520)<https://confluence.atlassian.com/pages/viewpage.action?pageId=280069520>

comments: author: Nelson Faustino
body: curious what can happen at thsi point if i change that order of the structure? what could be affected?


author: gustavo_refosco
body: Nelson,

Please could you clarify what you mean by "order of the structure"? I think I'm missing your point, please attach screenshots also if you believe they would be helpful to understand your case.


author: Nelson Faustino
body: sorry. If I look at my svn server, its structure is listed as

Project

branches

tags

trunk

If I look at the documentation, it lists it as

project

trunks

branches

tags

<br />


author: Nelson Faustino
body: trying to figure out how to attach an image


author: gustavo_refosco
body: Hi Nelson,

It is expected that the caches of the repositories will be larger than the repo itself as per our [Supported Platforms](https://confluence.atlassian.com/display/FISHEYE/Supported+platforms) document, but it is not expected this would take more than 2 or 3 times of the repo size.

Is this an SVN repository? For a SVN repo this might happen if the Symbolic Rules are misconfigured. If this is the SCM you are using, please take a look at the [SVN tag and branch structure](https://confluence.atlassian.com/display/FISHEYE/SVN+tag+and+branch+structure) document ensuring the structure of your repo matches the definition of the Subversion Red Book, or in case the structure is different, that your Symbolic Rules are properly configured.

comments: author: Nelson Faustino
body: Does it matter if when I look at my svn repository it shows

Project

branches

tags

trunk in that order vs

project branches tags trunks


Tags: fisheye-crucible-administration
Unable to initialise repository DemoRepo due to com.cenqua.fisheye.config.ConfigException:Could not access
Asked by Vinutha Vasan:

Hi All,

I am not able to access the SVN repository from Fisheye/Crucible.

Geeting the belwo error.

I am using the correct user name and password. I tried to connect to the repository through browser and was successfull but not throught the Fisheye/Crucible application.

Kinldy le me know what is the issue.

**Error**  
Unable to initialise repository DemoRepo due to com.cenqua.fisheye.config.ConfigException:Could not access <https://subversion.apps.anz/svn/tbos/source/PaTS/service-controller/trunk/>: org.tigris.subversion.javahl.ClientException: svn: E170001: PROPFIND of '/svn/tbos/source/PaTS/service-controller/trunk': 403 Forbidden ([](https://subversion.apps.anz)<https://subversion.apps.anz>)

Thanks,

Vinutha


Answers:
author: Felipe Kraemer
body: Hi Vinutha,

Can you try to run this command via Command Prompt / Terminal on the server where FishEye is installed:

svn info [](https://subversion.apps.anz/svn/tbos/source/PaTS/service-controller/trunk/)<https://subversion.apps.anz/svn/tbos/source/PaTS/service-controller/trunk/>

Then, when prompted, pleae type in the same username and password configured in FishEye.

If it also fails, it means that the user provided does not have permission in SVN directly to access the path [](https://subversion.apps.anz/svn/tbos/source/PaTS/service-controller/trunk/)<https://subversion.apps.anz/svn/tbos/source/PaTS/service-controller/trunk/>.

You might also find this Knowledge Base article useful:

[https://confluence.atlassian.com/display/FISHKB/'403+Forbidden'+Error+When+Trying+to+Add+a+Repository+to+FishEye](https://confluence.atlassian.com/display/FISHKB/%27403+Forbidden%27+Error+When+Trying+to+Add+a+Repository+to+FishEye)

I hope this helps!

Kind regards,  
Felipe Kraemer  
Atlassian Support


Tags: fisheye-crucible-administration
Incorrect cyrillic encoding for new scripts when loading patch
Asked by Rinat Sharipov:

![](../../../upfiles/CRU_INCORRECT_ENCODING_EXAMPLE_3.jpg)Hi, all

When I'm loading patch, which contains new scripts with cyrillic symbols, this scripts display incorrectly.

Is there such a problem, or it is a problem of my settings ?

Could you help me, how I can solve this problem ?


Answers:
author: Tom Davies
body: Hi Rinat,

This is a bug which will be fixed in a future version of Crucible.

Please watch this issue: [CRUC-6818](https://jira.atlassian.com/browse/CRUC-6818) to be informed of our progress.

Thanks,

Tom


author: Rinat Sharipov
body: ![](../../upfiles/CRU_INCORRECT_ENCODING_EXAMPLE_2.jpg)
Crucible: Do file comments propagate to subsequent revisions in a later release?
Asked by Brent Scriver:

Context: Crucible v3.1.2, Perforce SCC

In-line comments in a file don't propagate between revisions resulting in extremely painful navigation to find comments and then verify changes.

This is exacerbated for new files where we can't also review the diffs between revisions and have to manually download files to diff them. It's even worse if for some reason files aren't rooted.


Answers:
author: Felipe Kraemer
body: Hi Brent,

According to [our documentation](https://confluence.atlassian.com/display/CRUCIBLE/Adding+comments), comments can be added at the level of a review, revision, or line. So, they don't get propagated to other (new) revisions committed. Comments are linked to Crucible reviews, which have revisions. Comments are not linked to revisions directly.

Comments added to a file being reviewed will be linked to that file version in that specific review.

Kind regards,  
Felipe Kraemer


author: Nic Brough -Adaptavist-
body: This is the same as several other questions you've recently asked. The answer remains "check the issue tracker for Crucible and read the release notes"


Tags: comment

perforce

revision
??????????
Asked by kinugasa:

????master???3???????????

origin/master???3?????master?????????

????????????????????????origin/master?????master???????????????????

fetch????????????????

![????????? 2021-02-17 142917.png](/t5/image/serverpage/image-id/130782i1A71B1D5267694B1/image-size/large?v=v2&px=999 "????????? 2021-02-17 142917.png")


Answers:
author: Tomoko Suzuki
body: ?????????????????????????

??????????? master ???? git status ????????????????????????????

??????????????????????? master ?????? master ??? origin/master ?? 3 ???????????????????

```
Your branch is ahead of 'origin/master' by 3 commits.
```

????? master ?????? master ???????????????????????????????????????

* ??? master ?????????? git push origin ?????????????
* ????????????? origin/master ?????????? git reset --hard origin/master ???????????????????

??: [Your branch is ahead of 'origin/master' by 3 commits](https://stackoverflow.com/questions/16288176/your-branch-is-ahead-of-origin-master-by-3-commits)


Tags: language-ja
Sourcetree not working after upgrade to v3.2.1
Asked by Binaya Kc:

Sourcetree version: 3.2.1  
Bitbucket DC version: 6.10.0  
OS: Catalina v10.15.7  
Sourcetree asks for username and password even when using SSH

Previously, when using an older version of Sourcetree (not sure which exactly), we only got prompted for SSH keys.

After upgrading Sourcetree, we get prompted for username and password during setup. I used Personal Access Token (PAT) as password and was able to get authenticated, see all the repos.  
While cloning, using HTTPS, I get error "This is not a valid source/path url" below

```
fatal: unable to access 'https://username@company.com@url.com/scm/repo/repo.git/': Could not resolve host: company.com@url.com
```

When using SSH, I get error "This is not a valid source/path url" below

```
Please make sure you have the correct access rights

and the repository exists.

git@company.com: Permission denied (publickey).

fatal: Could not read from remote repository.
```

our email address is our username and we are encouraged to use SSH instead of HTTPS as only SSO login is available.  
I have tried most of the solutions mentioned in the community but without any luck.

Any help will be highly appreciated.

Thanks


Answers:
author: Dave Liao
body: [@Binaya Kc](/t5/user/viewprofilepage/user-id/1302758) - try updating to the latest Sourcetree version? For macOS, you should be able to [get version 4.x](https://www.sourcetreeapp.com/).
I am unable to perform git functions from Sourcetree to AzureDevops (PAT issue).
Asked by sean76:

I am unable to perform git functions to AzureDevops as my Personal Access Token has expired.

When I generate a new PAT and add it to my account, it still does not let me perform git functions.

This is error I get:

*git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/feature/new_chat_button_issue:refs/heads/feature/new_chat_button_issue*

*Pushing to <https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile>*

*fatal: Authentication failed for '<https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/>'*

*Pushing to <https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile>*

*fatal: Authentication failed for '<https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/>'*

*Pushing to <https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile>*

*fatal: Authentication failed for '<https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/>'*

*Completed with errors, see abovePushing to <https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile>*

*fatal: Authentication failed for '<https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/>'*

*Completed with errors, see above*


Answers:
author: sean76
body: I found that along with updating the account in Sourcetree, you also have to go into Visual Studio =\> Version Control =\> Manage Remotes and Branches. You can then reconnect your remote with AzureDevops via your microsoft login.


author: Nic Brough -Adaptavist-
body: Could you explain what this has to do with Atlassian?

comments: author: sean76
body: I can generate the new PAT in AzureDevops, but when I add to my account in sourcetree, it does not seem to work. Sourcetree was functioning correctly until my PAT expired. It seems that there are steps I am not performing correctly in Sourcetree to update my account. Please help.


author: sean76
body: I am running Sourcetree on Mac version 4.0.2(236).

I have also tried to add a new account with the new PAT, but with no success.

Thank you.
I cannot push
Asked by Natasya Salsabila C1281622:

an error like this   
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master  
remote: Invalid username or password.  
fatal: Authentication failed for '<https://github.com/natasyaslsbila/my-repo-from-remote.git/>'  
Pushing to <https://github.com/natasyaslsbila/my-repo-from-remote.git>  
Completed with errors, see above.

what should I do? Thank you


Answers:
author: Nic Brough -Adaptavist-
body: Start with a look at the error messages. The bits of them youhave shared seem simple - you're not authenticated and hence need to give the repo th right user data to connect.

comments: author: Natasya Salsabila C1281622
body: Thank you sir
Invalid client_id message when creating Bitbucket cloud account
Asked by Richard Howells:

Hi,

I have a working install of SourceTree on my old computer. I want to install SourceTree on my new computer.

The installer requested me to login to my Bitbucket account - that worked. The installer asked for a Bitbucket cloud id. I have no memory of creating one on my old computer and I have no record of one. I gave it a cloud id which it accepted. Then on the url - <https://bitbucket.org/site/oauth2/authorize> - I see...

Confirm access to your account {#toc-hId--1272336534}
-----------------------------------------------------

Invalid client_id

This integration is misconfigured. Contact the vendor for assistance.

Screenshot -

![Atlassian-Oauth-InvalidClientId.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/130407i545F1EF6DDEDC90A/image-size/large?v=v2&px=999 "Atlassian-Oauth-InvalidClientId.PNG")

... I searched for posts mentioning Invalid client_id, and did not find anything that seemed relevant to this problem.

My old install (SourceTree 2.3.1.0) still works on my old computer.

How may I complete the install on my new computer?


Answers:
author: Richard Howells
body: Hmm. To my shame/surprise discovered that the installer would let me skip this step. SourceTree seems to work fine on my new computer without the cloud part.

No idea if something will turn out to be broken later and I would like to get the invalid client_id issue sorted out.


Tags: install
Unable to commit files under new branch
Asked by Divya.Sarikonda:

![MicrosoftTeams-image.png](/t5/image/serverpage/image-id/130456i1A91E32185417520/image-size/large?v=v2&px=999 "MicrosoftTeams-image.png")


Answers:
author: Theodora Boudale
body: Hi [@Divya.Sarikonda](/t5/user/viewprofilepage/user-id/4260980) ,

I see that you opened a support ticket open for this issue and I've talked with my colleague who responded to that ticket.

She told me that you were able to commit your file locally, but then you were not able to push this commit. Is this correct?

I would like to ask a few questions so we can better help you:

1. You mention that you are unable to commit files under new branch, but I see in the screenshot that for this specific repo, only master branch exists locally. Have you created a local branch other than master in SourceTree, and have you created a commit in this new branch?

2. Is there a remote URL set for this repo? You can check this if you select **Settings** (from the top right corner in your screenshot, while this repo is open in ST) \> tab **Remotes**. Is there a URL there for the Bitbucket repo?

Kind regards,  
Theodora
custom action doesn't work, but work with command line
Asked by Darong Liu:

I add a customer action to compare 2 commits with Beyond compare. it works in one PC with sourcetree version 2.5.5.0

Now I want to do same thing in my new PC with sourcetree version 2.6.10.0, The output is:
> git difftool --dir-diff --tool=sourcetree 12a402ff418973ab64579a210f3b96fe446c1ca1 1e4888c75b58f4d7bc4d6fe3484426f40b99171f
>
> Completed with errors, see above.

If I run same command in Terminal of sourcetree on this new PC, it works fine.

Compare single file with "External Diff" from GUI also works fine.


Answers:
author: saranya.sellamuthu
body: You need to change your parameters to the below to open the differences in beyond compare.

***git difftool --dir-diff --tool=bc3 12a402ff418973ab64579a210f3b96fe446c1ca1 1e4888c75b58f4d7bc4d6fe3484426f40b99171f***

If it doesn't work, try changing the script option as the full path

C:\\Users\\\<YourName\>\\AppData\\Local\\Atlassian\\SourceTree\\git_local\\bin\\git.exe
Showing error this is not a valid path/URL while cloning a code
Asked by Rushant Gaware:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote [https://bitbucket.\*\*\*\*.com/scm/\*\*/\*\*\*.\*\*\*\*.git](https://bitbucket.harman.com/scm/har/harleyphoenix.git)  
Output:  
Error: fatal: remote error: CAPTCHA required  
Your Bitbucket account has been locked. To unlock it and log in again you must  
solve a CAPTCHA. This is typically caused by too many attempts to login with an  
incorrect password. The account lock prevents your SCM client from accessing  
Bitbucket and its mirrors until it is solved, even if you enter your password  
correctly.

If you are currently logged in to Bitbucket via a browser you may need to  
logout and then log back in in order to solve the CAPTCHA.

Visit Bitbucket at [https://bitbucket.\*\*\*\*\*\*.com](https://bitbucket.harman.com) for more details.


Answers:
author: Nic Brough -Adaptavist-
body: Yes.

There's not a lot more we can tell you, you've not bothered to explain the problem or why you have not logged into bitbucket and completed the challenge as the error message tells you to.

comments: author: Rushant Gaware
body: Already I have completed all the challenges as error message tells...still this issue is there.


author: Nic Brough -Adaptavist-
body: Then my best guess is that you're using a different account in the UI and on the command line.

I'd want to talk to an admin of your Bitbucket system, they can see (and reset) failed login counts and captcha flags. They'll also be able to tell you why it's locking.


author: Rushant Gaware
body: yah sure...please talk with admin and kindly guide me resolving this issue on priority


author: Nic Brough -Adaptavist-
body: I can't. I have no idea who your admins are. You'll need to find them and talk to them.
Sourcetree asks to download binary content (LFS) on start
Asked by Zogu:

I updated to Sourcetree 3.4.2.

Now every time I open Sourctree it freezes for a 5-10 seconds and asks me to download LFS content.

![Sourcetree git lfs.png](/t5/image/serverpage/image-id/129930iFA7F084FFC535A9D/image-size/large?v=v2&px=999 "Sourcetree git lfs.png")

No mater what I chose it happens again on next start.

Tried with embedded (git v2.29.2 + git-lfs v2.12.1) and system (git v2.30.1 + git-lfs v2.13.2) git version.

This config is set for LFS:

fetchrecentcommitsdays = 7  
pruneoffsetdays = 13

Repository is hosted on local GitLab server.

How fix this?


Answers:
author: Zogu
body: After updating to Sourcetree 3.4.3 dialog message is shown only once if I choose Yes. Next time when Sourcetree is opened it still freezes for 5 to 10 seconds and executes this:  
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks lfs pull

When I chose Yes on dialog message on closing Sourcetree it updates sourcetreeconfig.json -\> "NeedsLargeFilesPull": true. If I change "NeedsLargeFilesPull" to false dialog message appears again.


Tags: git-lfs
How do I connect to Azure DevOps?
Asked by John Van Vliet:

I am unable to connect to Azure DevOps using a Personal Access Token. I have tried many different approaches. Has anyone been able to connect? I can't find instructions on the SourceTree site.


Answers:
author: Vero Rivas
body: Hi [@John Van Vliet](/t5/user/viewprofilepage/user-id/1028330)

Look at this posts, maybe can help you:

[https://www.eekay.nl/index.php/2020/connect-atlassian-sourcetree-with-azure-devops-git-repo/#:\~:text=On%20Source%20Tree%2C%20go%20to,for%20the%20password%20as%20well](https://www.eekay.nl/index.php/2020/connect-atlassian-sourcetree-with-azure-devops-git-repo/#:~:text=On%20Source%20Tree%2C%20go%20to,for%20the%20password%20as%20well)

<https://eekayonline.medium.com/connecting-atlassian-sourcetree-with-your-azure-devops-git-repo-b88aeab91b00>

<https://community.atlassian.com/t5/Sourcetree-questions/Connect-Azure-Devops-Account/qaq-p/998780>

<http://blog.wsoft.se/2020/03/20/azure-devops-repos-with-sourcetree-adding-working-authentication/>

Cheers

comments: author: John Van Vliet
body: Thank you for the response.

It seems like Atlassian doesn't really support Azure DevOps. The solutions are complex and only come from the community -- nothing from Atlassian.

I'm comparing SourceTree, GitKraken, and SmartGit. It's easy to connect the others to DevOps. I can't continue with SourceTree when it fails at the first (easiest) step.
How to lock a tag
Asked by Barbara Nie:

Is there a way to lock (no rename, no move, no deletion) a tag?


Answers:
author: Mikael Sandberg
body: Hi [@Barbara Nie](/t5/user/viewprofilepage/user-id/4257337),

Welcome to Atlassian Community!

There is no option in Git for locking a tag, and you cannot prevent someone from editing the tag locally. What you could to is add a hook that prevent them from pushing any tag updates to the remote repository. Have a look at this [Stack Overflow question](https://stackoverflow.com/questions/6390966/disable-tag-deletion) for some ideas on how to do that.

comments: author: Barbara Nie
body: Thank you


Tags: git