youngmon/atlassian-qna huggingface dataset:
Deactivated User
Asked by shawndube1:

Hello!  

I recently had a user show as "DEACTIVATED" without me doing anything to their account. I have tried to remove/re-add them but haven't had much success. I do not see them under "User and groups" as well.  

I went to the admin portal but no products are there because we have the Free version. The domain isn't added either. Do I need to add the domain and verify to fix this?  

I have checked everywhere but cannot seem to find a solution.  

Thank you!


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

Checking for the workspace you shared I was able to find one user that is with the account currently in the deactivated status.

The user should have received the following email :
> We are contacting you to let you know that Atlassian is winding down its operations in Russia and Belarus, and our records identify you are using Atlassian's no-charge product(s) within these identified regions. As such, this email constitutes notice that, in accordance with our Cloud Terms of Service, we will terminate your Atlassian account in 30 days.
>
> We understand this is difficult news and we know that you are operating in a country waging a war you may neither support nor have the ability to stop. However, due to implementation of laws compelling all Russian businesses to support the invasion of Ukraine, we have made the difficult decision to wind down operations in these markets.

If you believe the user has received this message in error, please contact our [customer support team](https://click.e.atlassian.com/?qs=6879322419680534815d629e68ae58c52725af0ebb3436c6648cddf80212905789d0d44aa5d8cedc5e64db067b022392c24af760c19a07cf38de4d6d0982ba07).

Thank you, [@shawndube1](/t5/user/viewprofilepage/user-id/2666964) !

Patrik S


Tags: bitbucket-cloud

cloud
Cannot login to old account
Asked by pang0018:

I can no longer login to bitbucket account. I used to use a username/password to authenticate and now it appears you can only use email/password.


Answers:
author: Ste Wright
body: Hi [@pang0018](/t5/user/viewprofilepage/user-id/5376738)

This is a public community, so best to not post your email address in your question. I've removed it.

I would recommend contacting [Atlassian Support](https://support.atlassian.com/contact/#/) for this query.

Ste

comments: author: pang0018
body: Thanks Stephen, I did contact them, they said that since I am on a free account to ask the question here.

This was their full response

> Thanks for reaching out to Atlassian, I hope you're doing well and having an amazing day. My name is Brayan and I'm part of the billing and licensing team. I'm happy to help you with this request.
>
> Your ticket has been routed to our team to verify your support eligibility.
>
> In review, your account receives exclusive support from our online [Atlassian Community](https://community.atlassian.com/?from-gsac=true). As of July 1, 2021, Bitbucket Cloud support has aligned our support offering for free licenses to our other Cloud products - please see our [Atlassian Support Offering](https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html).
>
> This means Bitbucket cloud-free plans and users are only eligible for community support.
>
> On the Community, we have dedicated Atlassian Support staff and Community Leaders ready to help. Additionally:
>
> * We have thousands of questions and answers per month in our community, with community members who've been working with our products for 10 years or more!
> * As Community Support is the only channel available for our Free and Starter license users, we make sure to pay special attention to getting to these requests.
>
> If you haven't already, please create a post with this issue on the [Community](https://community.atlassian.com/?from-gsac=true) so a community member will help you soon.


author: Ste Wright
body: Hi [@pang0018](/t5/user/viewprofilepage/user-id/5376738)

Your username is likely associated with an email address from when you set it up.

Have you tried using your email address to login?

Ste


author: pang0018
body: Yes, that was the first thing I tried. I do not see any of my repos


author: pang0018
body: OMG... now I tried again and I see it... looks like there are multiple "workspaces" you can flip too.. thanks for the quick replies Stephen.


author: Ste Wright
body: No worries, glad it worked :)

If this answer helped you, could you accept it?

Ste


Tags: bitbucket-cloud

cloud
Not receiving email invites
Asked by gergiskhan:

I'm not able to send an invite to a user in my organization and have them join a workspace. I am suspecting that all emails are having issues for my organization for Bitbucket. Can anyone give me some pointers here?


Answers:
author: gergiskhan
body: Update: no emails are working now.

comments: author: Patrik S
body: Hello [@gergiskhan](/t5/user/viewprofilepage/user-id/699485) and welcome to the Community!

Checking internally for your workspace, I see an invitation was successfully sent to the user from Atlassian perspective. What might have happened is the email was wrongly classified as Spam, and ended up being moved to the Spam/Trash folder.

In this case, you can try inviting the user again and ask the user to double-check the Spam folder for the email.

The following article related to email notifications not being received may also be of help :

* [Email notification not working](https://confluence.atlassian.com/bbkb/email-notifications-not-working-1224343600.html)

Thank you, [@gergiskhan](/t5/user/viewprofilepage/user-id/699485) !

Patrik S


Tags: bitbucket-cloud

cloud
Deployment access
Asked by Richard Alves de Oliveira:

Hello everybody. Is there any way to grant more granular access so that all users have access to the deployment, but so that I can choose which environments each one can access? Each deployment has a flag that only admins can use. However, to reach this field you need to be an admin. I want to be able to choose which environments each user will have access to edit the variables.


Answers:
author: Patrik S
body: Hello [@Richard Alves de Oliveira](/t5/user/viewprofilepage/user-id/5332635) and thank you for reaching out to Community!

I'm afraid that currently, as you mentioned, it's only possible to restrict the deployment to Admins of the repository. We do have a feature request with our development team to implement the ability to restrict deployments to certain groups/users:

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

We suggest adding your Vote that so our product managers can better understand the interest. You can also add yourself as a watcher, so you will be notified by email whenever there is any update on that feature. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Thank you, [@Richard Alves de Oliveira](/t5/user/viewprofilepage/user-id/5332635) !

Patrik S


Tags: bitbucket-cloud

cloud
i tried to configure qodana to bitbuket pipeline for sending report but i have an issue.
Asked by deepak deshwar:

I tried to configure Qodana to the Bitbucket pipeline for sending reports but I have an issue. in my project I used a private repo dependency to design my bitbucket pipeline for downloading my private repository dependency,I have a settings.xml file also but I am unable to send a report its show error like:_  
023-11-30 12:12:13,422 [ 355983] SEVERE - #c.i.c.InspectionApplicationBase - Maven project Aggrr has unresolved artifacts: [com.instantsys.geocoder:geocoder:jar:2.4:compile, net.elmergarduno:j-calais:jar:0.2:compile, com.myjavatools:mjxml:jar:1.0:compile,  

my current script is :  
* image: Atlassian/default-image:4
* pipelines:
* branches:
* main:
* - step:
* name: Qodana
* caches:
* - qodana
* image: jetbrains/qodana-jvm
* script:
* - export QODANA_TOKEN=$QODANA_TOKEN # Export the environment variable
* - qodana --results-dir=$BITBUCKET_CLONE_DIR/.qodana --report-dir=$BITBUCKET_CLONE_DIR/.qodana/report --cache-dir=$BITBUCKET_CLONE_DIR/.qodana/cache -DskipTests=true
* artifacts:
* - .qodana/report
* definitions:
* caches:
* qodana: .qodana/cache


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

The error indicates an issue with your project configuration rather than a Pipelines error. Pipelines builds that run on Atlassian infrastructure use Docker containers.

You can use the following guide to debug your build locally with Docker, and fix and test any changes:

* <https://confluence.atlassian.com/bbkb/troubleshoot-failed-bitbucket-pipelines-locally-with-docker-1318882094.html>

Since your build is using environment variables, please take note of the section **Environment variables** in that guide. The $BITBUCKET_CLONE_DIR variable is also not available locally, you can replace it with the path in the container where the repo is located.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
File-Level Permissions in Bitbucket
Asked by Joao Pedro Correia:

Hello Atlassian Support Team,

I hope this message finds you well. I am currently using Bitbucket for version control, and I am interested in exploring more granular control over file-level permissions.

Is it possible to set permissions at the file level in Bitbucket? Specifically, I would like to restrict certain users from cloning the entire repository and, instead, provide access to a predefined list of files. For example, User A should only have access to specific files like "file1" and "file2" and not the entire repository.

I have considered using branches, but I am concerned about the potential risk of accidentally removing files from the main branch during merges.

Could you please provide guidance on whether Bitbucket offers a feature or workaround to achieve this level of file-level access control? If not, do you have any recommendations or best practices for managing such scenarios?


Answers:
author: Aron Gombas _Midori_
body: I don't think you can protect files one by one. Branches is an option, but as you wrote, it is not the best for your use cases.

Another option that comes to my mind and that you could try is using [Git submodules](https://www.atlassian.com/git/tutorials/git-submodule)!

For example, if you want some users only to a set of files, then move those files to a separate submodule. (Like you could move the i18n files that your translators work on to a submodule, and integrate those to the final artifact during building the project.)


Tags: bitbucket-cloud

cloud
Maven test worked fine on my laptop but not in the pipeline
Asked by Sean Su:

I have a simple JUnit test case that load the Liquibase changelog originating in the src/test/resources folder. As you can imagine, the file will be in the target/test-classes folder after the compilation. The test case worked perfectly on my laptop. However, it failed as Liquibase could not find the file. The only thing I can think of is that the target/test-classes somehow is not on the classpath in the pipeline environment. Is that even possible? My pipeline configuration is very simple:  

```
image: maven:latest

pipelines:
  default:

    - step:
        name: Run Maven Tests
        script:
          # Step 2: Maven commands
          - echo "start of maven tests."
          - mvn clean test
          - echo "end of maven tests."
```


Answers:
author: Ben
body: Hi Sean,

The pipeline build directory should be the clone directory of the repository. If it's unable to find the **target/test-classes folder** then I'd suggest running an **ls -l** command in your script to print your folder structure and verify if it's there or not.

Sometimes you may also have to add prefixes to paths such as **./target/test-classes**

Please try this and let me know how it goes.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Fisheye 2.7 -> 2.10 upgrade - Repository re-index required?
Asked by David Corley:

We're planning an upgrade from Fisheye 2.7 -\> 2.10 and can't find any reference to full repository re-indexes in the upgrade notes for the 2.10 or intermediate versions.

Can someone from Atlassian let me know if a full repository re-index will be triggered? We've got a mix of SVN and Git repos. The reason I ask is we've got some large repos that we know will take days to re-index so need to account for that.

Also it would be great if the upgrade notes explicitly said if a re-index was NOT required for each major version.


Answers:
author: Teck-En
body: I believe it was explicitly mentioned in the FAQ which major version upgrade doesn't need to reindex unless mentioned in the upgrade guide: <https://confluence.atlassian.com/pages/viewpage.action?pageId=298977103>


author: ghiyasimehr
body: You can see indexing status from Repository view section. If indexer is not run, you can run it manually.


Tags: fisheye-crucible-administration
Can a fisheye Administrator close a review which is in Ready To Close of some other user?
Asked by David Lemon:

as an administrator can i close the reviews of some other user  

when the same review is in the Ready to close state?  

If no then what is the way to close the reviews of some other user?

And if yes then how?


Answers:
author: rverschoor
body: The built-in administrator has no permission whatsoever, it is only used to administer the configuration of FishEye/Crucible.

You can grant a user, or a group of users, the Close permission.  
To do so, you'll either need to edit the existing Permission Scheme that's used for your project/s, or create a new Permission Scheme and apply it to your project/s.  
Then edit the scheme and add the user/s or group/s to the Close permission.

comments: author: David Lemon
body: Thanks Rene It just helped me a lot
Fisheye & bitbucket
Asked by Ean Houts:

We're looking to move to Atlassian tools for our organization and I'm looking at OnDemand vs Download. I've currently got all tools on Download and our developers really like Fisheye \& Stash. If we host Fisheye ourselves can it be used with BItBucket ?


Answers:
author: rstephens
body: Hi Ean,

Yes, you can use FishEye/Crucible to index git and Mercurial repositories hosted on BitBucket.

I have written a [repository synchronisation plugin](https://marketplace.atlassian.com/plugins/com.atlassian.fecru.reposync.reposync) to automatically add any new repositories created in your BitBucket account to Fisheye/Crucible, but you can manually add repositories as well.

Kind Regards,  
Richard Stephens

comments: author: Ean Houts
body: Thanks for the confirmation! I'll check out youre plugin as well.


author: benigni
body: Unfortunately your plugin is outdated for my version. Is it still possible?How one can do it manually, I mean the private repos?
Limit who can be a Moderator
Asked by Robin Moss:

Is it possible to limit who can be a moderator?

For instance i have a group of 'Team Leaders' that one of should be set to the moderator. If this is not possible is it atleast possible to stop crucible auto filling the moderator with the author?


Answers:
author: Zul NS _Atlassian_
body: You can [enable/disable moderator](https://confluence.atlassian.com/display/CRUCIBLE/Enabling+the+Moderator+Role) role per project in the Project settings. At the moment, there isn't a way to configure a group to be the moderator, there is a feature request in [CRUC-474](https://jira.atlassian.com/browse/CRUC-474). Please vote the ticket to increase its popularity and watch for future updates.
Fisheye/Crucible Support for the Visual Studio Connector?
Asked by Nick Weiler:

Are there plans to include Fisheye/Crucible Support for the Visual Studio Connector?


Answers:
author: Felipe Kraemer
body: Hi Nick,

This request was tracked here:

<https://ecosystem.atlassian.net/browse/PLVS-189>

As can be seen, unfortunately it won't be implemented.

comments: author: Nick Weiler
body: Thanks. Based on the roadmap <https://ecosystem.atlassian.net/wiki/display/PLVS/Visual+Studio+Roadmap> it appears that it will be implemented, albeit at an unforseen date in the future. Is this correct?


author: childnode
body: Based on the announcement: <https://developer.atlassian.com/blog/2015/06/discontinuing-ide-connectors-support/>

No, there will be no official active development anymore. Please refer to <https://bitbucket.org/atlassian/connector-vs> , some forks coming up.


author: Nick Weiler
body: Thanks. Based on the roadmap <https://ecosystem.atlassian.net/wiki/display/PLVS/Visual+Studio+Roadmap> it appears that it will be implemented, albeit at an unforseen date in the future. Is this correct?
Allow more than one person check out a file at the same time (locking)
Asked by Anshu sahu:

Does Fisheye allow more than one user to checkout file (File locking)?


Answers:
author: Colin Goudie
body: Hey! Fisheye isn't a version control system, it is a version control system viewer. So you point it at one or more version control systems you have deployed.

However, to guess what you're asking, then yes. The majority of version control systems commonly connected to Fisheye default to non-locking mode.

Subversion for example is one. (That could be setup for locking, but by default isn't)

Other version control systems like git and mercurial don't have the idea of file locking to begin with


Tags: source
In fisheye, some of the repositories in Source tab are in "Stopped" state. how to resolve it?
Asked by Sandhya Santhosh:

In fisheye, some of the repositories in Source tab seems to be in "Stopped" state.

Not sure how to make it to run.

Please advise.

thanks,

Sandhya


Answers:
author: Marlon Aguiar
body: Hi Sandhya,

You should be able to re-enable your repositories by going in your Admin panel in Fisheye (/source/admin/), then on the left side menu click on **Repositories** under **Repository settings** , search for the stopped repository, click on the cog icon on the right of it and finally on S**tart**. After that you should see your repository status as running.

Hope this information helps!

Kindly,  
Marlon Aguiar
Is it possible to edit a snippet in crucible
Asked by Graeme Mitchell:

Question says it all! I've saved a code snippet and then realised I wanted to change something before it's reviewed. Is there anyway to edit the snippet or is the only way to create a new snippet?


Answers:
author: Felipe Kraemer
body: Hi Graeme,

I could reproduce this in FishEye/Crucible 2.10.4, which is currently the latest version, so looks like it's impossible to edit a snippet content after it's saved.

I have created this improvement request in order to make this possible in the future:

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

Cheers,  
Felipe Kraemer

comments: author: Graeme Mitchell
body: Thanks Felipe!
Verify steps to integrate JIRA and Crucible for inline defect creation and questions
Asked by Anthony Galati:

We are integrating the organizations JIRA and CRUCIBLE for inline defect JIRA creation. We have followed the instuctions but want to make sure we are doing everything correctly. Our systems use LDAP authentication and user accounts are managed through LDAP. Crucibles accounts are managed through JIRA which JIRA is managed through LDAP.

1. Enable Subtasks in JIRA
2. Enable remote API in Both JIRA and CRUCIBLE
3. Create an LDAP account to authenticate between JIRA and CRUCIBLE
4. Make sure the account has JIRA admin access and access to all JIRA projects
5. Create an application link on both sides using this new account for JIRA and CRUCIBLE
6. Admin the project in CRUCIBLE and create an application link for each JIRA project that will be reviewed in this CRUCIBLE project.

Questions:

We have 1 Crucible project setup for each team. Each team has several JIRA projects. Can you setup more than one applicaiton link on a Crucible project?

There was a section for subtasks that ask for a the setup number in a workflow. It is possible for several JIRA projects to have different subtask workflows. Does this have to be maintained per application link per JIRA project per the one CRUCIBLE project?

All of this seems a lot to continually maintain, is there an easier way to do this?


Answers:
author: Tini Good
body: Personally, I would have a one-to-one relationship between Crucible and JIRA projects, and then control team access to the various Crucible projects by utilizing Crucible Groups (in Security Settings) and individual Crucible Permission Schemes to the projects. Your current authentication method will work just fine with this. It's a bit of overhead to setup all the Groups and Permission Schemes, but then fairly simple for an admin to maintain. I think you can have a one-to-many relationship, but I see that as more likely to lead to user confusion and I think it would be more difficult to maintain.

As far as subtasks, I assume you are referring to the fact that Crucible gives you the option to link to a parent JIRA Issue, and then review defects/comments can be one button-clicked to create a JIRA subtask? I know JIRA can have different workflows based on project, but the only easy way I'd see to have different workflows within the same JIRA project is to use a custom Issue type and use conditions or validators. However, I'd see a potential problem getting Crucible to recognize custom JIRA Issue types, so I'm not sure if that will gain you anything there. I've got no good suggestion for this, but would be curious to know what you work out.


Tags: inline

jira-administration
$FECRU_HOME/cache and $FECRU_HOME/var/cache are quite large
Asked by Neeraj Sharma:

$FECRU_HOME/cache contains plugin caches and fisheye/crucible caches. As of now this cache size is close to 70B in our deployment. Can I get an insight of the content of this cache? Just plugin caching will definitely not take this much space.

Are these caches ever growing? If yes then eventually any box will run of space as cache size is always increasing. Why don't we have any cache eviction policy for these caches?

Also, doing an upgrade of exisiting instance of crucible with large caches is a challenge as copying and taking a backup of these caches is both time and space conduming.


Answers:
author: Sergey Svishchev
body: $FISHEYE_INST/var/cache (which takes up most of disk space) is not actually a cache, it's a database (actually, a set of them -- one for each repository). Fisheye is entirely useless without them.

comments: author: Neeraj Sharma
body: i know that /var/cache is svn cache. i am asking why $FECRU_HOME/cache is so large? wha if this cache is deleted? ho long does it take to build up again?


author: Sergey Svishchev
body: Its size somewhat depends on 'quality' of your svn repositories (i.e. how closely they follow the SVN Book branch/tag structure) -- see <https://confluence.atlassian.com/x/eAbSEQ>

Again, it's not a true cache -- more like a database index, in the sense that it either exists or isn't. But unlike a database table without an index, if you delete this cache, the repository isn't accessible (to Fisheye users) at all.

With a co-located repository (or a svnsync'd replica), about 3..10 milliseconds per affected path, and be aware that a 'svn copy' may affect your whole source tree.
Set date format in Crucible
Asked by Mike Hedman:

Hi,

How can I set the date format for our Crucible installation? There are places which use dd/mm/yyyy format (such as in the date picker in Source \| Reports \| Review Coverage), and this can be confusing to people in locales that do not use this format.

I think this ticket addresses the issue: <https://jira.atlassian.com/browse/CRUC-1941> was closed without fixing the problem in all cases. I'm hoping there is a setting that fixes this.

Thanks,

Mike


Answers:
author: Felipe Kraemer
body: Hi Mike,

You're right, <https://jira.atlassian.com/browse/CRUC-1941> was opened to suggest this, but as can be seen it was not implemented, so unfortunately there aren't any setting that could be used.

comments: author: Mike Hedman
body: Is there an easy way to forward this question/answer to become a feature request?

Thanks