youngmon/atlassian-qna huggingface dataset:
How to apply for a paid license upgrade after using it for free for 1 month?
Asked by ???:

How to apply for a paid license upgrade after using it for free for 1 month?  
hello.  
After using Bitbucket for free for 1 month, the period has expired and Sourcetree is unable to push due to license overflow.  
So I purchased a paid one-year license.  
But I don't know how to apply it, so I'm still looking for a way.  
help.  
thank you

p.s. When purchasing a paid license, I clicked and downloaded the json file. What do I use this for?


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Bitbucket Server/DC licences are available in the Atlassian account that bought them (and the accounts of billing and technical contacts if you've added any).

Log into my.atlassian.com and go to the [licences](https://my.atlassian.com/products/index) section to get the list of licences you have access to, and expand the one you are interested in.

To the right, you will see a "licence key" which looks like a big block of random characters. Highlight the whole lot and copy it, then log into your Bitbucket as an admin, and go to Admin -\> Licence and paste the key into the licence key box there.

There's no need to restart or change anything else.


Tags: bitbucket-server

server
Can not edit Wiki
Asked by mikerb:

I have had a Wiki for 4 years that I maintain. It is in a public Repository and viewers can not edit it. All of a sudden I can not edit it. I log on to my Atlassian account, go to my workspace and pick the repository. At the top right of the screen it shows I am logged in.

I select the wiki and the first page is shown but I can not edit it and it shows that I am not logged in. What is happening?  

regards

Mike


Answers:
author: mikerb
body: Apparently the solution is turn the security to private, which allows you to edit it. After editting you change the Wiki back to public.


Tags: bitbucket-cloud

cloud
Pipeline failing with sh: 1: eslint : not found error
Asked by Tej Naveen Chintakunta:

HI ,  

one of my pipeline is failing with below error:  

![pipeline_failure.PNG](/t5/image/serverpage/image-id/280134i30F9748E1A48D3D2/image-size/large?v=v2&px=999 "pipeline_failure.PNG")  

But I have **'eslint'** in **package.json** file and I'm using '-**pipe: atlassian/npm-publish:0.2.6** ' while publish to npm.  
node image: 16


Answers:
author: Syahrul
body: G'day [@Tej Naveen Chintakunta](/t5/user/viewprofilepage/user-id/5314369)

Welcome to the community!

The error generally means no ESLint was found in your current pipeline steps. While I understand that you've added ESLint in your package.json, I wonder if this is within the same step.

I ask because for each step of a pipeline, a new Docker container starts, the repository is cloned in this container, and then the script commands are executed. So, if you are installing ESLint in one step and running it in another step, it won't work unless you install ESLint again in the new step's container.

I hope this helps.

Regards,  
Syahrul

comments: author: Tej Naveen Chintakunta
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536) Thank you for the response.  
Issue resolved by updating the node image version in the **bitbucket-pipeline.yaml** file.  

once again thank you :)  


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Total no of file limit in bitbucket
Asked by Hassan Anver:

Is there a limit on how many files (total no of files) are in Bitbucket cloud repo?


Answers:
author: Mahesh Shinde
body: Hi [@Hassan Anver](/t5/user/viewprofilepage/user-id/1253775)

There is no limit on number of files in Repository only it should not go beyond the 2gb to 4GB size of the overall repository.

You can refer this article: <https://confluence.atlassian.com/bbkb/what-are-the-repository-and-file-size-limits-1167700604.html>

Regards,

Mahesh Shinde


Tags: bitbucket-cloud

cloud
What is the rules for the order of branch pipelines?
Asked by Jeremy Richardson:

I have a repo that has a couple branches with unique build scripts. From what I can tell the documentation says that the more specific the branch name used, the higher priority it will be in getting called.
> If you specify the exact name of a branch, a tag, or a bookmark, the pipeline defined for the specific branch overrides any more generic expressions that would match that branch.
>
> <https://support.atlassian.com/bitbucket-cloud/docs/use-glob-patterns-on-the-pipelines-yaml-file/>

But for some reason this glob based expression always overrides my pipeline where I specific the specific branch name. The branch I want to run is *dev/pagespeed*.

```
dev/pagespeed // this is what I want to run
"{feature/*,fix/*,dev/*}" // this one runs...
```


Answers:
author: Patrik S
body: Hello [@Jeremy Richardson](/t5/user/viewprofilepage/user-id/5071196) and thank you for reaching out to Community!

I was able to confirm that when using multiple patterns in a branch pipeline definition (e.g. '*{feature/\*,fix/\*,dev/\*}'*) the order of priority of branch exact match is not working correctly.

For that, I raised a bug report to our development team so this can be fixed :

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the impact. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all bug fixes are implemented with [this policy](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html) in mind.

In the meantime, you can try using the workaround I described in the bug ticket. From my tests, the issue seems to only occur when the branch running the pipeline has both an exact match and a generic match that **has multiple patterns** . With that in mind, I was able to get it working separating the glob patterns by their own definitions. To avoid repeating the step's script and other attributes for each of the definitions, you can make use of [YAML anchors](https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/). Following is an example definition using those concepts :

```
definitions:?? steps:? ? - step: &build-test? ? ? ? name: Build and test? ? ? ? script:? ? ? ? ? - mvn package? ? ? ? artifacts:? ? ? ? ? - target/**pipelines:? branches:? ? ?'dev/mybranch':? ? ? - step:? ? ? ? ? script:? ? ? ? ? ? - echo "this is for branch dev/mybranch "? ? ?'dev/*' :? ? ? - step: *build-test? ? ?'feature/*':? ? ? - step: *build-test 
```

Hope that helps! Let me know in case you have any questions.

Thank you, [@Jeremy Richardson](/t5/user/viewprofilepage/user-id/5071196) !

Patrik S


Tags: bitbucket-cloud

cloud
We couldn?t log you in
Asked by Bob Herzberg:

I've tried all four major we browsers and I can't log into Bitbucket at all. Each one says:

We couldn't log you in {#toc-hId--436490320}
--------------------------------------------

You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.


Answers:
author: Syahrul
body: G'day [@Bob Herzberg](/t5/user/viewprofilepage/user-id/5313811)

Welcome to the community!

It looks like your account was inactive, so I have reactivated your account. Could you log in again and let me know how it goes?

Regards,  
Syahrul


Tags: login

unknown-hosting-type
Is it possible to use Fisheye/Crucible onDemand with BitBucket.org?
Asked by Tonya Stoll:

We have just moved our source to [bitbucket.org](http://bitbucket.org) and found that Atlassian has these other products that look like they would fit well. Is it just me, or can I not find a way to hook up my Bitbucket source to Fisheye. I linked bitbucket to JIRA but the Code tab seems to only be looking in SVN.

Thanks!


Answers:
author: Matthew Hunter
body: It isn't possible to connect FishEye/Crucibe on OnDemand to BitBucket right now. You can connect up JIRA OnDemand with BitBucket, check out the documentation at:

<http://confluence.atlassian.com/display/AOD/Linking+a+bitbucket+or+GitHub+repository+with+JIRA+OnDemand>

The only source repository available with FishEye and Crucible OnDemand at the moment though is the built in Subversion repository.

Cheers,

Matt


author: Felipe Cuozzo
body: Please read the following important announcement:

[End of Service Announcement for Subversion and FishEye/Crucible in OnDemand](http://go-dvcs.atlassian.com/display/EOL/Source+Review+Bundle+End+of+Service)

Please direct your questions to this question:

[Subversion, FishEye/Crucible (the Source + Review Bundle) on OnDemand End of Service](/questions/95199/subversion-fisheye-crucible-the-source-review-bundle-on-ondemand-end-of-service)


author: Lucian Masalar
body: Thanks Mark.

We have started using the new built-in code review option that was rolled out with the new update of the Bitbucket this week (it works very similar to Crucible for in-line reviews, but it doesn't have all the features). It's a poor man's solution that works for now.

Atlassian, come on, please prioritize this higher in your backlogs man, this is so not like you guys ... !!!


author: Mark Snelling
body: I've created a JIRA issue for this. Feel free to vote on it.

<https://jira.atlassian.com/browse/FE-4324>


author: AndyAtTogether
body: is the a timeframe on when the integration between fisheeye and bitbucket will be available on OnDemand


author: Lucian Masalar
body: Hi Borek, would you mind sharing how you did it. It would be highly appreciated.

Thanks.


author: Borek Bernard
body: It is possible, we have connected our BitBucket private repository to FishEye / Crucible successfully but it was not as easy as it should be. The problem was that FishEye doesn't support SSH very well (although the UI looks like it does) and we only got it working when we switched protocols to HTTPS. Hope this helps.


Tags: cloud

fisheye-crucible-svn-ondemand
How to merge more committers into one?
Asked by Borek Bernard:

I have a user that was commiting to our Git repository using different email addresses / names but is a single person. In FishEye / Crucible, how do I tell the tool to treat such commits as if they were from a single user? (E.g., BitBucket has an alias feature for this.)


Answers:
author: seb
body: Each user can set up their own committer mappings. This can be done from the settings dialog: <http://confluence.atlassian.com/display/FISHEYE/Changing+your+User+Profile#ChangingyourUserProfile-AuthorMappingTab>

An admin can configure these for any user/committer from the User Mappings section in the administration console.
Ready Reviews are in draft mode when created with a smart commits
Asked by Reto Conconi:

Hi

since some days most of the reviews we create using smart commits (but not all of them) remain in the draft state. Before (a few days ago), the reviews were always started automatically (which is desirable for us). We don't know what made Crucible to change this behavior.

We use Crucible with an agile permission scheme and have deactivated the moderator for our project. Additionally we allow any developer to join a review at any time. Our developers usually create reviews by using a smart commit in their subversion commit messages. Let's say user1 commits a bug-fix with following commit message:

```
JIRAKEY-12 Fixed bug+review CRUCIBLE @user2
```

Up to the last week this commit created a new review and added user2 as reviewer, user1 as author, and then the review was started automatically.

Now when user1 uses the same commit message, review is created but it stays in draft mode (in most of the cases \~90%). The user1 then has to go to crucible and click start (no other action is necessary to start the review).

Can somebody help us? Is there a configuration we overlooked? We have no clue why Crucible suddenly stopped starting reviews. And again: some reviews still get automatically started, but most of them not. And so far we do not see what we do differently in those commit messages.

We did not change anything in the configuration of our Atlassian servers since January 20 (when we upgraded JIRA/Fisheye/Crucible to their newest versions). We are using the following versions now:

Fisheye/Crucible: 2.7.10  
JIRA: 4.4.4

Best regards

Reto Conconi


Answers:
author: James Turner
body: I've just written a simple python script that starts all Draft reviews. It runs every 5 minutes, which helps us get over this problem, but might not be ideal for everyone (we never create reviews from the browser, only via smart commits).

James


author: Foong
body: Hi Reto,

It seems to be caused by this bug: <https://jira.atlassian.com/browse/FE-3901>

comments: author: Reto Conconi
body: Hi Kah Loun Foong

Thanks for the link.

Reto


author: James Turner
body: Hi Reto,

We're having exactly the same problem. It's slightly different because I've created an svn post-commit hook to change the commit message to include the +review \<bar\> @foo, but the correct message is shown in fisheye after the commit.

Did you solve the problem in the end?

Many thanks

James

comments: author: Reto Conconi
body: Hi James

Thanks for your comment. No we could not solve it so far, we are still having this problem.

Reto
Do all the Subversion end-users have to use SVNKit Client after Subversion is integrated with FishEye and JIRA?
Asked by Aiping Zhang:

Our Subversion users currently use TortoiseSVN as the client. After the integration, do all end-users need to switch from TortoiseSVN to SVNKit?

Another question, can be FishEye installed on the same server as JIRA? And can we modify the default port 8060 to something else?

Thank you


Answers:
author: JamieA
body: svnkit is a java implementation of svn, as such it only needs to go on the server. It's not an svn client, except maybe for fanatical java types.

It's used for solely for fisheye querying subversion repositories, or jira, if you use the jira-svn integration.

comments: author: Aiping Zhang
body: I understand it now, thank you Jamie


author: JamieA
body: No problem. Feel free to mark my answer as correct, to help other people.
Version of SVN
Asked by Graham_Denton@johnlewis.co.uk:

How do I find out what version of SVN the Atlassian servers are running?


Answers:
author: NikE
body: For OnDemand, Repository (Subversion) = Subversion version 1.6.11

We keep an updated list of application versions [here](https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Application+Versions).


author: Graham_Denton@johnlewis.co.uk
body: Thank you.


Tags: cloud

fisheye-crucible-svn-ondemand
Fisheye/Crucible integration into JIRA and licenses.
Asked by lance_lyons:

I am trying to find out how the Jira integration works for Crucible/Fisheye in terms of licenses.  

We have 25 licenses of each crucible and fisheye. We have it integrated in with Jira where we have 100 users. I only have 20 or so developers that will actually use crucible and fisheye for sifting through code.  

However I have 30-40 Jira users that may want to see the diff in Jira under source tab. Normally they use tortoise svn to do this but since its integrated into Jira that is the best place.   

Is there only 25 of our Jira users that can see the diff from the fisheye integration?   

Are all of my Jira users able to see the source tab and checkins? Are they able to see the diffs?


Answers:
author: Felipe Kraemer
body: Hi Lance,

As you have more users in JIRA than you have in FishEye/Crucible and all users in JIRA side must see the source code in the JIRA issue, you need to use Basic Authentication only in the [Application Link](https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+FishEye).

* **Trusted Applications** requires the same user base in both applications.
* **OAuth** will require an authentication. A message like this will be displayed in the Source tab:  
  *Server [\<FishEye_server_name\>](#) requires authentication. [Login \& Approve](#) to view source. Alternatively, [hide this message](#).*
* **Basic Authentication** uses only one administrator account to authenticate in FishEye side for all your users in JIRA side.

If you face any problems, don't hesitate to open a [Support](https://support.atlassian.com) ticket.
Crucible and upstart jobs
Asked by J. Caldwell:

Hey...I am struggling with creating an upstart job for crucible. The sticking is that it ships with two different scripts for starting and stopping. While I am tempted to rescript and just have a master fisheye script for stopping/starting, I wanted to know if anyone else has run into this as I would prefer not to reinvent the wheel.


Answers:
author: Douglas Garstang
body: That has to be the dumbest reply I have ever seen.


author: Sergey Svishchev
body: There already is a master fisheye script -- fisheyectl.sh
Is there a limit to the number of repositories that I get with my subscription?
Asked by Eric Mauch:

Need to know if we are limited on how many repositiries we can have


Answers:
author: Michael Knight
body: OnDemand actually only has one Subversion repository. Each project creates a top-level directory in that repository matching the key of the project. A side-effect of this is that revision numbers are shared across all projects.

There is no theoretical limit to the number of projects you can create. In practice, you may start seeing performing problems with many hundreds/thousands of projects.


Tags: cloud

fisheye-crucible-svn-ondemand
Cannot access recently imported SVN repository - 403 forbidden
Asked by Craig R Morton:

We have an issue where we are unable to access a recently imported SVN repository.

There was an issue right at the very end of the import process where, when it was inspecting the directory structure, it timed out.

Is there a way to determine if the SVN repo exists? It spent quite a while importing around 36,000 revisions so I hope there is something there.

When using both TortoiseSVN and SVN at the command line I get the following error:

> Server sent unexpected return value (403 Forbidden) in response to OPTIONS request for 'https://XXXjira.atlassian.net/svn'
>
We have the following repo structure:

/

/1984

/shop

/shop/branches

/shop/tags

/shop/trunk

Do we have to configure our users to access SVN? I cannot see anywhere to do this. Or do we have an issue with structure? The user I am logging in as has admin privileges.

Any help appreciated.


Answers:
author: Matthew Hunter
body: Hi Craig,

You can configure your SVN repository access at the FishEye administration page at:

<https://XXXXXX.atlassian.net/secure/admin/RepositoryProjectList.jspa>

By default no one has access to the root directory of subversion, so you'd need to do an ls over /svn/1984 for example. You can give permission to the root directory on the above page if you'd like though. Check out the following documentation for more information:

<http://confluence.atlassian.com/display/AOD/Configuring+repository+permissions+for+a+project>

Cheers,

Matt


author: Ilerian Co. Ltd.
body: Do you use mod_evasive on the apache web server that your subversion exist?

I had the same problem; It was giving 403 error when fisheye tries to connect subversion with to much request which is caused by mod_evasive.

Use DOSWhitelist statement for mod_evasive like the following lines:

```
 DOSWhitelist   127.0.0.1 DOSWhitelist   192.168.0.*
 


```


Tags: cloud

fisheye-crucible-svn-ondemand
Is migration process all I have to do to change FishEye's database with all data?
Asked by Asmo Tuomisto:

Hi!

I have FishEye running with projects etc. in it.

Could I change the current hsql database to an external via 'database migration'? Is that all I have to do?

Do the migration-process move ALL data to new db, so that after the process I could continue using FishEye normally?

Thanks!


Answers:
author: Colin Goudie
body: Yep that is right. Always good to make a backup of your fisheye home directory before you do this though :)


Tags: database

migration
Export Defect Metric data as csv
Asked by Jaspreet Kaur:

I wan tot generate metrics for which I need followign information. I want to search this info based on author/project

- review Id

- No of defects / classification of defect.

This info is currently shown in defect metrics. Just wanted to check if its possible ot get the data in csv ?


Answers:
author: Phil Lopez
body: I've been trying to find this out as well. I need to be able to export data from Crucible into CSV or Excel. I haven't been able find this out.


Tags: review
JAVA_HOME error trying to run Crucible
Asked by marklemerise:

So I'm getting the classic "JAVA_HOME is not defined correctly. We cannot execute java" error when trying to run Crucible using the run.sh script (for the first time) after installing a standalone JIRA instance. I receive a different error when trying to run without sudo access "Error occurred during initialization of VM. Could not reserve enough space for object heap. Could not create the Java virtual machine."

I have already taken several steps in trying to help myself, mainly:

1. Adjusting JVM max and min memory allotments. This have been adjusted to sizes recommended in the JIRA guide.
2. Setting JAVA_HOME variable in both /etc/profile and .bashrc. My JDK rests in a folder called /apps/java/jdk1.6.0_25.
3. Exporting JAVA_HOME variable immediately before running the run.sh script and echoing it to check that it is set.

I really don't know what else to try. Here is a printout of the relevant portion of my /etc/profile configuration:

```
export JAVA_HOME=/apps/java/jdk1.6.0_25export PATH=$PATH:/sbin:/usr/sbin:$JAVA_HOME/bin
```

Any help would be much appreciated. The JIRA instance itself is up and running but I would like to have Crucible/Fisheye going as well. Thanks.


Answers:
author: Mahalakshmi Sivasamy
body: Facing same issue on our instance. Any workaround for this?


author: LeonardoL
body: Hi Mark,

I believe this could be related to memory allocation. Maybe you might want to increase the java heap size in your FISHEYE_OPTS and see if this helps. You can use this link as support:

<https://confluence.atlassian.com/display/FISHKB/Fix+Out+of+Memory+errors+by+increasing+available+memory>

Cheers,

Leonardo.


Tags: java
how can I integrate jira with fisheye & crucible at ondemand for evaluation ?
Asked by SeungYong Jeong:

I had start evaluating onDemand Jira with fisheye \& crucible \& svn.

and now I find that it looks not integrated each other.

for example,

I cannot make a issue in review tab.

I cannot make a review in issue tab.

so I think jira and others are not integrated well.

why this happen? something missing?

thank you for your answer :)


Answers:
author: Abdoulaye Kindy Diallo
body: Hey Seung Yong,

To further investigate this, the suggestion would be to raise a support ticket through SAC (<https://support.atlassian.com/secure/Dashboard.jspa>). Please do provide a description of the issue, how to reproduce it if necessary? and the URL.

Hope that helps.

Cheers,


Tags: cloud

fisheye-crucible-svn-ondemand

jira-cloud
Can you back up FISHEYE_INST with a file-system backup?
Asked by Brian Louks:

I want to back up my Crucible / FishEye data, but I don't really want to use the atlassian-provided backup service to do so. Is it possible to just back up the FISHEYE_INST directory with a standard disk backup tool?

My SQL data is already backed up by Sql Server.

Thanks


Answers:
author: Brian Louks
body: Atlassian support told me:

> Yes if you are using an custom FISHEYE_INST directory. Then it should be sufficient to backup FISHEYE_INST and mysql databases.


Tags: backup