youngmon/atlassian-qna huggingface dataset:
Bitbucket pipelines build limit
Asked by Eric Kivuti:

The Atlassian documentation on [build limits](https://support.atlassian.com/bitbucket-cloud/docs/limitations-of-bitbucket-pipelines/) describes the monthly limit and costs of increasing it.

I joined a team, and created a few repositories and started to wonder..

Is the build limit per repository, per project, per workspace or per user?

I did not want to setup pipelines that would end up depleting the build limit of the team I just joined..


Answers:
author: Syahrul
body: Hey [@Eric Kivuti](/t5/user/viewprofilepage/user-id/3501515)

If you are asking about the pipeline build minutes, they are per workspace. So basically, if it's a Standard plan, that would be 2,500 minutes per workspace per month.

Regards,  
Syahrul


Tags: bitbucket-cloud

bitbucket-pipelines

build

cloud

limit
getting timed out while trying to send email using email-notify pipe
Asked by Yusuf Malak:

I am trying to send email from bitbucket pipeline using email-notify pipe. Below is the configuration for the pipe.  

pipelines:  
custom:  
RunAutomatedRegressionTests:  
- step:  
name: Build  
script:  
- pipe: atlassian/email-notify:0.13.1  
variables:  
USERNAME: \<USERNAME\>  
PASSWORD: \<PASSWORD\>  
FROM: \*\*REDACTED\*\*  
TO: \*\*REDACTED\*\*  
HOST: \<HOST\>  
PORT: 587  
SUBJECT: 'Bitbucket Pipeline Notification'  
DEBUG: 'true'  

I am getting timed out error. Can some one help me with this please


Answers:
author: Ben
body: Hi [@Yusuf Malak](/t5/user/viewprofilepage/user-id/5487087)

Can you check that the host port is open by attempting to connect to it locally with the following command?

```
telnet yourhostnamehere.yourdomainhere.com 587
```

I would also suggest whitelisting our Bitbucket build environment IP addresses on the host server:

* <https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/>

Please try the above and let me know how it goes.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

pipes
How to connect Jeknins with bitbucket pipeline for using curl command to run pipeline
Asked by Anil Mitkari:

I have jenkins pipeline for build and deployment. need to run curl command to trigger build remotely. How to connect jenkine with bitbucket pipeline to use curl command for ex. curl -X POST [http://server-ip:8080/job/test123/buildWithParameters](http://3.6.96.203:8080/job/test123/buildWithParameters) --user build-user:authentication-token --data key=value

I need to run this command in bitbucket pipeline but it is getting failed and error is

0curl: (7) Failed to connect to server-ip port 8080: Connection timed out


Answers:
author: Ben
body: Hi Anil,

I would recommend referring to and using the Jenkins job trigger pipe to trigger builds in Jenkins, you can find setup instructions and documentation for usage below:

* [https://bitbucket.org/product/features/pipelines/integrations?search=jen\&p=atlassian/jenkins-job-trigger](https://bitbucket.org/product/features/pipelines/integrations?search=jen&p=atlassian/jenkins-job-trigger)
* <https://bitbucket.org/atlassian/jenkins-job-trigger/src/master/>

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
verify the eligibility of the Community/Academic license
Asked by Haymel:

Hello,

I received an email to verify the eligibility of the Community/Academic license for our organization, when I follow the verification steps, in the Nonprofit name or Registration ID\* question I cannot find our organization and when I try to add it it asks me for some evidence that I don't have, could you please guide me through the process?

Thanks.


Answers:
author: Ben
body: Hi Haymel,

May I know how you have signed up? If your organisation isn't listed, you will need to submit a formal request through our system first including all of the details of your organisation:

* <https://www.atlassian.com/solutions/survey/academic-license-request#/>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: academic

bitbucket-cloud

cloud

community

licence
can i unsubscribe from a crucible review
Asked by Gordon Milne:

I would like my entire team (20 people) to be part of every crucible code review . However, I also want reviewers to be able to decline further updates on reviews they are not interested in.

Is there a link I can click, or a simple action I can perform to remove myself from the list of reviewers in a review.

I see this as a "mute review" link of some kind. Once clicked, I no longer receive updates on the review, but I should be able to rejoin (i.e. "unmute review") the review at a later date if I so wish.


Answers:
author: Piotr Swiecicki
body: One can easily remove oneself from review by click "Edit Review" button. The Edit Review dialog presented shows list of all reviewers, simply remove selected one(s).

In order to reviewers to have the ability to remove themselves you need to ensure the Permission Scheme for your project allows Reviewers to Edit Review Details. It is configured this way for 'agile' permission scheme so no action required if you are using it already.

Regarding the possibility of reviewers re-adding themselves again after they have been removed, you may want to allow those named individuals (or a dedicated group(s) if you have it set up) the Edit Review Details permission in your project.

Hope that helps,

comments: author: tapik
body: Does it mean that I need a different permissions to Join a review and to Withdraw from it? Isn't it weird?

In this particular case, each and every reviewer has to have rights to add/remove others, CLs etc. just to be able to step out.
Crucible 4.0 what are the supported Browsers?
Asked by Janet Clark:


Answers:
author: Jeff Thomas
body: Hi Janet,

The supported browsers are mentioned on the [Supported platforms](https://confluence.atlassian.com/display/CRUCIBLE/Supported+platforms) page.

* IE 10 \& 11
* Firefox - latest stable release
* Safari - latest stable release
* Chrome - latest stable release
Permission Denied (public key).
Asked by Anthony Daly:

Here is a snippet from my YML file;

```
- step:

          name: Statically serve via server-handler and expose it to the internet via ngrok

          script: 

            - ssh $USER@$SERVER #'cd /var/www/skillshare-scp-test && npm install --save serve-handler ngrok && node index.js'
```

The $USER and $SERVER variables have been defined in bitbucket repository variables.  

I have generated an RSA SSH key pair through bitbucket of which I've added the public key to my AWS EC2 instance(Ubuntu AMI) in .ssh/authorized_keys.

Here is the error I get through pipelines when I push my code:

    1. + ssh $USER@$SERVER 'cd /var/www/skillshare-scp-test && npm install --save serve-handler ngrok && node index.js'

    2.??Warning: Permanently added the ED25519 host key for IP address 'x.xx.xx.xxx' to the list of known hosts

    3. ?Permission denied (publickey)


Answers:
author: Patrik S
body: Hey [@Anthony Daly](/t5/user/viewprofilepage/user-id/5486538) and welcome to the Community!

The error message indicates that the key is not being recognized as an authorized key by the destination server.

Could you please confirm if you have added the public key that was generated in Pipelines to the path **\~/.ssh/authorized_keys** on your server? This file should be in the ++home directory++ of the same user you are providing in the SSH command ($USER).

If you confirm the key was added in the correct file and user on your EC2 instance, I would suggest that you try to :

1. [Create your own SSH key locally](https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-linux/#Create-an-SSH-key-pair)
2. Add this key to *\~/.ssh/authorized_keys*on on your server
3. Test connecting locally using this key to the SSH server
4. If the connection works, delete the pipeline SSH key from the repository settings, and add your own locally created key pair
5. Run the pipeline again (now it will use your own uploaded keys) and check if the authentication works.

Additionally, you can also include the verbose flags in the SSH command so it will output more logs that may help with the troubleshooting:

    ssh -Tvvv $USER@$SERVER 'cd /var/www/skillshare-scp-test && npm install --save serve-handler ngrok && node index.js'

Thank you, [@Anthony Daly](/t5/user/viewprofilepage/user-id/5486538) !

Patrik S


Tags: bitbucket-cloud

cloud
Manual for CentOS not work
Asked by Jakub Korbel:

Hello, I tested this manual on CentOS 6 and this code in init.d not work.

Code opening only menu valid commands.

For CentOS 6

case "$1" in

start)

su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh start"

;;

stop)

su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh stop"

;;

restart)

su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh stop"

sleep 10

su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh start"

;;

\*)

echo "Usage: $-0 {start\|stop\|restart}"

esac

exit 0

Thank you

Goodbye

Jakub Korbel

*reference to Atlassian Documentation: [How to start FishEye and Crucible at boot time](https://confluence.atlassian.com/pages/viewpage.action?pageId=223216848)*

Ask your question here...


Answers:
author: Jeff Thomas
body: What is the error that you're getting?


Tags: documentation

fisheye-crucible-administration
How can I update all subversion repository username and passwords
Asked by Scott Cowan:

I have 270+ subversion repositories in fisheye. How can I update the username and password in each of then programmatically?

It looks like I might be able to from the last PUT example at <https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d1e1487>, but I'm not sure what "p4" is.

I'm hoping to PUT something like the first example,

{ "description" : "My old SVN repo", "enabled" : false, "svn" : { "path" : "/amazingapp_old", "auth" : { "username" : "newton", "password" : "apple" }, "caseSensitive" : true " } }

Thanks in advance,

Scott


Answers:
author: Maciej Swinarski
body: Hi Scott,

To get the list of all your svn repositories use this REST endpoint:

```
GET https://[fisheye]/rest-service-fecru/admin/repositories?type=svn&amp;limit=500
```

this will return a list of svn repositories where you can get repository names. Note this is a paged (default 100) response, so you can append the limit parameter to have all the results in one request.

Example:

```
{start: 0, limit: 100, lastPage: true,  size: 30, values: [   {type: "svn",    name: "someSvnRepo1",     storeDiff: true,    enabled: false,    svn: {        url: "https://somesvnrepo1/svn",        path: "/repo",        usingBuiltinSymbolicRules: true,        auth: {username: "user1", password: "pass2"}    }},   {type: "svn",    name: "someSvnRepo2",     storeDiff: true,    enabled: false,    svn: {        url: "https://somesvnrepo2/svn",        path: "/repo",        usingBuiltinSymbolicRules: true,        auth: {username: "user2", password: "pass2"}    }},...
```

Now you can send a PUT request with just the data that you want to modify (other properties will be left untouched), so you could iterate over the list above and send following requests to update the username and password:

```
PUT https://[fisheye]/rest-service-fecru/admin/repositories/someSvnRepo1
```

with the following payload:

```
{    enabled : true,    svn: {        auth: {username: "user1", password: "pass2"}    }}
```

Note, no need to set enabled=true - I have just added it to show the JSON structure of the payload.

The p4 you are referring to is an example of how to update a Perforce repository.

Also note there is a python client that could help you writing this script: <https://bitbucket.org/atlassian/fecru-rest-examples/src>

comments: author: Scott Cowan
body: Hi Maciej, That's just the confirmation I needed. I just updated all my repos.

Thanks a bunch!

Scott


author: Marek Parfianowicz
body: P4 is Perforce repository.

comments: author: Scott Cowan
body: That makes sense now. Thanks!


Tags: fisheye-crucible-administration
I have got trail licence, how do i mention SEN number? Need immediate support ASAP. Big business requirement to purchase permanent licence, please support satyaranjan.mishra@honeywell.com
Asked by SatyaM:

*This question is in reference to Atlassian Documentation: [Finding your FishEye or Crucible Support Entitlement Number (SEN)](https://confluence.atlassian.com/pages/viewpage.action?pageId=298976927)*

Installed a trail version of crucible licence and configured SVN repository, initial indexing got struck at 14%Crucible-error.JPG  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/I-have-got-trail-licence-how-do-i-mention-SEN-number-Need/qaq-p/450681?attachment-id=7948){#link_1159b3621cea93}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/6017/1/Crucible-error.JPG){#display_1159b3621cea93_0}


Answers:
author: Marek Parfianowicz
body: Go to the "Administration" \> "System Settings" \> "System Information" page. In the "License" section there's a "Support Entitlement Number (SEN)" field.


author: Nic Brough -Adaptavist-
body: Although the indexing has failed, you should still be able to get to the Fisheye/Crucible admin screens and find the licence details, which will include a SEN.

You should then use that while raising a support call at https://support.atlassian.com

comments: author: Nic Brough -Adaptavist-
body: Although, I've just looked at your error message properly - the problem is the Fisheye/Crucible server got disconnected fro the Subversion server - that's probably a networking or Subversion problem rather than Fecru. Check the logs on both the Fecru server and Subversion to see what they think has gone wrong in more detail.


Tags: documentation

fisheye-crucible-administration
How to remove uploaded patch from the review?
Asked by chhaymenghong:

How to remove uploaded patch from the review?


Answers:
author: Piotr Swiecicki
body: On the review page click "Edit Details" -\> "Add Content" -\> "Pre-commit"

You will see screen like this:

image2016-7-11 20:8:29.png

where you are presented list of all uploaded patches. Click the ![cross](/html/@77EA5FC57E1DC12A33F294DD6D952DFD/images/emoticons/cross.png "cross") icon on the right to remove particular patch.

Hope that helps,  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/How-to-remove-uploaded-patch-from-the-review/qaq-p/274375?attachment-id=8466){#link_11636f94f62281}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/3702/1/image2016-7-11%2020%3A8%3A29.png){#display_11636f94f62281_0}

comments: author: chhaymenghong
body: I dont see that cross symbol on my page though.

Screen Shot 2016-07-11 at 11.13.16 AM.png


author: Piotr Swiecicki
body: What FeCru version are you running? The feature I've mentioned is available since FishEye/Crucible version 3.0.0, I can't see how it could not be rendered there
Jira -> Crucible, User Administration Question
Asked by Andrew Murdoch:

Hey Guys  

So I have a JIRA server up and running with users and projects and all that wonderful stuff. I just downloaded Crucible for code reviews and setup an application link between JIRA and Crucible, and setup the user directory in Crucible to pull from the JIRA server. I can see the JIRA users inside Crucible, but when I click the name of a user from the JIRA user database, I see a red box which says "no access".  

I can't figure out how to activate a user in JIRA so they can login in Crucible, has anyone got this working?


Answers:
author: Marek Parfianowicz
body: Check if your user belongs to the 'crucible-users' and 'fisheye-users' groups (Administration \> User settings \> Users).

Check if 'crucible-users' and 'fisheye-users' groups have the 'FishEye \& Crucible user' and 'FishEye user' access (Administration \> Security \> Global permissions).  
References:  
<https://confluence.atlassian.com/display/FISHEYE/Adding+a+user+to+a+group>  
<https://confluence.atlassian.com/display/FISHEYE/Global+permissions>  
<https://confluence.atlassian.com/display/FISHEYE/Connecting+to+JIRA+for+user+management>

comments: author: Andrew Murdoch
body: Thanks  

i tried that yesterday and it didn't work, however when I tried it right now, it accepted the user. I assumed that Fisheye / Crucible, would of showed up under Application and Groups.   

Anyway thanks for the help, no idea why it worked this time and not before, maybe a synchronization problem.


author: Manuel A Mangual
body: ok, how about if I click on global permissions, try entering the same credentials I use in Jira and it doesn't let me login to see Fisheye + Crucible global settings?


author: Cody Stott
body: I'm using a JIRA Directory and Global Permissions to Fisheye/Crucible are granted through a group.

I got around this bug by explicitly adding the users in that group to the Global Permissions instead of relying on the group.

comments: author: Vasu Lingegowda
body: same here, works (only) this way for me too!


author: Marek Parfianowicz
body: In case you use external user directory, then you may be also affected by this bug:

User's permissions are not refreshed if the user is being automatically added to a group in external directory and this group controls global permissions

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


author: Sonny Singh
body: Hi guys.

I had the same problem on Jira Software DC 7.11.1.

I removed the specific user from Fisheye-users in Jira, synced Fisheye user directories(in Fisheye), added user back to Fisheye-users in Jira, synced Fisheye user directories and then he got access :-)


Tags: fisheye-crucible-administration

jira-administration
add a repository folder
Asked by Rich Bittel:

Hi

I have the following request:

**Description: I need the following repository folder //gmti_simulators/dev/ISR_Clutter_Simulation_GPU_Cuda/software/DetailedDesignDocumentation/**

**Added to the fisheye project:**

**ISR_Clutter_Simulation_GPU_Cuda**

I am not sure where I should add this folder. Can someone assist me with this? Thank you- Bret


Answers:
author: Marek Parfianowicz
body: I guess that you're using Perforce, am I correct? If yes, then probably you have to add this folder to a list of included folders to be indexed by FishEye. See <https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+paths>

comments: author: Rich Bittel
body: It was already setup. The user is all set. You can close this ticket. Thank you


author: Gail Stewart
body: It is added by checking in the folder to your source code control tool.
Is this answer still valid? Now that BitBucket Server has added search capabilities it appears that functionality that was once only available in FishEye is moving out and appearing in BitBucket Server.
Asked by Kriss Emsoff:

*This question is in reference to Atlassian Documentation: [What's the difference between FishEye and Bitbucket Server? Do I need both?](https://confluence.atlassian.com/pages/viewpage.action?pageId=779171643)*

Ask your question here...


Answers:
author: stangladkov
body: Hello,

Actually FishEye search functionality is not moving anywhere, it remains and will remain in FishEye. Bitbucket Server addressed completely another search algorithms what makes their search possibilities totally different from the experience FishEye is offering. So the answer you mentioned above is still valid, yes.

One of the key values of FishEye is its multi-SCMness. So if you're using non-Git repositories or several SCMs to manage your code, FishEye could still be handy. Together with Crucible it brings the powerful and sophisticated code search and code review possibilities, that gives your team's processes incredible flexibility.


Tags: bitbucket
After deleting a fisheye review manually, it still has residual references
Asked by Mark Staroska:

We had a review start causing fisheye to spike in processing due to larges file in the review, so we followed the manual process (<https://confluence.atlassian.com/fishkb/deleting-hung-reviews-manually-278072632.html>) to delete the review from our mysql database. This seemed to work, and fisheye seemed to recover and process normally once it was deleted.

However, users that had that now deleted review in their Inbox still see an numeric indicator of a review, even though their inbox is empty.

empty inbox.png

Are there more tables that need to be cleaned, or a way for a user to re-index their inbox?

Thanks for any assistance!  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/After-deleting-a-fisheye-review-manually-it-still-has-residual/qaq-p/383035?attachment-id=4309){#link_1159b3db7f0a2f}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/7941/1/empty%20inbox.png){#display_1159b3db7f0a2f_0}


Answers:
author: Vanessa Strazdas
body: Go to Administration -\> Global Settings -\> Crucible. Under Crucible Index Maintenance, click Re-index. This will rebuild each user's inbox and other review stats. Users can still access reviews while the re-index happens and it's pretty quick.
After upgrading FishEye to 4.1 read permissions are missing in the repositories
Asked by Gerald Schneider:

After upgrading FishEye to 4.1 all read permissions are missing in the repositories:

image2016-7-5 14:45:41.png

The only way I found so far is to add all groups again with "Read" access. Is there any way to fix this without going through all 120 repositories and readding every 3+ groups per repository one by one?  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/After-upgrading-FishEye-to-4-1-read-permissions-are-missing-in/qaq-p/148042?attachment-id=9642){#link_1159b3ec61409c}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/2009/1/image2016-7-5%2014%3A45%3A41.png){#display_1159b3ec61409c_0}


Answers:
author: Kamil Cichy
body: Hi @Gerald Schneider,

We are aware of this problem and we're fixing it with priority "Critical".  
<https://jira.atlassian.com/browse/FE-6598>

We will soon (in a couple of days) release FishEye 4.1.1 which will fix this issue.

If you cannot wait that long and you need an immediate fix, you need to manually modify a DB table. Please let me know if you'd like some guidance on how to do that.

Kamil

comments: author: Gerald Schneider
body: Thanks, I just discovered the linked Issue myself. A temporary solution I can think of would be to add an additional column to the table and store the correct group name there, so I can retrieve it again after the issue is solved.

Would a modification like this survive the next update, or would the table in the database be reset to the "correct" structure?


author: Kamil Cichy
body: Please see my answer at the linked issue.


Tags: fisheye-crucible-administration
change moderator/owner for particular crucible review (XXX-123)
Asked by RAMBABU PATINA:

How to change the owner/moderator for a particular crucible review like ex. XXX-123. Changing the permission schema will get affect to all the projects so we don't want to change it.

Since the particular review owner left the company, as crucible admins we would like to change the moderator/owner to some other person. Is it possible, let me know.

Quick response most appreciated.


Answers:
author: Piotr Swiecicki
body: I would give a try to amend the permission scheme for a moment and grant one named administrator "Edit Review Details" permission in this permission scheme. He/she would go to that XXX-123 review and should be able to edit author and moderator of the review. Once the operation is done you can revoke this temporary permission.

I know you wanted to avoid amending the permission scheme, but I see you are looking for a prompt solution and this seems the simplest what comes to my mind.


Tags: fisheye-crucible-administration