youngmon/atlassian-qna huggingface dataset:
Repository information empty on fisheye
Asked by Rahul Aich [Nagra]:

Hi All

I am seeing that the repository information on my fisheye instance has disappeared.

It shows blank. i even tried to index a new repository, still the same for the new repository.

What can we do to get the information back ?

I am on fisheye 3.2 linux version.

Rahul

Crucible_error_test.jpg

Rahul

<br />

[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Repository-information-empty-on-fisheye/qaq-p/177491?attachment-id=5870){#link_115b1cdd7d5421}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/2415/1/Crucible_error_test.jpg){#display_115b1cdd7d5421_0}


Answers:
author: gustavo_refosco
body: Hi Rahul,Could you please provide some further information on this? Please let us know:1. Was there any recent change on your FishEye instance - like an upgrade or migration?2. Were all these repositories working before, showing data?3. Can you please check at your atlassian-fisheye-\<date\>.log looking for any errors? I've seen some cases in which memory errors were leading to strange behaviors, but I can't confirm for sure this would be your case.Regards,Gustavo Refosco


Tags: fisheye-crucible-administration
My fisheye application is getting crashed often these days. Im seeing the java permgen space out of memory error in logs related to
Asked by srinivasa_pudi:

My fisheye application is getting crashed often these days. Im seeing the java permgen space out of memory error in logs related to .

Whn restart Fisheye it is throwinng a note that : **"/fecru-3.5.1/bin/fisheyectl.sh: line 50: -Xmx2048m: command not found".**

Kindly let us know how to fix this issue?

we are using Crucible 3.5.1 with FishEye 3.5.1 on linux machine


Answers:
author: gustavo_refosco
body: Hi Pudi,

For increasing memory we do not recommend changing the **fisheyectl.sh** script - as in this case it seems something was not properly set in it - but instead set the memory in the **FISHEYE_OPTS** environment variable. I'd recommend to revert the changes on the script and then create this variable. Please refer to <https://confluence.atlassian.com/display/FISHEYE/Environment+variables> for more information about this variable and how to set it.

As you are getting PermGen space errors you actually need to increase the PermGen allocation, which is done by the parameter MaxPermSize. Please set it as per [this document](https://confluence.atlassian.com/display/FISHKB/Fix+Out+of+Memory+errors#FixOutofMemoryerrors-OutOfMemoryError:PermGenspace,orPermanentGenerationSize). I'd suggest trying 256m first.

Regards,

Gustavo Refosco


Tags: fisheye-crucible-administration
Merging directly from Fisheye
Asked by Fred Clausen:

Is it possible to merge a Git feature branch under review directly from Fisheye without having to go to Stash?


Answers:
author: Piotr Swiecicki
body: I am afraid FishEye+Crucible integrates with SCMs like git in read only manner. FishEye would index current and historical data about your repository, Crucible would make it possible to review changes made, but any changes to SCM like merging changes need to be performed elsewhere, in Stash for example.

Hope that helps,  
Piotr


Tags: bitbucket-server
Can fisheye suggest issues a user might want to link when checking something in (perforce specifically)?
Asked by Pat Corwin:

I see lots of broad statements of "linking JIRA and perforce" but I want to know about actual experience of checking something in, which I haven't been able to find.

A user goes to check in something and they need to put the JIRA issue key in; is there something that suggests what issue to link up (sensibly open issues assigned to said user and possibly recently linked issues)?

We haven't started using Fisheye but suspect we will soon and want to be prepared for it.


Answers:
author: Felipe Kraemer
body: Hi Pat,

As check-ins/commits are made outside of FishEye, directly at repository level, there's no way FishEye can suggest JIRA issues.

The development team must specify the JIRA issue key within the commit message when committing code into the repository.

FishEye only accesses repositories in "read-only" mode in order to index them, and commits get displayed in the web interface after FishEye indexes them.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer
Using delegated authentication + Crowd, do users have to log in first before adding them to Crowd groups?
Asked by Ali:

I'm using Crowd to do delegated authentication using Active Directory (AD). There are some users who are not in active directory, and some users who are, but none have yet logged into Crowd. Prior to their first login, can I add them to groups, so that when they first log in they will have appropriate access? I haven't found a way to use Crowd to pull in users from AD prior to their first login.


Answers:
author: Tiago Comasseto
body: Hi Ali, I think there's another option you may consider, in Crowd you have the option of import users from an CSV file, you can see details of this process in this [link](https://confluence.atlassian.com/display/CROWD/Importing+Users+from+CSV+Files).

Let me know if it helps.

Cheers


author: Tiago Comasseto
body: Hi Ali, regarding the group membership, in Crowd you can define default groups per directory (see [here](https://confluence.atlassian.com/display/CROWD/Automatically+Assigning+Users+to+Groups?src=search)). Would it work for you?

Cheers

comments: author: Ali
body: Hmm. . . . No, unfortunately I think not. You did give me an idea -- possibly setting up another directory that was filtered by a particularly attribute, and then defining a default group for that "sub-directory" -- but I think our AD is very flat, and I am unsure there is such an attribute to filter by. Thank you very much anyway!


Tags: active-directory

authentication

crowd-administration
Crucible Fisheye Rest API
Asked by SCMTeam:

We are trying to develop a script in perl or phython that would use rest api to create a repository and project in Crucible/Fisheye.

Let me know if this is possible ? If yes what is the best approach we need to follow to achieve this ?


Answers:
author: Piotr Swiecicki
body: Hi @Guruprasad Ravindranath,

It is clearly possible, see the REST documentation: <https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html>. Actually, as explained in this documentation, there are even python examples provided that do exactly what you are looking for - they show how to create repositories and projects, see <https://bitbucket.org/atlassian/fecru-rest-examples/src/master/python/>

Hope that helps,  
Piotr

comments: author: Jobin Kuruvilla [Adaptavist]
body: Hmm. Looks like I will have to update my bookmarks! I have <https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html> ;)


author: SCMTeam
body: Thank you for such a quick response. I will refer the links and share how it goes.


author: Jobin Kuruvilla [Adaptavist]
body: It is not possible. You will have to write your own REST modules to expose that functionality.
After Fisheye server name changed Jira issues are now blank
Asked by clem:

We changed the location and server name for the fisheye server. It is now on the same server as the JIRA server.

The application link between fisheye and JIRA were reestablished and through application diagnostics they were tested. The tests came back fine.

However in fisheye when I click on a JIRA link a new window pops up but it is empty.

Does anyone have any ideas on how to troubleshoot this? Is there a way to increase debugging for the application link so that I can see the transaction between JIRA and Fisheye?


Answers:
author: clem
body: This turned out to be a problem with the f5 in front of Fisheye.


author: Cynthia Fehr
body: Yes we deleted it.

Now I see in the logs:

GET /fisheye/rest/jira-ril/1.0/jira-rest/applinks?reviewKey=CR-8171\&_=1428503547663 HTTP/1.1" 404 - 0 "[http://localhost:8080/cru/CR-8171](http://build.pdt/fisheye/cru/CR-8171)" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0" "-"


author: Sateesh Chandra
body: Did you delete the old JIRA link in Fisheye before creating the new link. If not you must have relocated.


Tags: jira
How can I extend trial license for FlyOver reports add on for Crucible?
Asked by Viktor:

How can I extend trial license for FlyOver reports add on for Crucible?

License is over, but we still need to do some tests.


Answers:
author: Giuliano C.
body: Hi Team,

One option to receive an extension for the license would be to contact our Sales Team by either calling or raising a new ticket through our support channel ([https://support.atlassian.com](https://support.atlassian.com))) for the Customer Advocates project.

However, by going through the Marletplace page for the add-on (<https://marketplace.atlassian.com/plugins/biz.deref.flyover.flyoverForCrucible>), you can click on the **Try it Free** option and proceed in order to have a brand new evaluation license key, so you can apply on the add-on license details, through **Manage Add-ons** in Confluence.

Can you let us know if this is working for you? Otherwise, we will continue checking for details on it.

Regards,

Giuliano Tenedini


Tags: addon-biz.deref.flyover.flyoverforcrucible

fisheye-crucible-administration
Trying to setup a vanilla Crucible
Asked by JW:

Hi all,

Our company has been running Crucible for a bit and we're trying to upgrade it now (from 2.7.15 - 3.7). Before doing all that, I was planning on testing the upgrade on a vanilla setup. The MySQL is set up on a separate host from Crucible. However, when attempting to change the database to MySQL, I'm getting the following error:

```
Problem with create tables script /../crucible/fecru-2.7.15/sql/MYSQL/schema/tables_76.sqlDatabase migration failed: com.cenqua.crucible.hibernate.CruDBException: Problem with create tables script /.../crucible/fecru-2.7.15/sql/MYSQL/schema/tables_76.sql
```

I've searched around and most answers are saying permission. However, I'm able to create databases/tables without issues. Any ideas guys?

Many thanks.


Answers:
author: JW
body: I found the cause - it was due to the database engine being MyISAM vs InnoDB!

Thanks!


author: lpater
body: Hi JW,

You might want to raise a [support issue](http://support.atlassian.com/) with the exact error messages you're getting.

What I think might be happening is you're trying to set up an old version of FishEye, on a MySQL version that wasn't fully supported by that version - see <https://confluence.atlassian.com/display/FISHKB/FishEye+Fails+to+Startup+with+MySQL+5.6.x> and <https://jira.atlassian.com/browse/FE-4507>.

Depending on the scope of your testing, you might be able to workaround the issue by modifying the creation script manually, at the problematic line.
unified ssh key for all git repos in Crucible
Asked by Qi LUO:

We have our own git \& gitlab server, and I/ve created a dedicated account for crucible.

In crucible, when I add a repo from git, how can I reuse the ssh key instead of generating a new one every time?

Thanks in advance.


Answers:
author: lpater
body: Hi Qi,

When creating the repository through the UI you can choose to 'Upload private key for ssh', this way multiple repositories could share the same private key, matching your gitlab user.

The same functionality is avalable as a part of the [/rest-service-fecru/admin/repositories](https://docs.atlassian.com/fisheye-crucible/3.7.0/wadl/fecru.html#d2e195) REST resource, using "authType": "key", and providing the "privateKey" value (see the example for HG repositories in that doc).

comments: author: Qi LUO
body: uploading private key is good. Now I'm using deploy key in GitLab for security reason


Tags: fisheye-crucible-administration
How to restrict a specific user cannot transition to Done/Close?
Asked by kalaimani:

Hi

I want to restrict certain people from marking items as "Done" in Jira Cloud. Is this possible? We have over 100 users who can perform this action, but I need to limit it for a few. How can I do this?

My Workflow :

![Screenshot 2024-07-24 at 12.25.19?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/337418i9F454C82E52E15E4/image-size/large?v=v2&px=999 "Screenshot 2024-07-24 at 12.25.19?AM.png")


Answers:
author: Pedro Lucena
body: [@kalaimani](/t5/user/viewprofilepage/user-id/5363035)

We also have another option:

1- Create a group for users who cannot have this permission to move  
2- add a condition validator to the flow![fff.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/337433i30C76CE0BE8FBD80/image-size/large?v=v2&px=999 "fff.PNG")


author: Maciej Dudziak _Forgappify_
body: Hi [@kalaimani](/t5/user/viewprofilepage/user-id/5363035)

It is possible, but there are couple of options; do you want to restrict it based on project roles, groups or selected users?

comments: author: kalaimani
body: Based on the Groups


author: Maciej Dudziak _Forgappify_
body: If your project is a company-managed project and you prefer using workflow conditions (which will hide the status from users), there is the 'User Is In Group' condition available out-of-the-box in Jira.

If you have more complex logic or would like to use a Validator (to show a custom message to users trying to execute the transition), you could try Jira expression-based validators. There are several options available on the Atlassian [marketplace](https://marketplace.atlassian.com/search?query=jira%20expression%20validator)

I am from Forgappify, and we developed Jira Expression Validator, which is part of the [Workflow Building Blocks for Jira](https://marketplace.atlassian.com/apps/1233642/workflow-building-blocks-for-jira?hosting=cloud&tab=overview) app.

I am leaving a link to the [app's documentation](https://docs.forgappify.com/workflow-building-blocks-for-jira) in case you are interested.

Cheers


author: Pedro Lucena
body: Hello, is it possible to add a property in the flow

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

Follow this documentation, please: <https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/>

comments: author: kalaimani
body: I tried this method ,I create a group and use property key  
jira.permission.transition.denied" and enter group value but its allows to move transition


author: Maciej Dudziak _Forgappify_
body: I think it should be jira.permission.transition.group, but I didn't try it. I am more familiar with jira expression based solution, but that would require an app. Maybe others will help


author: kalaimani
body: Thank you [@Maciej Dudziak _Forgappify_](/t5/user/viewprofilepage/user-id/5267224)


Tags: cloud

jira-cloud

jira-service-management

jira-service-management-cloud
Draft pull-request on cloud
Asked by sebastian_kamisinski:

When will draft pull requests be available in the cloud? I see that the server version has already been released. Same thing with DarkMode


Answers:
author: Ben
body: Hi Sebastian,

Unfortunately we do not have an indication of when this [feature request](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) will be implemented, however it is currently **"Under Consideration"** by our development team. The best way to receive updates related to it will be to **Watch** the feature request to receive future updates related to it and **Vote** for it to increase its visibility:

* **<https://jira.atlassian.com/browse/BCLOUD-12503>**

Cheers!

- Ben (Bitbucket Cloud Support)


author: Saxea _Flowie_
body: Hi [@sebastian_kamisinski](/t5/user/viewprofilepage/user-id/5455349),

You might want to check out [Flowie](https://flowie.app/), a addon for Bitbucket Cloud that we provide that has support for [draf pull request workflow](https://flowie.app/docs/en/plugins/draft-pull-request) and a bunch of other features.

Link for the marketplace [here](https://marketplace.atlassian.com/1231101).


Tags: bitbucket-cloud

cloud
need help to add new repository
Asked by Michael Gabler:

My small team has been using a JIRA and Bitbucket that I set up a year or two ago. The team has grown and I need to add new repositories to Bitbucket but when I click on Create, the only option I have is Snippet.

I assume this is due to using Free accounts. I have upgraded the JIRA account to PAID but there is no option, yet found, to upgrade the bitbucket account.

I have tried to get help from Atlassian support but that has proven to be totally useless after several days of back and forth.

I am sure that there is probably several ways to get situation solved, just need a knowledgeable person to assist.


Answers:
author: Syahrul
body: G'day, [@Michael Gabler](/t5/user/viewprofilepage/user-id/4708114)

I've noticed that your recent ticket was submitted to our Sales team instead of our Support team. This likely occurred due to the constraints of your Bitbucket Free plan, which may have inadvertently led you to select options that channel your inquiries to our Sales team.

To address your concern, it seems the difficulty you're encountering with repository creation is due to limited permissions. Specifically, workspace admin privileges are required for this task. You'll need to contact an existing workspace admin to get permission.  

I've added a note for the relevant admins in the ticket you submitted to our sales team to aid you with this.   

I hope this helps.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Pipelines: Build Memory SonarCloud
Asked by simon:

If i set the step to use 2x the memory and only use half of it, how much of my bill time/minutes will it use. Or am i better of increasing the limits of sonar to use all the available mem?

```
 - step: &sonarcloud
name: Analyze on SonarCloud
size: 2x
caches:
- node
- sonar
script:
- pipe: sonarsource/sonarcloud-scan:2.0.0
variables:
SONAR_TOKEN: ${SONAR_TOKEN}
EXTRA_ARGS: "-Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.organization=${SONAR_ORGANISATION}"
SONAR_SCANNER_OPTS: -Xmx4096m
EXTRA_ARGS: "-Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.organization=${SONAR_ORGANISATION} -Dsonar.javascript.node.maxspace=4096"
```


Answers:
author: Theodora Boudale
body: Hi [@simon](/t5/user/viewprofilepage/user-id/3878911),

2x steps use twice the number of build minutes of a 1x step. So, if the step takes e.g. 5 minutes to complete, then 10 minutes are going to be used out of your available build minutes.

I see that your step is using a pipe. A pipe runs in a separate docker container and uses a docker service (even if you don't explicitly define a docker service for the step). A service container gets 1024 MB of memory by default.

If you want to assign more memory to the docker service that the pipe is using, you can use in your yml file a definition as follows:

```
definitions:
  services:
    docker:
      memory: 2048
```

Reference:

* <https://support.atlassian.com/bitbucket-cloud/docs/databases-and-service-containers/>

This value can be configured up to 3072 MB for 1x steps and up to 7128 MB for 2x steps.

Kind regards,  
Theodora

comments: author: simon
body: hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)

So would the step definition stay the same and just update the definitions section as you indicate at the top of the pipeline spec file ?


author: Theodora Boudale
body: Hi [@simon](/t5/user/viewprofilepage/user-id/3878911) ,

The **definitions** part can go either at the top or at the bottom of the yml file.

You can leave the step as is if you want 2x memory for the step, and you can also adjust the memory you specify in the pipe variables depending on how much memory you give to the docker service.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I am unable to change bitbucket user name in bitbucket.org
Asked by Chandra Sivaraman:

It says "An account with that name already exists".   

Pretty sure this username is unique enough that nobody else could have it.  

Is there any way to recover an account using the user name?


Answers:
author: Ste Wright
body: Hi [@Chandra Sivaraman](/t5/user/viewprofilepage/user-id/1692552)

It is possible the username already exists, no matter how unique it is.

I'd contact [Atlassian Support](https://support.atlassian.com/contact/#/) if you want to discuss it though, and see if the username is linked to you in some other way.

Ste


Tags: bitbucket-cloud

cloud
How to Download Artifacts of the Most Recent Successful Build Using REST API
Asked by ???:

Currently, my repository is being built through Bitbucket pipelines, and archiving is configured in our YAML file as follows:  

artifacts:  
- linux/\*\*  
- win32/\*\*  

In this context, I'm looking to download artifacts from the most recent successful build using the REST API. The intention is to call this REST API through a Jenkins job.  

Could you please advise on how to solve this problem?


Answers:
author: Ben
body: Hi ???,

Unfortunately this is not possible as there is no API endpoint for artifacts. We have a feature request raised with our development team that you can track by **Watching**it for future updates:

* <https://jira.atlassian.com/browse/BCLOUD-19330>

The suggested workaround is detailed in the ticket above and suggests making use of the **bitbucket-upload-file** pipe to place the artifact in the repository Downloads section and then retrieving it from there using the /2.0/repositories endpoint.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Creating Jira issues from Crucible defects
Asked by L. Schimmel:

I have read in the Crucible documentation, that it is possible to create a JIRA issue manually right after making a comment in Crucible.

But is it possible to create JIRA issues automaticly after classifying a defect as "major"?

Best regards,

Leonard Schimmel


Answers:
author: Piotr Swiecicki
body: I am afraid this is not offered out of the box. To create a JIRA issue user would most likely want to specify the JIRA project, issue priority, perhaps affectedVersion and possibly few other fields. This is why it makes more sense to keep the JIRA issue creation as a separate action.

Hope that helps,   
Piotr

comments: author: ahmed
body: @Piotr Swiecicki

But is there a way to show the JIRA issue creation page when publishing a comment flagged as a defect. i.e make it a one step operation to show the JIRA issue creation page instead of two steps


Tags: fisheye-crucible-administration