youngmon/atlassian-qna huggingface dataset:
How to create CI CD pipline for nopcommerce 4.6 project in .net
Asked by Krishi Paladiya:

How to create CI CD pipline for nopcommerce 4.6 project in .net


Answers:
author: Theodora Boudale
body: Hi Krishi and welcome to the community!

I'm not familiar with nopCommerce, but I just wanted to give you some context: Pipelines builds that run on Atlassian infrastructure use Docker containers. For every step of your build, a Docker container starts (the build container) using the image you have specified in your bitbucket-pipelines.yml file. We support public and private Docker images including those hosted on Docker Hub, AWS, GCP, Azure, and self-hosted registries accessible on the internet. The commands in each step of your bitbucket-pipelines.yml file are Linux commands that you would use on a Linux machine.

If you can use Linux commands to run your tests then it may be possible to use them in a Docker container in Bitbucket Pipelines. Please note that if your build needs tools that are not already preinstalled on the Docker image you use as a build container, you will need to install them during the build.

These things also apply if you use a Linux Docker self-hosted [runner](https://support.atlassian.com/bitbucket-cloud/docs/runners/). In case you use a Linux Shell, Windows, or MacOS runner, the builds run directly on the host machine so any tools the build needs need to be installed on the host machine.

I found the following post on nopCommerce's forum from another user who uses Bitbucket Pipelines. This may give you some pointers on how to get started:

* <https://www.nopcommerce.com/en/boards/topic/97371/automatic-builds-using-bitbucket>

For any questions specific to nopCommerce or dotnet, it may be best to reach out to a forum specific to these products.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Can I get a migration of content from Crucible?
Asked by trinitymirrordigital-admin:

We are currently in the process of migrating our SVN repository to GIT. However we want to capture the historial code reviews we have amassed within Crucible over the past years

1. Is it possible to get a meaningful migration of content from our current On Demand Crucible setup.
2. If we can get a meaningful migration of content do we need to purchase license Crucible as a stand alone product in order to access the data or is it possible to access it via another method?


Answers:
author: CelsoA
body: HI Tracey,

SVN and GIT treat differently the paths and rev names, this way if you change the repository protocol you will need to reindex the repository.

About the existing comments and reviews:

a Crucible project with many reviews about data in FishEye repos.The default for Crucible projects is to store data in reviews so even if the repository stops working the previously reviewed data persists.

Also, you can ask for a full backup from your current instance to restore it in your infra structure.

Regards,

Celso Yoshioka


author: Farhan Hassan
body: I am also looking for the answer of this question but your answer is not clear. Let me ask the question again.

Can I get the migration of data from Crucible? Yes or No

If yes, how?
Crucible: enforce minimum number of reviewers?
Asked by Helen:

Is there a way to enforce that a crucible review must have at least one reviewer? Our current set up allows someone to create and close a review without actually having the code changes reviewed, which isn't ideal.

We want to keep the review creator as the author of the changes; this makes sense, because only the author knows when the changes are ready for review. I think though, this means we can't use the moderator role to enforce that there is a reviewer, because the moderator is the creator? It would make more sense if the moderator was one of the reviewers but then we go back to how to enforce that there is at least one reviewer...


Answers:
author: Nick
body: Hi Helen,

You can configure a default reviewer (or reviewers) for each Project. Each review created in that project will then have this reviewer automaticall added. While the author can then remove this reviewer via the UI, it would mean they are conciously doing so, and I would suggest you need to seriously talk to that developer about why they created a review with no reviewers on it. It is essentially deciet.

Apart from doing spot-checks and ensuring you have a healthy team culture, where developers are doing the right thing, you could write a crucible plugin which enforces that each review created has at least one reviewer on it. It could be possible however for developers to still game this via other means, so I think its best to trust and then verify that developers are doing the right thing.

Crucible provides some very good reports which let you as a manger see at a glance whether or not reviews are being created without any reviewers. e.g. go to : /cru?filter=allReviews and see the last column.

Cheers,

Nick

comments: author: Helen
body: Default reviewers will be close enough I think. Thanks very much!
Exporting Crucible Review Comments
Asked by David Hamilton:

I would like to export review comments with the file and line numbers that were selected with the comment. If I download the review as text, it all looks good except... it does not include the line numbers selected for the review comment. Is it possible to get this information? Thank you.


Answers:
author: CelsoA
body: Hi David,

Nowadays this feature is not available.

I just created an improvement request related to it:

<https://jira.atlassian.com/browse/CRUC-6607>

```
For more information on how Atlassian implements new features and improvements please see the following document:http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+PolicyMy apologies that I don't have a solution for you at this time.
```

```
?
```

```
Regards,
```

```
Celso Yoshioka
```


author: John Werner
body: Check out [this answer](/questions/106802/how-to-query-crucible-code-review-data) in an old thread. I think the [Crucible Excel Dump](http://code.google.com/p/crucible-excel-dump/wiki/InstallationAndUsage) may do what you want. If not, it makes a good starting point to learn how to write your own tool.
Where is the Audit & Compliance Report functionality?
Asked by BarryRobertson:

The marketing material at <https://www.atlassian.com/software/crucible/overview/code-review-report> mentions Audit \& Compliance report functionality but I have been unable to find anything that provides a printable audit trail. I see now that it doesn't say "printable". I don't even need printable, but a PDF would be handy for formally documenting a review to provide review materials to clients following a review close-out. I would expect to report to provide an indication of the files \& versions reviewed, the diffs, perhaps a .zip file of the files reviewed, time spent, and back-and-forth comments from author/reviewers. Where is it? How have others accomplished this? Thanks...we'd really like to use the tool, but this is a big hole to us.


Answers:
author: Nick
body: On a review, go to: Tools --\> Download Review as Text.

This should provide what you want, albeit as a text, not PDF, document.

comments: author: BarryRobertson
body: Unfortunately the "Download Review as Text" option doesn't list the details of time spent, more importantly the versions of the files inspected, or even potentially the full list of files that were reviewed since it only seems to show the files with comments. It doesn't show line numbers to which comments apply. It doesn't show any kind of diff.

It seems like it would be an easy feature for you to add. "Export Review to PDF"

The following free add-on in the Atlassian marketplace seems to sound like what I need; however, it leads to a "Page Not Found" error. Can you perhaps correct that or forward the plug-in?

<https://marketplace.atlassian.com/plugins/com.atlassian.crucible.plugin.export>

Thanks for taking the time to answer.


author: Kattie Grady
body: Barry, were you ever able to find a solution you were happy with? I'm trying to find a similar answer.


Tags: audit

compliance

report
Where should a testing status be added in JIRA workflow?
Asked by Chuck Curtis:

Trying to create a JIRA workflow and in looking around it seems that most companies (ones I could view issues) seem to have the resolution step after the coding piece (In Progress) was completed. Our company has coding, code review, testing, and now we're implementing test review stops in a workflow. We're evaluating JIRA, Fisheye/Crucible and Confluence and I was wondering why having the resolution step after coding seems to be the most preferred set up and how it works with Releasing Versions?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: It is neither a prefered workflow configuration nor a recommended approach. I guess people just likes it simple. It such cases, they release the code as soon as someone worked on it - even if they are doing some testing in the background.

It is perfectly okay to have the review, testing steps in the workflow and set resolution after that. I have seen quite a lot of companies doing that.


author: Theinvisibleman
body: Hi Chuck,

As Jobin mentioned, there really isn't a preferred workflow configuration, as it all depends on how you would like to track the current status of your project/issue. You can include as many status-es and workflow transition as you require.

Now, as for viewing the workflows of other companies, this can be a bit tricky. One method that I did discover is by importing their workflows. Please note that this is only available from JIRA 6, but if you are currently on that version, then you should be able to [Import Workflows](https://confluence.atlassian.com/display/JIRA/Sharing+Your+Workflow#Sharingyourworkflow-ImportingfromAtlassianMarketplace).

Provided that the companies have uploaded their workflow to the Atlassian Marketplace, you would be able to import them and use/analyze them in your own instance

comments: author: Chuck Curtis
body: I believe we are at JIRA 6. But does that mean I'd find these workflows (view) them directly from the Marketplace?


author: Chuck Curtis
body: I just checked and the only workflows that are present when selecting Import Workflows are 3 from Atlassian.


author: Chuck Curtis
body: Thanks for the response. Do any of these companies have issues that can be viewed by the public so I can see their workflow set up?


Tags: resolution

version

workflow
How to increase session timeout in Crucible 3
Asked by Rohan Herbert:

As facing this issue in Crucible 3

However, what is the default session timeout on crucible version 3.

How to remove this limit? as the session timeout is not required

Ive found some info on older versions of crucible, none for version 3.


Answers:
author: CelsoA
body: Crucible comes with `remember me` functionality, i.e. so long as user hasn't logged out the computer will remember the user. So technically a user should not be logged out, unless the user has disabled the saving of cookies in their browser settings.

If the user has disabled cookies, and does not want to enable the saving of cookies, then, you can add:  

|----------------------------------------------------------------------------------------------------|
| `<``session-config``>` ` ``<``session-timeout``>120</``session-timeout``>` `</``session-config``>` |

in your content/`WEB-INF/web.xml`

Regards.


Tags: fisheye-crucible-administration
Unable to get change set using crucible REST API call.
Asked by Ganesh Virupakshan:

crucible_uat/rest-service/repositories-v1/simple-jar-demo works fine

\<site\>:8070/crucible_uat/rest-service/repositories-v1/change/simple-jar-demo?FEAUTH=\<Authkey\>

throws an exception or a 404.

<br />

I am did not find meaningful examples for the usage of the call.

If an example for usage of /rest-service/repositories-v1/changes/{repo}/{path:.\*$}?oldestCsid=\<value\>\&includeOldest=\<value\>\&newestCsid=\<value\>\&includeNewest=\<value\>\&max=\<value\> is provided it will be useful.

<br />

what should be used in the path. The path in the output of the first command does not work..

When any of the suggested (changes, Browse, history) is used the error repository not found appears.


Answers:
author: lpater
body: Hi Ganesh,

The rest-service/repositories-v1/change, rest-service/repositories-v1/changes, rest-service/repositories-v1/content resources in Crucible are only relevant for repositories that are managed by a Crucible SCM plugin.

For repositories managed natively, you will need ot use the FishEye resources - you'll probably want to use the revisionData-v1 ones: <https://docs.atlassian.com/fisheye-crucible/latest/wadl/fisheye.html#d2e4>.

Best regards,

?ukasz Pater
Crucible upgrade path: from 2.7.10 to 3.1.1
Asked by christiansenb:

we plan to upgrade Crucible/Fisheye from 2.7.10 to the latest 3.1.1 on Linux. Do we have to upgrade from 2.7-\>2.8-\>2.9-\>3.0, then to 3.1? Or can we skip all the interim versions?

Thanks!


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: You should be able to upgrade directly but make sure you test it once. Usually, you can skip minor versions.

Also, make sure you read the upgrade notes, even for the versions you are skipping. Especially if you have any customizations.


Tags: fisheye-crucible-administration
fisheye too many open files
Asked by OneThousand:

What could cause this ?


Answers:
author: CelsoA
body: Hi there,

There are some possible reasons.

1 : Number of files in the repository

2 : Number of threads running at the same time

3 : User limited to open few files.

A resolution for this can be found here:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=137265407>

Regards,

Celso Yoshioka


Tags: fisheye-crucible-administration
Possibility to add two or more Repositorys in a single Fishey Crucible Project
Asked by Athanasios Bladis:

Hello,

i would like to ask you, if exist an possibility to add more Repositorys into a single Fisheye Crucible Project.

Best regards

Athanasios Bladis

BMW AG


Answers:
author: Athanasios Bladis
body: Thank you very much!!! It works great!!!


author: Nick
body: Hi Athanasios,

Absouletly. There is quite a loose relationship between a Crucible project and a FishEye source repository. You can however add as many repositories to any project you wish via the admin section:

Admin --\> Projects --\> FishEye Content --\> Add

Cheers,

Nick


Tags: fisheye-crucible-administration
Anchoring issue with my Git repo
Asked by D K:

I'm hitting a this issue 'Crucible cannot anchor the patch to this repository'

I can select the Git repo the patch was craeted from but there is no option to select the branch the patch was created from. I guess this is why I cannot anchor??

![](../../upfiles/pre-commit-patch-review.png)


Answers:
author: D K
body: Does Crucible support patch anchoring for Git repositories??  
I've tried a few times and still I'm not getting context.  

Nothing in the docs suggests Git is not supported:

<https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews#Creatingpatchfilesforpre-commitreviews-patchanchoring>
Automated user management in Crucible/Fisheye
Asked by Slawomir Ostrowski:

Hi,

I would like to know if Crucible/Fisheye offers remote API for user management, eg. user creation, adding user to proper group, group creation.

Regards,

Slawek.


Answers:
author: Nick
body: FishEye Crucible 3.3 was released this week with a new Admin API to manage all users and groups.

1. Groups: [](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e2)<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e2>
2. Users: [](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e131)<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e131>

Enjoy.


author: Sergey Svishchev
body: No, it does not. There is a 3rd party plugin (<https://marketplace.atlassian.com/plugins/de.woeschbach.fisheye.fisheye-manager>) that handles group management, though.


Tags: fisheye-crucible-administration
Post-commit, arbitrary content code reviews on Crucible?
Asked by Graham Allan:

I am running a trial of Atlassian Crucible at my company of approximately 50 developers. We do not use any other Atlassian products.

As our teams started to become distributed we saw an uptake of ad-hoc code review discussions. Currently this happens using our internal microblogging service, plus links to diffs in our internal [GitWeb](https://git.wiki.kernel.org/index.php/Gitweb) (and something similar for our SVN projects). I was hoping to find something more suited to the purpose, that better caters to discussion (General comments seem good) and code suggestions (linking to Crucible Snippets would do). We tend to use code review for learning and discussion, and ironing out conventions, rather than to directly improve the specific code under review.

We have a post-commit workflow, where a developer will choose to select their own code for review. Usually this is when they feel that something isn't quite right, and would like help, or they think a pattern or technique is worth publicising. Probably also for a bit of "Look how smart I am"; hey, we are developers after all. I also expect that we would use such a tool for "Why is this code written like this?" kind of reviews, where we look at code written by others, perhaps months or years previously, and discuss how to improve it.

The difficulty here is that often, the code that should be reviewed is not tied to a single changeset (we push to master very regularly) and sometimes, the code we want to review comes as an incidental part of a mostly unrelated changeset (say one line of code that comes as a five class changeset). I have found it particularly difficult to create a review based on arbitrary content. Selecting diffs doesn't allow me to squash several commits into one chunk to look at, and selecting entire files doesn't direct reviewers to what I want them to review.

Ideally I'd be looking for something that allows me to create a review based on arbitrary lines of arbitrary files, use a similar UI to what it looks like for diffs, but spanning multiple versions of the code. Does such a feature exist in Crucible?


Answers:
author: Nick
body: Hi Graham,

I believe Crucible should do what you want already.

Have you tried using the "Search for Files" option when Adding Content to a review ? You can then select how the files should be added to the review. The options are:

\* whole files

\* diffs

\* diffs to last branch point

\* diffs to last reviewed version

\* or a diff to any other version

I think the last option should do what you need?

Another option is to simply add the files you wish to have reviewed as whole files, and then have the author of the review comment on the lines (you can comment on multiple lines by click-dragging) they wish to call out to the reviewers.

Crucible offers very flexible code review possibilities, so I am sure you will be able to find a way to make it work best for your team.

Please let us know if you need any more ideas.

Cheers,

Nick


Tags: workflow
Where should FishEye be installed?
Asked by Svein Seldal:

Where should FishEye preferably be installed? On the server running Jira, on a separate server, on the server running the subversion server and the mercurial repos?


Answers:
author: Nic Brough -Adaptavist-
body: The usual recommendation is to install it on the main source control server (the one running subversion or mercurial) because it can make a lot of information requests to the repository. A local connection means faster and lower load.


Tags: fisheye-crucible-administration
Crucible migration between servers avoiding long reindex times
Asked by Neeraj Sharma:

Hi,

We are using Crucible 2.5.2 and have close to 70 repos spanned across 100 projects.Our Crucible \& fisheye caches are quite large with a combined size of close to 150GB. The zip backups are quite huge as well and hence restore from the zip back doesn't work.

We are planning to migrate our Crucible instance to a new box with large disk capacity but don't want to compromise on the reindex/rescan time it takes to do the svn repos.

Can someone please help on the steps which could be used to migrate the server from one host to another and at the same time avoiding the rescan of repos?

Is it possible to copy the caches from one machine to another and then making the new instance point to the original db?

Will steps mentioned in the below link avoid rescaning of the repos?

<https://confluence.atlassian.com/display/FISHEYE/Migrating+FishEye+Between+Servers>

i came across with the below link but not sure if we can something similar just to create a pararllel copy quickly without actually doing an upgrade?

<https://confluence.atlassian.com/pages/viewpage.action?pageId=298977103>

Thanks,

Neeraj


Answers:
author: lpater
body: Hi Neeraj,

you can safely move your FishEye caches from one server to another.

The steps outlined in <https://confluence.atlassian.com/display/FISHEYE/Migrating+FishEye+Between+Servers> will allow you to set up a new instance with the existing data.

If there were new reviews created on the original server after moving the caches, your repositories might need a review-revision reindex (see <https://confluence.atlassian.com/display/FISHEYE/Re-indexing+your+repository>) and a Crucible Index Maintenance (in Administration/Crucible) to sync the indexes up with the db. Both of these should be quick and unrelated to the size of your repositories.
Fisheye CLI - How to add repository
Asked by Florian Pfeiffer:

I'm wondering if it's possible to add a repository to fisheye from the CLI? I had a look at the documentation and couldn't find anything useful for that. Or do I have to create that with the run/query action?

Thanks for any directions :)


Answers:
author: rstephens
body: Hi Florian,

Unfortunately there is no REST API exposed but there is an API for managing repos that is available to plugins. [This open source plugin](https://github.com/mediatemple/fisheye-git-repo-api) provides a REST endpoint for creation of GIT repos, and woud be fairly trivial to modify to support other repo types.

Kind Regards,

Richard Stephens

comments: author: Florian Pfeiffer
body: The plugin looks exactly like what I currently need! thanks =)


author: Nick
body: We have started building out the FishEye/Crucible Admin REST api. The first version is already shipping since 3.0.

You can add repositories, and also perform common actions such as triggering a scan, re-index etc all via REST already.

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

comments: author: Bob Swift (personal)
body: Nice, I must have missed that in the 3.0 announcement. I added [FCLI-10](https://bobswift.atlassian.net/browse/FCLI-10) to cover.


author: Bob Swift (personal)
body: No. I don't believe there were any configuration like remote APIs available from FishEye.


Tags: fisheye-crucible-administration
Email notification from Crucible
Asked by Rumceisz:

Dear All,

where could be configure the email notification in Crucible??? There is no info in the docs.

I mean that anybody who attends (Author, Moderator, Reviewers) certain code review doesn't receive any emails from Crucible. For instance about starting review, changing the status, new comments etc.

Could you please help?

Thanks in advance,  
Rumi


Answers:
author: Abdoulaye Kindy Diallo
body: Kindly refer to the below docs:

* <https://confluence.atlassian.com/display/CRUCIBLE/Customising+email+notifications>
* [https://answers.atlassian.com/questions/46108/how-to-configure-which-emails-crucible-sends](/questions/46108/how-to-configure-which-emails-crucible-sends)


Tags: fisheye-crucible-administration