youngmon/atlassian-qna huggingface dataset:
How to Enable remote API access. for Jira intagration with Crucible ?
Asked by Bogdan:

I am trying to configure a JIRA server to include the Crucible add-on. In the installation guilde it states Allow remote API access. , an option which I cannot find.

Also the wizzard "Coonect to JIRA" is not appearing.

"<https://confluence.atlassian.com/display/FISHEYE038/Configuring+JIRA+integration+in+the+Setup+Wizard>


Answers:
author: Rafael Pinto Sperafico
body: Hi [@Bogdan](/t5/user/viewprofilepage/user-id/2990152) ,

It should be enough having a working Application Link configured between Jira and Fisheye/Crucible so you could:

* in Fisheye/Crucible create a Jira issue from a review, e.g:  
  ![Screenshot 2019-09-10 at 20.04.17.png](https://community.atlassian.com/t5/image/serverpage/image-id/65742iE10DFF6D9CEC0C07/image-dimensions/525x263?v=v2 "Screenshot 2019-09-10 at 20.04.17.png")  
  ![Screenshot 2019-09-10 at 20.11.19.png](https://community.atlassian.com/t5/image/serverpage/image-id/65744i43A1FE4AD189FDAF/image-dimensions/527x244?v=v2 "Screenshot 2019-09-10 at 20.11.19.png")
* in Jira on an *Issue* a link from Crucible  
  ![Screenshot 2019-09-10 at 20.12.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/65743iA7178D20FE23388A/image-dimensions/523x375?v=v2 "Screenshot 2019-09-10 at 20.12.42.png")

Allow Remote API Access, do not worry about that. If you are unable to have Jira issues linked to commit messages in Fisheye/Crucible, then you may have an incompatibility issue between the Jira \<-\> Fisheye/Crucible application or the communication is broken somehow.

Please, inform Jira and Fisheye/Crucible version you are running if above is not enough.

Kind regards,  
Rafael
What is the meaning of total lines when running EyeQl?
Asked by JongBum Lee:

Dear all

I want to know what is the meaning of total lines when running EyeQl?

I understood the meaning of 'lines add, lines removed'.

But I don't know what the total lines are.

Please let me know what that means.

Thanks

Best Regards.


Answers:
author: Marek Parfianowicz
body: Indeed, the manual does not explain it.

<https://confluence.atlassian.com/fisheye/eyeql-reference-guide-960155412.html>

the **totalLines** means number of lines in the file (in given revision).


Tags: fisheye-crucible-administration
Fisheye connection to Jira project
Asked by Bogdan:

How can I connect Fisheye and Crucible which are running on my local machine to a Jira server


Answers:
author: Mikael Sandberg
body: Hi [@Bogdan](/t5/user/viewprofilepage/user-id/2990152)

Welcome to the Atlassian Community.

To link Fisheye to Jira, all you have to do is to setup an application link between the two, see [Linking to another application](https://confluence.atlassian.com/fisheye/linking-to-another-application-960155619.html) for instructions on how to do that.
setting up fisheye SSL configuration
Asked by Tummala:

Hi,

I did try setting up self-signed certificate and followed the instructions on this page

<https://confluence.atlassian.com/fisheye/fisheye-ssl-configuration-960155669.html#FishEyeSSLconfiguration-selfsignedcerts>

after generating keystore file and configured fisheye/crucible SSL and also tried removing http access from config.xml file as listed in the above document.

so far no luck,when I hit the browser I get this page

took too long to respond.

Try:

* Checking the connection
* [Checking the proxy and the firewall](chrome-error://chromewebdata/#buttons)
* Running Windows Network Diagnostics

ERR_TIMED_OUT

Any recommendations on how to setup ssl in fisheye?

Please advise. Thanks


Answers:
author: Gerard Johnson
body: I am experiencing similiar issues. Need help let me know when you locate a fix. Thanks!
Can't edit the project's flow chart how do I create a new board with the stories of the old one ?
Asked by assaf Gargy:

Hi All :-)

I'm managing a department that really needs a better project settings

I need to create new issue types and new workflow but keep all stories ..

What are my options ?

Thanks !!


Answers:
author: Zigmars Rozentals
body: You can create a new Workflow Scheme and associate it with the Project. Stories (Jira issues are independent of Workflow and are not impacted by it, expect Statuses and Issue Types).

Workflow Scheme combines of Workflow and Issue Type.

comments: author: Zigmars Rozentals
body: ![Screenshot at Aug 20 12-55-20.png](https://community.atlassian.com/t5/image/serverpage/image-id/63739i186C2054AD05DF94/image-size/large?v=v2&px=999 "Screenshot at Aug 20 12-55-20.png")
Issue Type icon being attached to JIRA issue upon reply to issue notification
Asked by Tummala:

<https://jira.atlassian.com/browse/JRASERVER-60810>

I just want to follow up with above issue.

does anybody have workaround.

we are looking to upgrade the jira software to the latest and this is holding us ,not sure if atlassian is working on fixing this bug or any workaround?

Thank You!


Answers:
author: Brant Schroeder
body: Tummala - Do you have a test instance? This is not an issue for us and you might want to try upgrading your instance to see if it will affect you.

If it is affecting you after you test the upgrade you could test the two workarounds identified on the issue you referenced to ensure that they work.

### Workarounds {#toc-hId-1087213880}

1. Remove the issue type icon from the email notification, as suggested by [Brian Hair \& Andrew Muhs](https://jira.atlassian.com/secure/ViewProfile.jspa?name=rnd42) in [this comment](https://jira.atlassian.com/browse/JRASERVER-60810?focusedCommentId=1887126&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1887126). Tested on Jira 7.7
2. Changing the properties of the issue type icon image, as suggested by [Martina Riedel](https://jira.atlassian.com/secure/ViewProfile.jspa?name=mriedel1029065643) in [this comment](https://jira.atlassian.com/browse/JRASERVER-60810?focusedCommentId=1556728&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1556728).

comments: author: Tummala
body: Hi Brant,

I did test it by upgrading from 7.10 to latest 8.3 version in our test environment and this is still effecting us so I did try the workaround suggested by Brian hair \&Andrew still we are facing this issue Issue Type icon being attached to JIRA issue upon reply.

Any suggestions!

Thanks


Tags: jira-software
Need to Export the list of Groups and Users with The Repositories and Permissions
Asked by Hamdy Atakora:

Hi,

This is not critical to a system but it is a bit urgent for Audit reasons.  
We would like to export a list of Users and Groups (containing certain keywords) with their repositories they have access to and their permissions in those repositories in Fisheye and Crucible  
Is this doable via the database?

How do we export a curated list of all that in one query. We've done this with Confluence and Jira. How can we do the same with Fisheye and crucible?


Answers:
author: Marek Parfianowicz
body: You can use REST APIs to fetch this data:

**list of repositories**

/rest-service-fecru/admin/repositories

**repository permissions**

/rest-service-fecru/admin/repository-permissions/{repository}/users

/rest-service-fecru/admin/repository-permissions/{repository}/groups

**References:**

<https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html>

<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html>

<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fisheye.html>


Tags: fisheye-crucible-administration
Does crucible support Java 11?
Asked by feliciaimbriano:

When i try to start crucible on my linux server, i get this error --

-Djava.endorsed.dirs=/opt/atlassian/fecru-4.7.1/lib/endorsed is not supported. Endorsed standards and standalone APIs  
in modular form will be supported via the concept of upgradeable modules.  
Error: Could not create the Java Virtual Machine.  
Error: A fatal exception has occurred. Program will exit.

We are running Java version --

openjdk version "11.0.4" 2019-07-16  
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)  
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)

So I was wondering if I should go back to Java 8, or if something else if causing this error?


Answers:
author: Peter-Dave Sheehan
body: Not according to the supported platforms page:

<https://confluence.atlassian.com/crucible/supported-platforms-298977375.html>


Tags: java

jvm
fisheye integration with new perforce server
Asked by QA Team:

I had problem in seeing commit in issue in jira realize in fish eye i have this error. how to solve this error? currently my fish eye is connected to 3 (1 live \& 2 test) perforce server. this is a test perforce servers. both test server has this issue

|----------------------------------------------------------------------------------------------------------------------------------------------------|
| [![fisheye.PNG](/t5/image/serverpage/image-id/62603i9D94A589D60A4E2A/image-size/large?v=v2&px=999 "fisheye.PNG")](mailto:combqa@combuilder.com.sg) |


Answers:
author: Marek Parfianowicz
body: Please contact Atlassian Support: <https://support.atlassian.com>
FishEye Empty remote heads list returned
Asked by Gerald Schneider:

For some time now FishEye fails to find new commits to some (not all) git repositories. I found these error messages in the log files:
> atlassian-fisheye-2019-08-07.log:2019-08-07 19:43:26,021 WARN \[IncrPing1 reponame \] fisheye GitScanner-fetchLatest - Empty remote heads list returned, which makes no sense. Skipping this fetch.

* All repositories have been created the same way with scm-manager
* fisheye has direct filesystem acces to the repos (file:///svn/git/reponame)
* cloning the repository works (git clone /svn/git/reponame) and I can see the logs with all current commits. The repository doesn't seem to be damaged
* FishEye Version is 4.7.1
* FishEye does not report any errors about these repositories. Just the messages in the log file

This has worked before. FishEye lists all commits up until 2019-02-01, all newer commits from 2019-05-13 and later are missing.

How can I find out what the problem with these repositories is?


Answers:
author: Marek Parfianowicz
body: The message "Empty remote heads list returned, which makes no sense. Skipping this fetch." means that the command:

```
git ls-remote --heads
```

returned no results. Maybe your repository is empty (i.e. was just initialised but has no commits)?

comments: author: Gerald Schneider
body: To be honest, after so much time I don't know anymore on which of our two Fisheye instances this appeared and which repositories were affected. I don't know if this problem still persists. But as I wrote in my question the repositories were definitely **not** empty, I could see commits in the git log which were not visible in Fisheye, even though it claimed it hat just scanned the repository.


author: Marek Parfianowicz
body: In case you see it again, feel free to report a ticket at getsupport.atlassian.com. My team can look at it.
Fisheye Error: Could not create the Java Virtual Machine.
Asked by Bryan:

I'm trying to get Fisheye up and running on Ubuntu, but I'm getting the following errors:

```
-Djava.endorsed.dirs=/opt/atlassian/fecru-4.7.1/lib/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
```

These are the steps that I've done.

I typed \`java -version\` and got \`openjdk version "11.0.4" 2019-07-16\`. As far as I know, this is a more up-to-date version than 1.8.x.

I typed \`echo $JAVA_HOME\` and got \`/usr/\`. This is the correct directory, as changing it to \`/usr/bin/java\` gives an error saying that JAVA_HOME is not defined correctly.

I downloaded Fisheye 4.7.1, transferred it to the Ubuntu machine, unzipped it, and moved it to /opt/atlassian.

I made FISHEYE_INST point to a valid directory which is different than where Fisheye is installed.

I copied the 4.7.1 config.xml into the location of FISHEYE_INST.

I then went into the directory where Fisheye was installed and typed \`bin/start.sh\`. Tailing the log (/home/crucible/fecru_data/var/log/fisheye.out) showed the errors.  

\`free -m\` reveals that there's about a gigabyte of available RAM on the machine. I don't know if that's the cause of this.

Does anyone know what the issue could be?


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

Thank you for sending over your work so far and reporting the issue you're having. While OpenJDK 11.0.4 is a newer version than Java 1.8, it is not currently supported. 1.8 will need to be used with the tools in order to be supported and avoid this reported error.

Further information on this may be found at [Supported platforms](https://confluence.atlassian.com/fisheye/supported-platforms-960155252.html).

Please test with Java or OpenJDK 1.8 and let us know the results.

Regards,  
Stephen Sifers

comments: author: Bryan
body: I'm sorry for the late response.

That was definitely the issue! Fisheye works perfectly fine with Java 1.8. Thank you very much.
Can I edit the issue ID on a git Smart Commit?
Asked by Debsankar Mukhopadhyay:

I have two JIRAs: ABC-100 and ABC-101. The codebase for ABC-100 is in git repo 1 and the code for ABC-101 is in codebase 2. When i committed the code changes on git repo 2, I entered a wrong issue id: ABC-100. As a result, the branch/commit are showing up under ABC-100.

How can I clean it up so that the code changes on git repo 2 shows up on ABC-101.

I have edited the message on the git commit from: "ABC-100: bla bla bla" to "ABC-101: bla bla bla".

But that does not prevent git repo 2 to show up under ABC-100.

Is there any solution to this issue?


Answers:
author: Marek Parfianowicz
body: > I have edited the message on the git commit from: "ABC-100: bla bla bla" to "ABC-101: bla bla bla".

Git commits are immutable. How did you change it? You've recreated a commit on a branch with a force push? Or maybe used 'git notes'?


Tags: git
Backup Error
Asked by David Culbertson:

When running a backup on my fisheye / crucible server I get the error:

Error reading database: Table 'fisheye.cwd_group_attributes' doesn't exist

Backup failed

When I look in the database, I see a table 'fisheye.cwd_group_attribute'. This does not have the letter 's' on the end like the error message.

Any idea how to correct this.


Answers:
author: Felipe Kraemer
body: Hello [@David Culbertson](/t5/user/viewprofilepage/user-id/944125)

It has come to my attention that you have raised another question at <https://community.atlassian.com/t5/Fisheye-Crucible-questions/Fisheye-4-7-0-Build-20190214100246-database-migration-from-MySQL/qaq-p/1142054> that is related to this one over here because both of them involve a database table named 'cwd_group_attribute'.

As far as I can see in both questions, the database migration script and the backup script are expecting to find the database table 'cwd_group_attribute' in the schema but this table cannot be found - possibly it was dropped somehow.

Can you please connect to the database used by Fisheye 4.7.0 and verify if the table is really not there? There are no constraints blocking it from being dropped from the schema, so if it cannot be found it most likely was dropped.

In that case, simply creating that table should do the trick. Follow these steps:

1. Shut down Fisheye/Crucible

2. Connect to the database

3. Run this SQL statement:  

```
CREATE TABLE cwd_group_attribute 
  ( 
     id                    BIGINT NOT NULL, 
     group_id              BIGINT NOT NULL, 
     directory_id          BIGINT NOT NULL, 
     attribute_name        VARCHAR(255) NOT NULL, 
     attribute_value       VARCHAR(255), 
     attribute_lower_value VARCHAR(255), 
     PRIMARY KEY (id), 
     CONSTRAINT fk_group_attr_dir_id FOREIGN KEY (directory_id) REFERENCES 
     `cwd_directory` (`id`), 
     CONSTRAINT fk_group_attr_id_group_id FOREIGN KEY (group_id) REFERENCES 
     `cwd_group` (`id`), 
     CONSTRAINT uk_group_name_attr_lval UNIQUE (group_id, attribute_name, 
     attribute_lower_value), 
     INDEX fk_group_attr_dir_id (directory_id), 
     INDEX fk_group_attr_id_group_id (group_id), 
     INDEX idx_group_attr_dir_name_lval (directory_id, attribute_name, 
     attribute_lower_value), 
     INDEX idx_group_attr_group_id (group_id) 
  ) 
engine=innodb 
DEFAULT charset=utf8 
DEFAULT COLLATE=utf8_bin;
```

4. Make sure that changes are committed

5. Start Fisheye/Crucible

If there aren't any other missing tables from the database, you should be able to backup your instance and also migrate to the new MySQL database.

Please do let me know how this goes!

Regards,

Felipe Kraemer

comments: author: David Culbertson
body: I fixed this a different way. I went back to a valid DB from the day before and the migration went fine. Thanks.
Fisheye 4.7.0 Build 20190214100246 - database migration from MySQL 5.5 to MySQL5.7 fails
Asked by David Culbertson:

I am trying to upgrade my fisheye database from MySQL 5.5 to 5.7. I have set up a new MySQL server on a different machine. On the fisheye Database Configuration screen, I can connect to the existing DB and the newly created DB on the new server. In when I click the Save \& Migrate button, I get the following:

Started  
Starting ActiveObjects backup...  
\* Backing up Database Information  
\* Backing up Table Definitions  
Skipping ActiveObjects due to exceptionCould not read fields for table ao_563aee_activity_entity  
Creating table definitions...  
Table 'fisheye.cwd_group_attributes' doesn't exist  
Database migration failed: java.sql.SQLSyntaxErrorException: Table 'fisheye.cwd_group_attributes' doesn't exist  
1 rows written, 0 tables completed.  
3 rows written, 1 tables completed.  
10 rows written, 3 tables completed.  
10 rows written, 4 tables completed.  
10 rows written, 5 tables completed.  
Adding database constraints...  
Problem with constraints script C:\\Atlassian\\fecru-4.7.0\\sql\\MYSQL\\schema\\constraints_107.sql  
Database migration failed: com.cenqua.crucible.hibernate.CruDBException: Problem with constraints script C:\\Atlassian\\fecru-4.7.0\\sql\\MYSQL\\schema\\constraints_107.sql

Any ideas?


Answers:
author: Felipe Kraemer
body: Hello [@David Culbertson](/t5/user/viewprofilepage/user-id/944125) ,

It has come to my attention that you have raised another question at <https://community.atlassian.com/t5/Fisheye-Crucible-questions/Backup-Error/qaq-p/1144888> that is related to this one over here because both of them involve a database table named 'cwd_group_attribute'.

So as to make things easier, I will reply to you in the other question.

Thanks!

Felipe Kraemer
SourceTree fails to start after Windows update
Asked by Peter Franklin:

This morning SourceTree fails to start after a Windows update. The splash screen pops up for a second then disappears.

OS:

Edition Windows 10 Pro  
Version 21H2  
Installed on ?10/?10/?2021  
OS build 19044.3086  
Experience Windows Feature Experience Pack 1000.19041.1000.0

Machine:

Processor 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 GHz  
Installed RAM 32.0 GB (31.7 GB usable)  
System type 64-bit operating system, x64-based processor  
Pen and touch No pen or touch input is available for this display  


Answers:
author: Peter Franklin
body: Just downloading and running the latest SourceTree installer resolved this issue for me.

Hope this helps someone else too.


author: KOUSANG
body: I am have the same problem.

Maybe you can try deleting the following files to see if that fixes the problem:

Path:

C:\\Users**(Your Computer name)** \\Administrator\\AppData\\Local\\Atlassian\\SourceTree.exe_Url_ntw3sfib2jxvqxdkftnpdb4w5k5z2xm2\\3.4.5.0**(Version number)**

File:

Composition.cache

comments: author: Oleg
body: Thanks a lot  
It worked for me.


author: Jerry Edwards
body: I am have the same problem

comments: author: Coarist
body: My SourceTree on Win11 has been working all along. Today, it ceases to run even after rebooting the PC.


Tags: bitbucket
Sourcetree Crashes Soon As I try to Open Repo
Asked by brad_mcglasson:

Every Time I try to open a repo, sourcetree crashes. Every time I try to install its update, Sourcetree crashes as well. No useful error sadly.

Mac OS : 12.5

MacBook Pro (16-inch, 2021)

Sourcetree Version : 4.1.9 (245)


Answers:
author: Arati Mohanty
body: [@brad_mcglasson](/t5/user/viewprofilepage/user-id/3651591) Could you please try installing the latest version of Sourcetree 4.2.3. You can download it from <https://sourcetreeapp.com/>

Also Kindly raise a ticket at <https://jira.atlassian.com/secure/CreateIssue!default.jspa> for the current issue and share the crash logs with us to verify.

comments: author: brad_mcglasson
body: I had to delete Sourcetree 4.1.9 and manually install 4.2.3, but now it crashes every time I try to connect the existing cloned repos back in the list, or when I open settings. Wound up switching to an old build and worked again.


author: Arati Mohanty
body: I don't see any Jac ticket created for this yet. Could you please create one at <https://jira.atlassian.com/secure/CreateIssue!default.jspa> and share the crash logs so that we can help you resolve the issue.


author: brad_mcglasson
body: lol I can't get you logs unfortunately as I deleted that *Sourcetree version*but got past it. Thanks for the help
BUG: "problem opening this repository" using iTerm2 as terminal app
Asked by kmbro:

I'm running SourceTree 4.2.3 (252) on a 2023 M2 Mac mini under Ventura 13.4 with iterm2 3.4.19 installed. I've been into SourceTree \> Settings \> General \> Miscellaneous \> Terminal app and selected "iTerm2" from the list.

If iTerm2 is already running then clicking the "Terminal" button on the SourceTree toolbar works as expected - a new iTerm2 window opens up and runs a "cd" command to get to the repository clone's gitroot directory.

However, if iTerm2 is not running, I get a popup dialog saying "There was a problem opening this repository in iTerm2". iTerm2 is launched and a window opens, but there's no "cd" command, so I guess there's a timing problem in passing that string to the shell if the app is only just starting up.

I can work around this by going to iTerm2 \> Settings \> General \>Closing and unticking "Quit when all windows are closed". That way iTerm2 keeps running after I've tidies up all my various windows, so it's ready and able to take the "cd" command at launch from SourceTree.


Answers:
author: Arati Mohanty
body: Hi [@kmbro](/t5/user/viewprofilepage/user-id/5239404) We understand the problem caused and also able to reproduce it in our environment. We will work on it and let you know the updates.

As with the work around, it is working fine we consider this is not blocking you from using SourceTree.

Also, We request you to kindly raise a bug at <https://jira.atlassian.com/secure/CreateIssue!default.jspa> . This will help us to track the issue better.