youngmon/atlassian-qna huggingface dataset:
The additions of stages are toothless
Asked by Rasmus Milesson:

Hi!  

I just saw the additions of stages to pipelines. "Awesome!" I thought. Except that it's completely toothless. It's basically a step with extra steps.  

One particular thing that I just encountered was this error:  

"A step within the stage can't contain a condition. The condition must be defined on the stage."  

This is quite frankly ridicoulous and completely disables a pretty non-advanced use case like this:  

```
pipelines:
  branches:
    branch:
      - stage:
          deployment: staging
          name: "Build and deploy"
          steps:
            - step:
                name: "API"
                condition:
                  changesets:
                    includePaths:
                      - "api/**"
                script:
                  - [steps]
            - step:
                name: "Site"
                condition:
                  changesets:
                    includePaths:
                      - "site/**"
                script:
                  - [steps]
```

Why is that limitation even there? It can't be a technical reason since steps can have conditions if I decide to scrap the stages.


Answers:
author: Theodora Boudale
body: Hi Rasmus,

Stages allow you to have steps of the same deployment in a single pipeline (this is not possible without the use of stages) and share deployment variables over these steps. They also have certain limitations at the moment, and one of them is that they can't contain conditional steps:

* <https://support.atlassian.com/bitbucket-cloud/docs/stage-options/#Limitations>

We have a feature request for what you are asking:

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

Since you'd be interested in that feature, I would suggest adding your vote to that ticket (by selecting the **Vote for this issue** link) to express your interest. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Change bitbucket's username
Asked by Nick Tran Duy Hieu Trung:

Hi everyone. Please help me

I changed my username to first digit uppercase (e.g. Myusername1) but when I want to change to (myusername1). Bitbucket showed that a username already exited.  

Can anyone help me to change this?   

Hope I can get a response from all of you guys ASAP.

Thank you and regards.


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

Just a heads up, I removed the username from your post to comply with our privacy policy.

Could you please try the following?

* If your username is e.g. **Myusername1** , change it first to **Myusername123**or something different
* After you successfully make this change, change it again to **myusername1**

Please feel free to let me know if it works or if you still need assistance!

Kind regards,  
Theodora


author: Peter_DevSamurai
body: Hi [@Nick Tran Duy Hieu Trung](/t5/user/viewprofilepage/user-id/5236178) ,   
I understand that you are trying to change your Bitbucket username to nick-trungtdh1, but you are receiving an error message that the username already exists.  

This is likely because the username Nick-trungtdh1 is already in use by another user. Bitbucket usernames are case-insensitive, so Nick-trungtdh1 and nick-trungtdh1 are considered to be the same username.  

To change your username to nick-trungtdh1, you will need to choose a different username for your current account.  

You can do this by following these steps:  
- Go to your Bitbucket profile page.  
- Click on the Settings tab.  
- Under Bitbucket profile settings, click on Change username.  
- Enter a new username and click on Change username.  
- Once you have changed your username, you will need to log out of Bitbucket and log back in with your new username.  

If you are unable to change your username because you no longer have access to your current account, you can contact Bitbucket support for assistance.


Tags: bitbucket-cloud

cloud
No notification email on pipeline failure
Asked by danbei:

I do not receive email notification on pipeline failure anymore. I received them until about three weeks ago. I continue to receive other notifications emails like notification for app password creation.

In "Personal Bitbucket Settings" -\> "Notifications": "email" is enabled and repository is watched. In Repository "Manage notifications": "Pipelines" is checked.

The one thing that happened about three weeks ago is that I enabled two-step verification.

How can I receive notifications for failed pipelines?


Answers:
author: Syahrul
body: Hey Folks,

I wanted to provide you with a quick update on the situation. We discovered an internal issue preventing the email notifications for failed pipeline builds from triggering, which is why you didn't receive any notifications in your inbox.

I'm pleased to inform you that we took steps to mitigate this issue last Friday. As a result, you should now start receiving email notifications for failed pipeline builds.

Please keep us posted on whether you're receiving these notifications as expected. Feel free to reach out if you encounter any further issues or have any questions.

Regards,  
Syahrul

comments: author: danbei
body: Thank you very much for the update. I will be able to confirm I receive mail notifications next week

Regards,

Daniel


author: danbei
body: Hi,  
I can confirm that I receive notifications for failed pipelines,  
Thank you very much

Best regards


author: Erwan d_Orgeville
body: I am having the same issue, was wondering why my inbox had been so quiet ?


author: Syahrul
body: G'day [@danbei](/t5/user/viewprofilepage/user-id/2257903)

Let me check this internally and get back to you.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
The environments rest API returns an invalid `next` URL when there are more than 10 envs
Asked by Daniel Alfaro public:

The environments API is returning an odd \`next\` URL when a repo has more than 10 environments. This breaks code that is automatically requesting the next URL since it thinks that there are more pages.

The response looks like this  

\`\`\`

{

"page": 1,

"values": \[...\],

"size": 14,

"next": "[http://bitbucket-pipelines.prod.public.atl-paas.net/rest/2.0/accounts/%7B39491fc4-9d08-4885-af60-ad04b4ae7cdb%7D/repositories/%7Bfc0ed7bb-d56a-4e84-b369-9e68a117d2a6%7D/environments?page=2\&pagelen=10](http://bitbucket-pipelines.prod.public.atl-paas.net/rest/2.0/accounts/%7B39491fc4-9d08-4885-af60-ad04b4ae7cdb%7D/repositories/%7Bfc0ed7bb-d56a-4e84-b369-9e68a117d2a6%7D/environments?page=2&pagelen=10)",

"pagelen": 14

}

\`\`\`

Attempting to request the URL will result in a 403


Answers:
author: Theodora Boudale
body: Hi Daniel and welcome to the community.

We have an open bug report about this issue here:

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

Our development team will post an update on that ticket when this is fixed. Please note that we don't provide ETAs and bug fixing is implemented as per our policy [here](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html).

You can add yourself as a watcher (by selecting the **Start watching this issue** link in the bug report) if you'd like to get notified via email on any updates. You can also select **This affects my team** to indicate you are affected by this issue.

In the meantime, the only workaround would be to ignore the "next" parameter for this endpoint since the response will show all environments on one page.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Invitation email not received
Asked by dasatti:

I tried to invite new developer to access the repository but he is not receiving the invitation email. He has a yahoo.com email. I then try to send a test invitation to another yahoo.com email but again did not receive any invitation email. Can you please check?


Answers:
author: Ben
body: Hi dasatti,

I cannot see any active invitations for a yahoo account - only a gmail account. That user with the gmail account has already accepted the invitation and is a member of that Free workspace.

I notice that one of your paid workspaces is exceeding its plan limit which would prevent further users from being added, please follow the article below to resolve this:

* <https://confluence.atlassian.com/bbkb/fix-error-your-push-failed-because-the-account-has-exceeded-its-user-limit-1183680240.html>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Retrigger the manual step again
Asked by Bala Sundaram:

I am looking for a way to retrigger a manual step. I looked at the documentation but didn't find anything, so just wondering whether it is possible?


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

You can rerun a manual step if one of the following applies:

* The manual step failed. You can then rerun it from the Pipelines build's page if you select the option**Rerun \> Rerun failed steps**.
* The manual step is a deployment step (it has the keyword deployment in the yml). You can rerun it from the Pipelines build's log, if you select the option **Redeploy** next to the step.

If the step is successful and it is not a deployment step, it is not possible to rerun only this step. In this case, you can rerun the entire pipeline.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
error in SIGN-UP
Asked by Nikhil Srivastava:

I m using CR2.7.10 FE2.7.10 (20120119115142 2012-01-19 , but while clicking on sign-up I am getting Could not initialize class com.cenqua.fisheye.web.security.CaptchaManager


Answers:
author: rverschoor
body: I've seen this error before.  
Analyzing the logfile showed that the application is expecting certain fonts, but they were not present.  
The cause was that OpenJDK was installed instead of the Sun JDK.  
This is only relevant if you tagged your question incorrectly as being an OnDemand installation...


Tags: cloud

fisheye-crucible-svn-ondemand
JIRA issue linking from FishEye - Can this be escaped for certain checkins so it is ignored?
Asked by Stuart MacKenzie:

I am having a bit of an annoyance with the automatic issue linking from Fisheye to JIRA.

My project name is: CMS, when our automated build server does a branch or tag of the form:

```
[maven-release-plugin] copy for tag cms-1.26.0-build-12
```

our build number 'cms-1.26.0-build-xx' is parsed by Fisheye as linking to JIRA issue: 'CMS-1'

Is there anyway we can escape the checkin comment to have it ignored by Fisheye for checkins for which it was escaped?

Ideally, wouldn't it be more practical to have the parser NOT consider something a match unless there is a whitespace character after it?

As always, any advice or help is appreciated. Cheers - Stuart

![](../../upfiles/4-22-2012_4-33-56_PM.png)


Answers:
author: Sergey Svishchev
body: You'll have to wait for this feature: <https://jira.atlassian.com/browse/FE-3001>


Tags: cloud

fisheye-crucible-svn-ondemand

issue-link
fisheye doesn't start
Asked by carlitos.melgar@izote.net:

Hi,

I'm stuck. I'm not sure what I did. My fisheye/crucible installation was stuck on the indexing the SVN. So I tried to stop the process. But it never stopped. So I rebooted the server where I have Jira and Confluence as well as standalone apps. After the reboot, Jira and Confluence came up normally but fisheye/crucible doesn't start up. I'm running this in Ubuntu and don't now how to diagnose or what to do?

Please help me get back my fisheye/crucible.

Thanks,

Carlos


Answers:
author: Colin Goudie
body: You'll need to supply us with some log files at least.

Do you know where your FISHEYE_INST directory is located? In there is the var/log/fisheye.debug files (or something to that effect)

If you haven't definied this environment variable it is probably just under your fisheye installation directory

Take a look and see if you can find the logs. I'd suggest removing (backingup) the existing logs and doing a fresh bootup and posting any exceptions that are in the logs
Permissions per Branch in Fisheye?
Asked by Michael D?hler:

Hello,

is there any way to do user permissions per branch in fisheye?

Thanks

Michael


Answers:
author: rverschoor
body: FishEye allows permissions per repository, as described in the [Permissions documentation](http://confluence.atlassian.com/display/FISHEYE/Permissions#Permissions-ConfiguringPermissionsforaSpecificRepository).  
If you have multiple branches indexed in one FishEye repository, then you can't further apply permissions per branch.  
The permissions you configured for the FishEye repository will apply to everything it indexed.


Tags: branch

download

git

permission
FishEye with VisualSVN server
Asked by SergioP:

Hello all

I have visualSVN installed on a windows server. I just signed up for a free trial of JIRA, now I want to add FishEye to the mix. I don't want to host my source code on your site, I would like to leave it on our server. How does FishEye integrate with a remote server? Do I have to expose this server on the web or is there a plugin that run on the server that pushes out changes to fisheye? Help please.


Answers:
author: Dennis Kromhout van der Meer
body: Hi Sergio, unfortunately local (or external) SVN repositories cannot be configured with OnDemand, sorry about that. The only way is to import your [local SVN data to OnDemand](http://confluence.atlassian.com/display/AOD/Importing+Versioned+Data+into+Subversion), which you previously mentioned you do not want to do. Sadly it's not possible to push changes via a plugin to FishEye, as this is not included in the subversion protocol.

For now I would recommend to vote and watch the following ticket, which request the possibility of connecting to external repositories: [JST-710](https://studio.atlassian.com/browse/JST-710)


author: SergioP
body: Anyone? I can't immagine this is an uncommon scenario.


Tags: cloud

fisheye-crucible-svn-ondemand
ERROR - Problem starting FishEye and Crucible: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: /export/home/fisheye/fecru-2.7.8/cache/globalfe/
Asked by Steven Line:

ERROR - Problem starting FishEye and Crucible: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: /export/home/fisheye/fecru-2.7.8/cache/globalfe/

I get the above error when I start fisheye from the Solaris SMF system. If I start fisheye manually from the command line it starts fine. I really need it to start automatically on boot via the SMF system. How can I get around the above error?

I'm currently starting fisheye as root both ways (in SMF, and on command line).

Thank you.


Answers:
author: David Cueva
body: Hi

I run into the same problem after upgrading to mySQL and entering the license keys.

I solved it by wiping out the cache:

1. Delete the folder:   
\<FISHEYE_INST\>/var/cache/\<Repository_Name\>  

2. Delete the contents of these folders:  
\<FISHEYE_INST\>/cache/globalfe  
\<FISHEYE_INST\>/cache/cruidx  
\<FISHEYE_INST\>/cache/plugins

3. Start Crucible/Fisheye

Related:

<http://confluence.atlassian.com/display/FISHKB/Repositories+Stop+Working+after+Updating+the+License>

<http://confluence.atlassian.com/plugins/viewsource/viewpagesrc.action?pageId=277253670>
How to associate source commits to a ticket?
Asked by Gary Fung:

A year ago I was at another company and I remembered there was a way to put a special syntax in the commit comment and JIRA would automatically associate it with that ticket. For some reason I can't find the details about this feature anymore. Does anyone know where's the documentation for it?

Also, is it supported in the OnDemand version of fisheye/JIRA?


Answers:
author: meena radhakrishnan
body: By including the JIRA ticket id in the commit comments.

eg. The fix is for 'TST-1'

where TST-1 is the ticket id in JIRA.


Tags: cloud

fisheye-crucible-svn-ondemand
Change backup path in FishEye?
Asked by jmooo:

The [FishEye docs](http://confluence.atlassian.com/display/FISHEYE/Backing+Up+and+Restoring+FishEye+Data) on backup path mention: "The location to store the backups. Edit config.xml to change this setting."

But there is no further information, and the word "backup" doesn't even appear in config.xml. Anyone know how to change the backup path so I can set it to where our backup rsync script will see it?


Answers:
author: seb
body: Although it is obscure, you can indeed change the backup path from config.xml. Config.xml does not contain all valid elements as we default to internal values, so you are better at looking at config.xsd (the xml schema definition which provides the allowed values).

You can add the \<path\>/full/system/backup/location\</path\> attribute to the \<backup\> element to specify the url.


author: David Roberts
body: Hello...just in case someone else needs a sample to clarify further...

\<backup\>\<schedule enabled="true"\>\<path\>C:\\_BAK_\\FishEye\\instance\\backup\</path\>\<prefix\>fisheye_backup_\</prefix\>\<date-pattern\>yyyy_MM_dd\</date-pattern\>\<frequency\>WEEKLY\</frequency\>\<time\>07:00\</time\>\<items\>\<item name="sql"/\>\<item name="templates"/\>\<item name="cache"/\>\<item name="ao"/\>\<item name="plugins"/\>\<item name="uploads"/\>\</items\>\</schedule\>\</backup\>

The "path" element is placed inside the "schedule" element.

In my case, the config.xml filre refered to is located in "C:\\FishEye\\instance".

Regards,

David


author: Douglas Fabretti
body: Hi there.

Just an update about this, the \<path\> tag should be added right after the \<schedule\> element - otherwise Fisheye/Crucible will not start with the ERROR:

2012-12-10 11:33:01,958 ERROR - Errors parsing /opt/atlassian/fecru/inst/config.xml:  
2012-12-10 11:33:01,964 ERROR - Problem with config file: Error parsing config file (see logs): /opt/atlassian/fecru/inst/config.xml

Hope this helps :)

Cheers,  
**Douglas Fabretti**   
**Atlassian Support**


author: Renjith Pillai
body: But the scheduling section talks about directly changing the path from the administration window itself?

<http://confluence.atlassian.com/display/FISHEYE/Backing+Up+and+Restoring+FishEye+Data#BackingUpandRestoringFishEyeData-SchedulingFishEyeBackups>


Tags: backup
SVN Tortoise Checkout/Update error
Asked by Michal Ertner:

Error:

"REPORT of '/svn/!svn/vcc/default/': Could not read response body: Secure connection truncated."

I am using this repository for about a year and never had such a problem


Answers:
author: lrobertson39
body: Hi,

It may be worth reading the following link <http://subversion.apache.org/faq.html#secure-connection-truncated> as a guide on how to resolve this issue.


Tags: fisheye-crucible-svn-ondemand
Unable to find users Crucible Author mapping under Settings
Asked by Maheshika Goonetilleke:

Hi,

We use crucible 2.7.11. We have created repositories and projects in this instance. However we can not identify some user names in Settings -Author Mapping.


Answers:
author: Rahul Savaikar
body: I am facing the same issue with the version 3.9.1


Tags: cloud

fisheye-crucible-svn-ondemand
Subversion structure
Asked by Leonardo Souza:

Hi,

We have a project that is splitted into several modules and each module is versioned separated.

/project/module1/{trunk, branches, tags}

/project/module2/{trunk, branches, tags}

/project/module3/{trunk, branches, tags}

This structure is possible with the onDemand solution?


Answers:
author: Michael Knight
body: Yes it is. In order for FishEye to be configured correctly to handle his layout, please submit a [support request](https://support.atlassian.com) with the projects that have it.


Tags: cloud

fisheye-crucible-svn-ondemand
What is the specification of OnDemand's SVN?
Asked by Gary Fung:

When we are paying for OnDemand's Fisheye/crucible, we get free SVN hosting. But where are the details? I've checked the pricing and FAQ page and couldn't find anything. For example, how much disk space do we have? How many repositories can we have?


Answers:
author: Michael Knight
body: Hi Halogen,

Here are some details:

* You only get one SVN repository. When you create a project in OnDemand, it will create a top-level directory in the SVN repo matching that project's key, with the intention of code relating to that project living under this directory.
* Disk space details can be found [here](http://confluence.atlassian.com/pages/viewpage.action?pageId=253231650).
* SVN is served through WebDAV/HTTPS.

Let me know if you have any more questions.


Tags: cloud

fisheye-crucible-svn-ondemand
Fisheye Exclude Directory Pattern
Asked by Thomas Krug:

I am experiencing problems excluding a pattern of directories in Fisheye.

My directory structure looks like:

/tags/FB-OSP100/....

/tags/FB-OSP101/....

/tags/FB-OSP102/....

....

/tags/FB-OSP110/....

/tags/FB-OSP111/....

/tags/FB-OSP112/....

....

/tags/FB-OSP120/....

/tags/FB-OSP121/....

/tags/FB-OSP122/....

I only want to index tags starting with "FB-OSP12" so I wrote an Exclude "/tags/FB-OSP10\*/" and "/tags/FB-OSP11\*/".

Fisheye does not respect this.

Can anyone point me to the correct pattern? Or does ANT only support wildcards in filenames?


Answers:
author: Thomas Krug
body: There was a spelling error in the pattern. The pattern as such is correct and works (now).


author: Stefan Kleineikenscheidt _K15t_
body: Have you also tried something/tags/FB-OSP10\*/\*\* ?


Tags: ant
Where can i find svn commit information?
Asked by Yim Jinoh:

I am making simple dashboard to use programs(jira, confluence, team-calendars, fisheye, visualSVN)

1. i find recently jira issue in database(complete)

2. i find recently schedule team-calendars in database(complete)

3. i find recently content confluence in database(complete)

but !!

4. i not find recently commit information

i want list (repository name, commit file name, commit date, commit +- line number)

Where can i find svn commit information?

where DB?

where file?

help me


Answers:
author: seb
body: You will not be able to access the data directly through the database (as it is not stored in a relational db). You will need to use the FishEye REST APIs (<http://docs.atlassian.com/fisheye-crucible/latest/wadl/fisheye.html#d2e131>) or Java API to access the data.
My Crucible/Fisheye instance is no longer reachable
Asked by John McElroy:

Last week I was able to get Crucible/Fisheye installed and configuraed to run as a service and get a repository synced with the application. I tried configuring the gadget on the Jira Dashboard, but i got an error i went to check the Crucible/fisheye and it was now showing that the i can't recieve access the page. I check the service and it is running, then I found these errors in the error log which I couldn't make heads or tails of.


Answers:
author: John McElroy
body: This kinda of fixed itself for some reason the applications flit in out in accessability from time to time

comments: author: John McElroy
body: like i said above


author: Ramiro Pointis
body: Just changed a little so you can mark the answer as correct :)


author: Colin Goudie
body: Can you post the errors? :)
fisheye stop.sh not working
Asked by john scancella:

I have tried running the $FISHEYE_HOME/bin/stop.sh and it does not stop the running fisheye/crucible instance. My instance of fisheye/crucible is running on Solaris 10


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Any error? Are you running as a different user who doesn't have permission?

comments: author: john scancella
body: After looking at the error it is working properly. We had modified the script slightly and forgot to end the if with a fi. After fixing it the script works again.