youngmon/atlassian-qna huggingface dataset:
How to avoid overwriting git remote in bitbucket pipeline?
Asked by Backend:

When executing pipeline, the git remote set-url origin command is executed <http://bitbucket.org> /$BITBUCKET_REPO_FULL_NAME, how to skip or replace the ssh command

bitbucket-pipelines.yml:  

```
image: wodby/drupal-php:7.4-dev-4.21.4

pipelines:
  branches:
    dev:
      #- step:
       #   name: Install Dependencies
       #   script:
       #     - composer install

      - step:
          name: "Deploy to Dev"
          deployment: DEV
          script:
            - pipe: atlassian/rsync-deploy:0.12.0
              variables:
                USER: '${DEV_USER}'
                SERVER: '${DEV_SERVER}'
                REMOTE_PATH: '${DEV_PATH}'
                LOCAL_PATH: '${BITBUCKET_CLONE_DIR}/'
                SSH_PORT: '${DEV_PORT}'
                DEBUG: 'true'
                #EXTRA_ARGS: '-avzh --exclude-from=./ignorelist.txt'
                # SSH_KEY: '<string>' # Optional.
                DELETE_FLAG: 'false'
            - pipe: atlassian/ssh-run:0.2.3
              variables:
                SSH_USER: '${DEV_USER}'
                SERVER: '${DEV_SERVER}'
                COMMAND: 'scripts/ssh-d8-script.sh'
                PORT: '${DEV_PORT}'
                DEBUG: 'true'
                DEV_PATH_VAR: '${DEV_PATH}'
                MODE: 'script'
```

![?????? ?????? 2024-03-28 143006.png](/t5/image/serverpage/image-id/315068i3A3801ACC2517F9B/image-size/large?v=v2&px=999 "?????? ?????? 2024-03-28 143006.png")


Answers:
author: Theodora Boudale
body: Hi [@Backend](/t5/user/viewprofilepage/user-id/5462938) and welcome to the community!

It is not possible to skip any of the commands from the **Build setup**. However, you can change the URL of the remote origin by adding a command in the script of a certain step. There is a default variable ${BITBUCKET_GIT_SSH_ORIGIN} that you can use, in a command like the following:

```
- git remote set-url origin ${BITBUCKET_GIT_SSH_ORIGIN}
```

May I ask why you are looking to do this? There are no commands in your bitbucket-pipelines.yml file that interact with the Bitbucket repo for pulling or pushing changes.

If you use an SSH URL for origin and if you plan to add any git commands in your yml file that interact with the remote, you will also need to set up SSH keys. You can find more details here:

* <https://support.atlassian.com/bitbucket-cloud/docs/push-back-to-your-repository/#SSH-Key-pair-managed-by-Bitbucket-Pipelines>

There are two options, one is listed in the section "**SSH Key pair managed by Bitbucket Pipelines** " and the second in the section "**SSH Key pair managed with variables**".

Please feel free to reach out if you have any questions!

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Issues Raised From Comments questions
Asked by Javier Perez:

**Q1**: I can't locate the "Issues Raised From Comments" section. Where is this?. I have fisheye/crucible 3.8.0. Was it introduced in a newer release?

**Q2**: I've noticed that if a JIRA ticket can't be created "inline" (because, for example, the issue has mandatory fields) crucible doesn't make any reference to it, nor JIRA creates the link back to crucible. Is this expected?


Answers:
author: Geoff Wilson
body: I've been learning how to create issues from crucible today and what I've found so far using an example of General Comments on a review:

**A1:**(From the General Comments page on a review) After I use the "Create issue" link in a review Comment, it creates the issue and then above the General Comments section but below Objectives, a new section appears titled Issues Raised From Comments. In here shows the new JIRA issue that I created from the comment. The comment that originated the issue then also shows the issue key and status under it.
How to change Jira to Fisheye link?
Asked by Caitsith:

Hi. i have a question about JIRA - fisheye link.

I installed fisheye and connect to JIRA when my fisheye installation.

And i went to my JIRA and go to link panel(left - top) like picture no.1

But that link url is not what i want and i don' know how to change...

Confluence and Bamboo is ok. but only fisheye is wrong.

How can i change?

1.PNG

2.PNG  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/How-to-change-Jira-to-Fisheye-link/qaq-p/44645?attachment-id=2784){#link_11646d47040c36}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/511/1/2.PNG){#display_11646d47040c36_0}  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/How-to-change-Jira-to-Fisheye-link/qaq-p/44645?attachment-id=2785){#link_11646d47040c36_0}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/511/2/1.PNG){#display_11646d47040c36_2}


Answers:
author: Caitsith
body: Thanks for reply.

But i'm wondering is there no way to delete previous fisheye?

Only that one is just locaion and can't manage it...

1.PNG  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/How-to-change-Jira-to-Fisheye-link/qaq-p/44645?attachment-id=1315){#link_11646d4bea42a3}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/513/1/1.PNG){#display_11646d4bea42a3_0}


author: Taha Khanzada
body: Hi Kapil,

Go to 'Application Navigator' under Administration section (System) and modify URL.

For Fisheye 'Application Navigator' under Systems Settings.

You could also refer below link if you want to Integrate JIRA and Fisheye

<https://confluence.atlassian.com/fisheye/jira-integration-in-fisheye-298976858.html>

Taha


Tags: fisheye-crucible-administration
unable to open UI of Crucible/FishEye
Asked by Ishan Thapa:

we have installed the crucible but unable to open the webpage because of service is not starting up.


Answers:
author: Ishan Thapa
body: <br />

Crucible Logs.zip  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/4646/1/Crucible%20Logs.zip){#display_115ab16843fa66_0}


author: Maciej Swinarski
body: Hi,

Please create a [support ticket](https://confluence.atlassian.com/display/FISHEYE/Contacting+Support) and add any information that could help solve the problem, a specially logs will be helpful.

mac

comments: author: Ishan Thapa
body: Hi Sir I have send the Crucible Logs please check the logs and help me Sir.


Tags: fisheye-crucible-administration
Crucible Wiki Markup - hyperlink path needs to have a space
Asked by Tini Good:

I'm trying to insert a link in a Crucible comment to a Subversion folder. Unfortunately, the last folder in the Subversion path has a space in the name. Example: "https://server/svn/documents/Dept Procedures".

The [Wiki Markup instructions](https://confluence.atlassian.com/display/CRUCIBLE/Using+Wiki+Markup+in+Crucible) indicate that special characters may be added at the end after a space. It therefore is incorrectly assuming that is why there is a space, and keeps making my link "https://server/svn/documents/Dept".

Is there a way to over-ride this? I tried enclosing the path in double quotes, but that was ignored.


Answers:
author: Piotr Swiecicki
body: Please note URLs cannot contain spaces - in order to build URL for resource with spaces in its name, you need to replace spaces with + (plus) character or %20 sequence.

See example comment that contains such link: <https://fisheye2.atlassian.com/cru/CR-9888#c150>

Hope that helps,   
Piotr
All my source files show up as binary files in FishEye/Crucible, how do I fix this.
Asked by Srinivasan Krishnamoorthy:


Answers:
author: Srinivasan Krishnamoorthy
body: This was resolved after linking to the repository as a stash repo instead of a plain git repo.


author: Srinivasan Krishnamoorthy
body: I used the below command in git to find out that git does think of the file as a text file.

git grep -I --name-only -e "" -- \<filename\> ...
Unwatch Share Integrating Zabbix 2.4 and Fisheye 3.8.1
Asked by Dan O'Halloran:

We are trying to set up Server and Java monitor for our atlassian tools. We are having issues with the Zabbix JMX monitoring for confluence (and fisheye),

Has any had this issue? Need some help.

We are trying to do the following JMX Query

INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]

jmx\["Catalina:type=ThreadPool,name=\\"http-bo-8060\\"",currentThreadsBusy\]

We are getting the following error:

jmx\["Catalina:type=ThreadPool,name=\\"http-{$CONNECTOR_MODE}-{$HTTP_PORT}\\"",currentThreadsBusy\]" became not supported: Catalina:type=ThreadPool,name="http-bio-8060"


Answers:
author: Dan O'Halloran
body: Yes I enabled that and will look up different things to monitor with Jetty. Thanks

I am looking for max thread counts and active threads, this will allow us to validate that our servers are not being over loaded.


author: Piotr Swiecicki
body: Hi Dan O'Halloran,

Bear in mind FishEye does not use Catalina as a servlet container, it uses embedded Jetty instead. FishEye does not expose any JMX beans for Jetty by default, but there is an undocumented feature you can use:

```
FISHEYE_OPTS=-Dfisheye.jetty.jmx.enable=true
```

(see <https://confluence.atlassian.com/display/FISHEYE/Environment+variables> for information how to use FISHEYE_OPTS environment variable)

Once you enable it you would notice number of JMX beans exposed to control Jetty server.   
Hope that helps,  
Piotr


Tags: fisheye-crucible-administration
can we manage Stash review comments in Crucible?
Asked by mohit mathur:

We have been using Stash for code reviews during code merge. Recently we have also started using Crucible for adhoc code reviews. We have decided to continue with Stash as it supports pull requests base code merge which helps us to manage and merge only reviewed code. At the same time considering the versatility and flexibility of Crucible, we would like to use Crucible as code review management tool. Hence, we would like to import and/or manage stash review comments in Crucible.**Could you please get back to us if we can manage Stash review comments in Crucible?**   
Please help us.  
Thanks


Answers:
author: gustavo_refosco
body: Hi Mohit,

This is not possible. In fact comments in Crucible and Stash are handled very differently, each being part of its own application - besides the fact that a Crucible review is different of a Stash pull request.

Though I think this would be a very nice feature I believe it would involve very big changes in design, therefore I'm not sure if this would have a chance to be developed but please, if you like, you may create a feature request for this, specifying it further, at <https://jira.atlassian.com>. You may refer to [Atlassian's policy](http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy) for the implementation of new features.

Regards,

Gustavo Refosco


Tags: bitbucket-server
How to limit a search to master branch in Fisheye
Asked by Jeff Dickerson:


Answers:
author: gustavo_refosco
body: Hi Jeff,

I see that, in fact, the cross repository search currently offered may not be as helpful as the Advanced Search offered per repository (which includes, for instance, the usage of [EyeQL](https://confluence.atlassian.com/display/FISHEYE/EyeQL+reference+guide), which I think that could be helpful in your case).

I'm afraid I don't have a solution for you to perform the search as you want, but I found some improvement requests on FishEye search that you may vote for, add any comments as you like and also add yourself as watcher, so you can track their progress directly:

* <https://jira.atlassian.com/browse/FE-4582>
* <https://jira.atlassian.com/browse/FE-5340>

You may refer to [Atlassian's policy](http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy) for the implementation of new features.

Regards,

Gustavo Refosco


author: GabrielleJ
body: I thought that the LOC in Fisheye is always limited to the trunk/master? Isn't that the case? I got this information from <https://confluence.atlassian.com/display/FISHEYE/About+the+Lines+of+Code+Metric#AbouttheLinesofCodeMetric-LOCinFishEye>

comments: author: Jeff Dickerson
body: This isn't a Lines of Code search, but a search within the contents of the files. It's returning results across all branches.


author: Jeff Dickerson
body: I would like to search across all repositories on my Fisheye/Crucible server, but limit the search to the master branch on each. The branches are mostly Git/Stash, but there are some Subversion and Mercurial repos as well.

There are several hundred repos represented, so searching them each individually is not practical.

The goal of this search is to identify the number of unique JBehave stories (files with names \*.story). It's a relatively simple search, which Fisheye handles fine, but the results are for all branches, not just master. The workaround I've come to is to search for "\*.story" in the main search box. Click the "End" key, then click it again, and again, and again, until I get to the end of the 23,000+ results, and do a text search on the page for the word "master". This gets me close to the number, although it's tough to trust, because some repos or files may have the word "master" in them as well.

In general, it seems that the cross repository search in Fisheye could be greatly improved.
How do I setup email notifications on Fisheye?
Asked by K T:

How do I setup email notifications on Fisheye so that every time someone creates a review or mentions me in a comment, I get a email notification?

We are using git and are running Fisheye 3.8 and in my global settings and have setup my smtp config and I can send test emails successfully.

However, when folks creates reviews or mentions others in reviews, no emails get sent to developers.

Are there other settings we need to configure to make this work?

Thanks


Answers:
author: Adalberto Schneider
body: Hi there,

This documentation may help you.

<https://confluence.atlassian.com/display/FISHEYE/Customising+email+notifications>

Cheers,

Adalberto


Tags: fisheye-crucible-administration
How can I prevent Crucible review from Close before select reviewers are Complete?
Asked by Ernie Thene:

I want to require that selected reviewers in a given review sign off before a review can be completed. Currently we have a few developers that will add domain owners + a few other reviewers, and then once they have a couple senior devs respond (regardless of whether they are the domain owners), the author thinks that is enough and proceeds. I know that there is a prompt warning that people have not responded yet, but there is nothing to block it, so they just close it and merge.

I'd like the option to enable more restriction around when a review can close, by either :

a) Marking selected reviewers as Required, and block the author from closing until those reviewers complete.  
or  
b) Having the option to require that ALL added reviewers complete before it can close, and then implement the automatic add of reviewers for a given repo.

Is there existing functionality that will allow this, or anything similar? Apologies if it's been asked before, but I didn't find anything similar in search.


Answers:
author: Marek Parfianowicz
body: In Crucible 4.2 we introduced new "Workflow Conditions" API. You could use it to write your own plugin with the rule requested. Here is the tutorial:

<https://developer.atlassian.com/fecrudev/tutorials/crucible-workflow-conditions-plugin-module-tutorial>


author: Tini Good
body: You can have a (not great) workaround by configuring permissions so that only a designated user account (like a project Lead) or a designated Moderator role (Quality) is actually allowed to Close reviews. They still have to manually confirm that all the "required" Reviewers are marked Complete, but it's better than nothing.

Lead/Moderator/Admin can't force a Reviewer account back to 'Uncomplete' if they think they need to look more/again, which is another feature request in the backlog, FYI.


author: gustavo_refosco
body: Hi Ernie,

This feature is currently not available, though I was able to find a feature request for this, which you can see at <https://jira.atlassian.com/browse/CRUC-3808>. Please feel free to vote and add any comments to it, as well as adding yourself as a watcher so you can track its progress directly. You may refer to [Atlassian's policy](http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy) for the implementation of new features.

Regards,

Gustavo Refosco


Tags: fisheye-crucible-administration

review
Fisheye LDAP Authentication Problem
Asked by Igor Sosman:

I am setting up Fisheye 3.8.1 to work with LDAP. After configuring LDAP authentication settings, I am getting
unexpected error: \[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903AA, comment: AcceptSecurityContext error, data 525, v1772\]  
Exactly the same configuration works perfectly fine in both Apache Directory Studio and MS Active Directory Explorer.  
The authentication method in Apache Directory Studio set to DIGEST-MD5 (SASL) using JNDI. With Apache Directory LDAP Client API it will fail with a similar error  
> The authentication failed  
> - \[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0904D1, comment: AcceptSecurityContext error, data 57, v1772

There is nothing to configure in MS Active Directory Explorer, it is working out of the box with the same credentials and server.

I will apreciate any help.


Answers:
author: Piotr Swiecicki
body: Hi @Igor Sosman,

I can see several discussion about such problems on the internet. This page <http://www-01.ibm.com/support/docview.wss?uid=swg21290631> explains different error codes (data XXX), data 525 for instance means ERROR_NO_SUCH_USER. Similar problem is mentioned here: <http://stackoverflow.com/questions/15552807/ldap-error-user-name-not-found>

Can you double check you correctly entered the initial bind DN and password, checking with some external tool like command line ldapsearch for example? This documentation page: <https://confluence.atlassian.com/display/FISHEYE/LDAP+authentication> explains how to set up LDAP authentication in FishEye.

Hope that helps,

Piotr
How to configure Crucible to send text format email
Asked by Soo Min Ooi:

How to set the email notification to be in text format. I do not intend to change the content, but just configure format of email.


Answers:
author: Piotr Swiecicki
body: You can change it in the profile settings, pick up between HTML and text email format. See emailFormat.png

Hope that helps,

Piotr  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/How-to-configure-Crucible-to-send-text-format-email/qaq-p/105749?attachment-id=8769){#link_115ab2325a5554}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/1379/1/emailFormat.png){#display_115ab2325a5554_0}


Tags: email

format

text
FishEye not returning file in search results when file contains search term
Asked by IT Support:

We have FishEye 3.8.1 (Build:20150619131232 2015-06-19) installed on a windows server that is indexing our SVN repo. However, files checked into the repo in UTF16 encoding are not returned in content search results when searching for content known to occur in the file in question. I am unsure if this is because their content is not indexed OR if their content is indexed and just excluded from search results.

Even after changing the file encoding, committing the file, and waiting for FishEye to report that it has updated the file the same issue occurs (i.e. file is not returned in search results).

Is this a known issue? Or is there a configuration setting we need to alter to address this?

I have followed the instructions at <https://confluence.atlassian.com/display/FISHEYE/Contacting+Support> to attach a support zip for this request.

Please let me know if you need anything else to resolve the issue.

[FishEye_support_2015-07-15-12-07-19.zip](https://answers.atlassian.com/download/attachments/21629048/FishEye_support_2015-07-15-12-07-19.zip?version=1&modificationDate=1436976755463&api=v2)


Answers:
author: Marek Parfianowicz
body: Hi Adam,

If you want contact Atlassian Support, please file a ticket on the <http://support.atlassian.com> page, as described in the [Contacting+Support](https://confluence.atlassian.com/display/FISHEYE/Contacting+Support) article.

The Atlassian Answers is a community forum (despite the fact that Atlassians do answer questions too).

Cheers  
Marek


Tags: fisheye-crucible-administration
New defect type not visible on existing reviews (Crucible)
Asked by Rahul Aich [Nagra]:

Hi

I am on crucible 3.2

I added and deleted a few defect type classifications. But the changes are not visible on existing reviews but are visible on new reviews.

How can i get the changes to be visible on old/existing reviews?

Rahul


Answers:
author: Piotr Swiecicki
body: I am afraid you can't. When review is created it is linked to the defect classifications that are current at that particular moment. Any future change to defect classification is only visible on reviews created afterwards.

It may sound strange for cases when you add new classifications, but makes perfect sense in cases where some classifications were modified or removed - you don't expect existing defects to be modified, do you?

Hope that helps,   
Piotr


Tags: fisheye-crucible-administration
Is there a way to compare people's statistics for people on a team?
Asked by Christopher Reece:

In FishEye I can look at an individuals statistics. When searching for a person, I can see the full list of people in my organization. What I would like to do would be look at a much smaller subset, specifically people on my team.

So this image, from the viewing statistics page:

image2015-7-28 16:33:39.png

Would look pretty much the same, but just list the five or six names of the people on my team. Barring that, is there a way to pull up the individual statistics for easy side by side comparison?  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Is-there-a-way-to-compare-people-s-statistics-for-people-on-a/qaq-p/340111?attachment-id=2480){#link_115ab297a515f8}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/4563/1/image2015-7-28%2016%3A33%3A39.png){#display_115ab297a515f8_0}


Answers:
author: Piotr Swiecicki
body: Although there is nothing like this built in into FishEye (you may want consider raising a improvement request on <http://jira.atlassian.com/> so we have it on our backlog), you can easily build your own page including statistics of selected people, e.g. [https://fisheye6.atlassian.com/fe/commitSparkline.do?w=280\&h=48\&context=globaluserlist\&username=gera\&outputtype=image](https://fisheye6.atlassian.com/fe/commitSparkline.do?w=280&h=48&context=globaluserlist&username=gera&outputtype=image)

I can't obviously promise the URL won't change in the future, but it is not very likely it would change.

Hope that helps,  
Piotr