youngmon/atlassian-qna huggingface dataset:
Can I authenticate linux user accounts (using pam) against crowd *or* is crowd an ldap server
Asked by Colin Yates:

Title says it all :)

At the moment I have an ldap server which linux, jira, bamboo and fisheye authenticate against. I understand that I can stick crowd in the middle for jira, bamboo and fisheye, but I can't seem to find any information on configuring the linux boxen to authenticate against crowd.

If crowd doesn't directly support PAM then it would be great if crowd would act as the an LDAP \*server\*. The whole point of moving away from a "plain" LDAP server is it is too hard to configure and define groups in.

So, is there a native PAM connector for crowd \*or\* can I get crowd to act as an LDAP server?


Answers:
author: Martin Cooper
body: You can get Crowd to manage your LDAP server, if set the trust between CROWD and LDAP then can update, and add users groups directly from Crowd.

So whilst it isn't an LDAP server in its own right it can make managing one a lot easier.


author: Brenden_Tuck
body: There is now a native C .so-based pam module available: <https://github.com/mbidewell/pam-crowd-auth>


author: no_longer_in_sudoers_file
body: There is a solution: <https://bitbucket.org/atlassian/crowd_pam/wiki/Home>

Three of us (Sam Caldwell, @Brendan Shaklovitz, and Zach Boody) recently used this problem for Atlassian ShipIt 31. What we built is a working PIP package (which we need to get up to PyPI soon) that will allow users to extend PAM to authenticate against Atlassian Crowd.

Right now this only supports user/pass authentication against Crowd, but we plan on adding SSH key support and additional meta data parameters for user accounts.


Tags: crowd

ldap

security
Is is possible to turn on mod_cache for Crucible?
Asked by Hieu Le Trung:

Hi,

I have performance issue on Crucible/Fisheye. Is it safe to use mod_cache for this one?

Thanks,

-Hieu


Answers:
author: jhinch _Atlassian_
body: I wouldn't say you're going to get a silver bullet when it comes to performance with FishEye/Crucible. You probably want to speak speak to [support](http://www.atlassian.com/support/) and they can help tune your instance. Often misconfigured instances cause performance issues, but it really depends on how you are using the product, how big your repositories etc.

comments: author: Hieu Le Trung
body: Thanks Jason, I'll ask support then.
java.sql.BatchUpdateException: Batch entry 2 insert into cru_review_participant
Asked by Hieu Le Trung:

Hi,

I got a lot of exception like following

Caused by: java.sql.BatchUpdateException: Batch entry 2 insert into cru_review_participant (cru_review_id, cru_user, cru_author, cru_moderator, cru_reviewer, cru_all_complete, cru_last_read, cru_status_change, cru_time_spent, cru_time_submitted, cru_participant_id) values ('744', '5', '0', '0', '0', '0', NULL, NULL, NULL, NULL, '2589') was aborted. Call getNextException to see the cause.

at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2586)

at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1811)

at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407)

at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2725)

at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)

at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)

at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)

... 134 more  
How to resolve it?  
Thanks,  
-Hieu


Answers:
author: seb
body: The best place to ask this is in our support center at <https://support.atlassian.com/> where our support engineers can help you resolve this.
FishEye: ClearCase initial indexing very slow
Asked by Sascha Herrmann:

Hi!

I have a newly set-up FishEye/Crucible (2.6.1) running. Indexing of the CVS repositories was a walk in the park.

Now, I also have three ClearCase repositories (which we will migrate to SVN or Perforce later this year).

The initial indexing of the first VOB never completes, it seems.

In the log I see entries like:

```
2011-07-13 04:27:45,410 DEBUG [InitialPinger1 MedoraNative_CC] fisheye.app ClearCaseRepositoryScanner-processBranch - Finished Branch atlserver_vendor_branch
2011-07-13 04:27:45,410 INFO  [InitialPinger1 MedoraNative_CC] perf.timer Timer-output - <- clearcase.processBranch: atlserver_vendor_branch  time 33450554023 micros mem_usage = 255340032 heapsize = 461512704 freemem = 206172672
2011-07-13 04:27:45,410 INFO  [InitialPinger1 MedoraNative_CC] perf.timer Timer-output - -> clearcase.processBranch: attic mem_usage = 255345264 heapsize = 461512704 freemem = 206167440
2011-07-13 04:27:45,410 DEBUG [InitialPinger1 MedoraNative_CC] fisheye.app ClearCaseRepositoryScanner-processBranch - Starting Branch attic
2011-07-13 04:27:45,410 DEBUG [InitialPinger1 MedoraNative_CC] fisheye.app RepositoryStatus-setMessage - Status change [MedoraNative_CC]: Retrieving change set history for: attic
2011-07-13 04:27:45,410 INFO  [InitialPinger1 MedoraNative_CC] perf.timer Timer-output - -> cleartool.execute: desc -fmt %Nd "vob:\RISiClient"  mem_usage = 255362120 heapsize = 461512704 freemem = 206150584
2011-07-13 04:27:45,410 DEBUG [InitialPinger1 MedoraNative_CC] fisheye.app ClearCaseContext-executeInteractiveCommand - Executing desc -fmt %Nd "vob:\RISiClient"  in: O:\fisheye_native_view
2011-07-13 04:27:45,520 INFO  [InitialPinger1 MedoraNative_CC] perf.timer Timer-output - <- cleartool.execute: desc -fmt %Nd "vob:\RISiClient"   time 70338 micros mem_usage = 261031968 heapsize = 461512704 freemem = 200480736
```

If I read this correctly, then it took almost 10 hours, for one branch. So ... two branches a day ... at that speed, the initial indexing will take weeks. What am I missing here? I tried snapshot and dynamic views, no noticable difference. Is that normal?

Sascha


Answers:
author: Conor
body: Thanks for raising a support case for this issue. It has now been fixed and will be included in the 2.6.3 release.

comments: author: Sascha Herrmann
body: Thanks. That's first class customer-supporting.


author: sangram sangram
body: Be aware that Atlassian has dropped support for ClearCase/Fisheye !


author: Sascha Herrmann
body: Forgot to add that the CPU of java.exe during the indexing is at 100%. The cleartool instance used pratically idles.
Is it possible to do a search list of review on Crucible?
Asked by Hieu Le Trung:

Hi,

I want to do a search list of review created by one user on Crucible. Is it possible? How?

I use the filter but it's just to filter out my list of review.

Thanks,

-Hieu


Answers:
author: Adam
body: Filters are exactly what you want. Look in "Custom Filters" in the left sidebar of your Review Dashboard (to get to the Review Dashboard, click the word "Reviews" in the header).

There is a field for Creator, and one for Author that you can use to filter the list of reviews. If that doesn't work for you, please let me know what goes wrong.

You can also use EyeQL in the Advanced search farther down the sidebar if you have a more complicated query (but you shouldn't need it for this).

comments: author: Hieu Le Trung
body: I see, but I need to go to All Reviews instead of My Dashboard in order to get all reviews.


author: Hieu Le Trung
body: I've fixed the issue by writing a script to connect to database and get the result.

Thanks,

-Hieu
how to re-send files to review after implemeting reviewers comments?
Asked by Hava Babay:

Hi all,

I'm a fresh user of Crucible. I'd appriciate your help in figuring out how to use crucible in our code review process.

This is our review process:

1. send files for review

2. the reviewer(s) add comments

3. the author sends the code for a second review after making changes according to comments

4. steps 2 \& 3 can repeat until there are no more comments and the review is complete.

I would like to know how an author can re-send files for review after performing changes according to comments. I prefer not to create a new review when re-sending files, but continue with the same review, until it is complete.

Thanks in advance,

Hava


Answers:
author: Adam
body: There are a few options for adding new revisions to a review. The two easiest are:

1) If you have FishEye, you can find the new changeset in your Activity Stream, click the Cog menu for that changeset, and choose "Create Review". This will suggest existing reviews to add it to instead (and you can pick the one you want to add it to).

2) In the Crucible review, click the "+" icon at the top of the left sidepanel. This will let you add new changesets/files/patches to the review.

There are also "Create Review" links on the FishEye changeset page, in the Commit Graph, and probably a few other places I'm forgetting.

We don't support iterative patch reviews (where one patch is applied on another), but otherwise you'll be able to see the new changes on the same files in the review. You can use the red slider at the top of the file in Crucible to choose which diff to show (just the newst diff, the combined diff of both revisions, or the source at a particular revision).


Tags: process

review
Accessing svn history from a copied tree
Asked by Richard Neale:

Fisheyes indexing of an imported svn repo that was the result of a svn copy does not show the history prior to the copy.

It is as though Fisheye is doing a 'stop on copy' during indexing.

Is there anyway around this. The fisheye option 'follow base moves' does not appear to help.


Answers:
author: Kinto Soft
body: There is a workaround based on Subversion/Jira, a Subversion plugin for JIRA able to display graphically the history of versioned items (a sort of TortoiseSVN revision graph but runing on your browser).

It will display your tree history crossing copies. Moreover, it will compare those copies providing results in two different views (list and tree). TortoiseSVN only provides a list (no tree) view. That plugin for JIRA does a lot of very complex computing when two trees are compared. TortoiseSVN only provides changed items (files and directories) but ignores revisions because it is too complex to get.

For example, if you copy a tree (trunk) from another place (branches) and after some time you want to compare the trunk with the copied branch you will get only chaged items, but not what revisions have modifed the trunk and the branch since the copy. There is not any tool in the Wolrd able to do it for all use cases (look at the Apache's Subversion mailing list). But the JIRA plugin resolved it and will also display revisions affecting trunk and/or branch.

I would tell you the name of that plugin (which is also free), but I don't want to get a lot of negative points from paranoic people who think that it would be a sort of marketing.
Display data for unconventional repository
Asked by justindowning:

I have an SVN repo that does not follow traditional conventions for organization. That is to say, I have a repo with lots of directories/sub-directories with various text and binary files. This is mostly used for storing and maintaing various scrtipts and configuration files. How can I configure teh FE repo settings to show all the directories/sub-directories (along with their commit history) if the structure does not meet conventions (ie: trunk, branches, tags)? When I try and browse the repo, nothing is displayed.


Answers:
author: justindowning
body: I guess I had the configuation all wrong. I was putting the URL in **SVN URL** and the path in **Path** . Makes sense, but FishEye was expecting the trunk, tag, branch folders after the Path. I put the full URL in **SVN URL** (svn://fqdn/path) and all is well now. :)


author: Martin Cooper
body: I know you have solved your query, but you might still need to do more to get the most out of Fisheye.

If you have a non standard directory structure for your Branches and Tags but want Fisheye to understand it, i.e. so it recognises what is a branch and what is tag, as opposed to a standard directory, you need to tell it what your structure is by means of regexes:

see the docs for details:

<http://confluence.atlassian.com/display/FISHEYE/SVN+Tag+and+Branch+Structure>

comments: author: justindowning
body: Thanks Martin. For my case, there are no branches or tags as the repo is not used for writing code in the traditional sense.
Is FishEye a read-only application?
Asked by John Simonson:

An easy question, I know, but I just want to be sure:

does FishEye do only reading of a Perforce reopsitory, or are there situations where writing is required?

Thanks - John.


Answers:
author: seb
body: Yes, FishEye is a *read only* view onto your SCM. It will not perform or require any write access.


author: John Simonson
body: Thanks guys. John


author: Colin Goudie
body: Read-only as far as I am aware
Cannot install SourceTree 3.2.6
Asked by Siddharth Bhattacharjee:

I've tried running the installer using elevated permissions but t keeps failing with this error. ---\> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\\Users\\\<username\>\\AppData\\Local\\SourceTree\\app-3.2.6\\DevOne.Security.Cryptography.BCrypt.dll' is denied.

I'm using Windows 10 x64. Could not install .net 4.5 as it is part of the OS.

Is there a step that I'm missing?


Answers:
author: Stephen Sifers
body: Hello Siddharth,

Thanks for reaching out to the Community for your Sourcetree install issues. From the log you included, it looks as though something is preventing access to the file in question. This may be caused by Antivirus software/Antimalware soft along with strict permissions around user folders due to recent malware cryptos.

We would ask you ensure the user you're attempting the install as has write/read permissions on the folder in question and the file reported is present and isn't locked for scanning by an Antivirus. Additionally, please disable any Anti-virus (Or exclude the path) during the install to see if this helps.

Regards,  
Stephen Sifers
SourceTree keeps crashing every time I try to Commit
Asked by Raimon Aladro:

SourceTree lets me Fetch and Pull but when I try to commit it just keeps crashing every time.

I hereby attach a Capture of the Crash Report although it does not give much information.

Thanks.

![Crash ST.PNG](/t5/image/serverpage/image-id/68768iB1E0CF76F05B965A/image-size/large?v=v2&px=999 "Crash ST.PNG")


Answers:
author: Stephen Sifers
body: Hello Raimon and welcome to the Community!

Thank you for reporting this issue upon commit. We can confirm this is caused by the lack of a username and email being set within Sourcetree. This issue will be resolved in a future release as well. To set a username and email, please review the following:

* Within Sourcetree, select Tools \> Options.
* From within Options, ensure the following is entered:
* ![Screen Shot 2019-10-09 at 12.06.43 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/68963i7B22A69470F0BE20/image-dimensions/253x224?v=v2 "Screen Shot 2019-10-09 at 12.06.43 PM.png")

I hope this information proves helpful in allowing you to commit.

Regards,  
Stephen Sifers
Commit Error
Asked by leemuljadi:

Hi Guys,

I wanna commit the updates, I staged 15 files at a time. After I pressed the 'Commit' button, Sourcetree just closed all of sudden. I tried several times but still it doesn't work.

Trying to look up similar issue but none found here.

Does anybody had this kind of issue before or perhaps can help?

Thanks

Regards,

Marvin


Answers:
author: Stephen Sifers
body: Hello Marvin and welcome to the Community!

Thank you for reporting this issue upon commit. We can confirm this is caused by the lack of a username and email being set within Sourcetree. This issue will be resolved in a future release as well. To set a username and email, please review the following:

* Within Sourcetree, select Tools \> Options.
* From within Options, ensure the following is entered:
* ![Screen Shot 2019-10-09 at 12.06.43 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/68965iA8795F915187E20D/image-dimensions/281x249?v=v2 "Screen Shot 2019-10-09 at 12.06.43 PM.png")

I hope this information proves helpful in allowing you to commit.

Regards,  
Stephen Sifers

comments: author: leemuljadi
body: Hi Stephen,

Thanks so much for your reply.

I've checked the username and password, it was there already, it was alright before to commit.

But don't know why suddenly it just doesn't work.

I have send bug report (anonymously), will this help?

Thanks!

Regards,

Marvin


author: leemuljadi
body: Hi Stephen,

Just to give an update.

It works now after I change the theme to dark.

It's a bit odd, but at least now it's working.

Thanks!
What could be the reason for Sourcetree crashing when commiting
Asked by frozendog:

I made a repository and tried to do a commit for the first time. I clicked stage all, wrote a comment and clicked on commit. Every time i try to do that, Sourcetree crashes. Any suggestions? I am using windows 10


Answers:
author: Stephen Sifers
body: Hello!

Thank you for reporting this issue upon commit. We can confirm this is caused by the lack of a username and email being set within Sourcetree. This issue will be resolved in a future release as well. To set a username and email, please review the following:

* Within Sourcetree, select Tools \> Options.
* From within Options, ensure the following is entered:
* ![Screen Shot 2019-10-09 at 12.06.43 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/68966i84736DCF27DDAF38/image-dimensions/284x252?v=v2 "Screen Shot 2019-10-09 at 12.06.43 PM.png")

I hope this information proves helpful in allowing you to commit.

Regards,  
Stephen Sifers

comments: author: frozendog
body: Hello Stephen,

I inputed my full name and email. It is still the same. Any more suggestions?

Thank you for the advice.

Best regards.
Commit and Push successful and then shortly after it says I am 61 behind
Asked by Mych:

Hi,

I've been using Sourcetree quite happily for a while now. No issues. Suddenly I have a project that I had a feature branch. Committed ok. Finished feature, merge to develop branch ok. Push to origin Ok. Within a few mins I get a badge with up arrow showing 61. I did another push to origin and all OK. Again within a few mins (no changes to the project) and it shows the badge with 61. I do another push to origin and check show output. This shows (as far as I can tell) that both sides are identical... Everything is up to date.

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v origin develop:develop  
Pushing to https://xxxxxx@bitbucket.org/yyyyyy/zzzzzz.git  
To <https://bitbucket.org/yyyyyy/zzzzzz.git>  
= \[up to date\] develop -\> develop  
updating local tracking ref 'refs/remotes/origin/develop'  
Everything up-to-date

Completed successfully.

And yet again after a few moment I get the badge again. What is happening? I'm using version 3.2.6 on Windows 10.


Answers:
author: Mych
body: It seems that the remote repository had two branches (Develop and develop). Develop was the original created back in 2018, while develop was created when git-flow was introduced (or at least when I started using it). It seems both were being tracked to the local develop branch and hence the Develop was way behind. I have deleted the Develop branch via the BitBucket web site and hoped that would solve the issue but it has not. Sourcetree still thinks there is a Develop branch on the remote. See attached screenshot.

![Sourcetree.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/68868i77E2012F6B8F37DC/image-size/large?v=v2&px=999 "Sourcetree.PNG")

What do I need to do?


Tags: commit
How do I push to GitHub using OAuth?
Asked by mrclary:

I've been able to push to GitHub before but it no longer seems to work. I get the following error message:

Pushing to <https://github.com/mrclary/lmfit-py.git>  
remote: Permission to mrclary/lmfit-py.git denied to mrclary.  
fatal: unable to access '<https://github.com/mrclary/lmfit-py.git/>': The requested URL returned error: 403

My GitHub account is connected with OAuth


Answers:
author: ClawHammer
body: Maybe this article can help you:

<https://blog.sourcetreeapp.com/2017/02/10/oauth-support-and-ssh-key-generation/>

I access my github with normal credentials setup with no issues


Tags: github
Accessibility options for visually impaired users
Asked by Jennifer Gerhold:

Are there any accessibility options for visually impaired users to increase the font and point size in the SourceTree GUI?


Answers:
author: John Pennington
body: And here we are a year later, and Sourcetree still appears to have no accessibility options. Someday, the Atlassian decisionmakers will have their vision go bad then THEN they'll get why accessibility matters...


author: Aaron Williams
body: Wouldn't a visually impaired user be best served by increasing the font size at a system level?

If they're on OSX: <https://mcmw.abilitynet.org.uk/macos-mojave-making-text-larger>  
If they're on Windows: <https://support.microsoft.com/en-gb/help/4028566/windows-10-change-the-size-of-text>

comments: author: Jennifer Gerhold
body: Thank you Aaron. I am running Windows 10 and have already adjusted these settings. These settings don't appear to affect the SourceTree GUI. For example, the text in the drop-down options in the left panel of the GUI (Branches \> bugfix, Remotes \> origin), the File status panel at the bottom of the window (Commit, Parents, Author, Date, Committer), or event the tabs in the All Branches graph. It is especially hard to see small, black text against a dark gray background. There is a setting in the Tools \> DIFF option, but it only changes the font and point size in part of the GUI. I was hoping for a 508 compliant solution. Thanks again, Jennifer


author: Aaron Williams
body: Are you able to verify if it's the same on OSX (someone in your team, maybe)?

I'm not a Sourcetree user myself, so I'm not too familiar with it, but other apps allow you to submit feedback straight to the developers; I would recommend using that to let them know this is a problem for you.


author: Jennifer Gerhold
body: Great idea. Thank you again.


author: Jaclyn Mazzarella
body: Hi Jennifer, our app for Jira and Confluence will be able to help anyone using Jira \& Confluence. We do not support Source Tree as of now, but are working to get there. I hope this helps you or others looking for something like this.

<https://marketplace.atlassian.com/search?query=unstoppable>

comments: author: Stefany Miguel
body: Will the plugin be developed for cloud instances?
Source Tree is constantly out of sync
Asked by klradmin:

As of recent if seems that source tree is out of sync. When I look at my Development branch (which is our team Development branch, branched off of master) I always see 60 + changes that it thinks I need to push to Development, even though it is current to Development. It only temporarily goes away when I do a fetch but as soon as I check something in to a different local branch, that notification comes back.

Visual Studio and Visual Studio Code show that my branch is current and there are no pending changes to push.

Have you ever experienced something like this? Do I need to do extra configuration to Source Tree?

Just in general, help?

Thanks in advance.

-Keaton


Answers:
author: Robert McFeely
body: I see out of sync-ness too. I cannot find a button to refresh source-tree and so I have lost confidence in what it is telling me.
Fatal Pull error: 500
Asked by monksaigon:

I am constantly facing an error on pulling into a GCP hosted sandbox using CLI. Getting error. Could issue be with bitbucket?

fatal: unable to access '\*\*\*\*': The requested URL returned error: 500


Answers:
author: monksaigon
body: Sorry, bitbucket confirmed there was a https outage for git. Please neglect this...