youngmon/atlassian-qna huggingface dataset:
Can you add white space between fields?
Asked by Emily Bischoff:

I need to add white space between fields.

![Screenshot 2024-05-15 at 12.28.51?PM.png](/t5/image/serverpage/image-id/323940iD86DE19AA69656C6/image-size/large?v=v2&px=999 "Screenshot 2024-05-15 at 12.28.51?PM.png")


Answers:
author: Joseph Chung Yin
body: [@Emily Bischoff](/t5/user/viewprofilepage/user-id/5498269) -

Welcome to the community. Out of the box, you cannot add white space (i.e. additional line breaks) between fields. You can control the layout if you include FORM into your Request Type screen design if needed.

The question is why you want to implement more white spaces between fields? Please advise

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Emily Bischoff
body: The fields are very hard to read without additional white space.


author: Joseph Chung Yin
body: [@Emily Bischoff](/t5/user/viewprofilepage/user-id/5498269) -

Unfortunately, it is nothing one can change the layout unless with third party add-on.

However, FORMS (previously named Proforma) for Data Center is still a paid add-on which you can get it from Marketplace - [https://marketplace.atlassian.com/apps/1215833/proforma-forms-checklist-for-jira?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/1215833/proforma-forms-checklist-for-jira?hosting=datacenter&tab=overview)

The same add-on is no longer a paid add-on from Atlassian Cloud env.

Hope this helps.

Best, Joseph


author: Megan Makowiecka
body: [@Emily Bischoff](/t5/user/viewprofilepage/user-id/5498269) this is a bit of an ugly hack but if you are working with what you got then it might work.

In the Request Type form, you can add**\\\\** to the description of each custom field and this acts as a paragraph break.


author: Emily Bischoff
body: I don't see an option in our instance for forms. Is it available on Data Center? We are running Jira 9.15.1.


author: Vijay Dadi
body: [@Emily Bischoff](/t5/user/viewprofilepage/user-id/5498269) ,

If you use Forms, to build request types, you should be able to achieve your requirements.

Vijay


Tags: data-center

jira-service-management

jira-service-management-data-center
How to move assets between object schemas?
Asked by Kenny Fairlie:

Hello,

Is there a way to move assets between different categories/schemas? I'm also having trouble with importing assets into existing schemas via the CSV import.

Thanks,

Kenny


Answers:
author: Mikael Sandberg
body: Hi [@Kenny Fairlie](/t5/user/viewprofilepage/user-id/5498203),

Welcome to Atlassian Community!

Currently that is not possible, but there is a suggestion to add this feature, see [JSDCLOUD-10000](https://jira.atlassian.com/browse/JSDCLOUD-10000), that I would recommend that you go and vote for and follow.

comments: author: Mikael Sandberg
body: I know that this suggestion is only mentioning moving within a schema, but once that is solved then moving between schemas should be feasible too.


Tags: cloud

jira-service-management

jira-service-management-cloud
Endpoint for service management Organizations
Asked by votequimby:

Looking for information on how to retrieve the Organization associated with Service Desk issues. We use API's to pull data into our data warehouse and would like to categorize tickets by customer. Is there an endpoint that provides this data?

Thanks!


Answers:
author: Christian Beaulieu
body: Hey [@votequimby](/t5/user/viewprofilepage/user-id/108404) I hope you are well today. :)

I am Christian with the JSM Support Team and can see you have a question about how to retrieve the Organization(s) associated with JSM Issues.

It is wild that you say that because I have a community article I put together on this very topic. Please see that here: <https://community.atlassian.com/t5/Jira-Service-Management-articles/Auto-update-custom-fields-based-on-Organization-properties/ba-p/2099833>

Also here is the direct endpoint documentation for the JSM REST API: <https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-get> which includes various types of API requests as you can see.

I hope this helps! Let me know if you have any questions.

Cheers,

Christian

comments: author: votequimby
body: Super helpful, thanks very much Christian.


Tags: cloud

jira-service-management

jira-service-management-cloud
Hello, ?is it possible to see all the values of JSM's native tags (label) field, and delete them?
Asked by Manuel Alejandro Rodriguez Mu?oz:

Hello, ?is it possible to see all the values ??of JSM's native tags (label) field, and delete them?


Answers:
author: Mikael Sandberg
body: Natively in JSM/Jira this is not possible, labels are global within your Jira instance. You would need an app in order to do this, there are couple of label managers in the [Marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=jira&query=label).


Tags: cloud

jira-service-management

jira-service-management-cloud
Exclude SLA on certain request types that are different from our normal IT support SLA
Asked by Fuji:

SLA have been working fine up until I created new queues in my service project with new request types (new project that should not be connected to our current SLA goal and normal IT support) and tried to put SLA goal on "no target", so it wouldn't mess up our current SLA + SLA reports with our normal IT support.  

I have a lot of different request type in our normal IT support and then we have the new request types which should not be counted in on our SLA. But it does.  

On the two pictures below I tried two different ways, but none of them works.

Time to resolution:  
I tried "no target" on new request types. For our normal IT support I put it on "all remaining", a certain time goal for our normal IT support request type(16h), but it includes the "no target" request types in our SLA and our SLA reports, which makes our SLA met % (report) not met.

Time to first response:  
I also tried to shift it around by giving the request type for our normal IT support an certain time goal (8h) and then giving the other request types "all remaining" and "no target"/0h. But it still mess up our SLA and reports.

![Screenshot 2024-05-15 172851.png](https://community.atlassian.com/t5/image/serverpage/image-id/324400i8B265ED2AFC620A7/image-size/large?v=v2&px=999 "Screenshot 2024-05-15 172851.png")

![Screenshot 2024-05-15 172905.png](/t5/image/serverpage/image-id/323914i6A9E4C11D32360FD/image-size/large?v=v2&px=999 "Screenshot 2024-05-15 172905.png")


Answers:
author: Fuji
body: My solution to not getting SLA to work properly, was to go into:

report --\> edit report --\> and edit the specific series -\> filter by specific issues --\> and then the specific request types I was using for my normal SLA.

It is now showing the same as before, even though I have the new request type/new queues.


Tags: cloud

jira-service-management

jira-service-management-cloud

sla
Someone has already added that SSH key
Asked by hernan astudillo:

I cant add a new SSH Key


Answers:
author: Kurt Klinner
body: [@hernan astudillo](/t5/user/viewprofilepage/user-id/5302139)

Welcome to the Atlassian community.

Anz chance you added already you ssh key (eventually to a different user account (take a look at <https://bitbucket.org/account/settings/ssh-keys/>)?

See also <https://confluence.atlassian.com/bbkb/someone-has-already-registered-that-ssh-key-338365482.html>

Cheers

Kurt


Tags: bitbucket-cloud

cloud
Can not login via Username
Asked by Porphyrin:

Hello, I used to login to bitbucket via username Porphyrin where there were repositories. Currently I\\m not able to login since it is required email it is not linked to my bitbucket account. Could you please support me?


Answers:
author: Norbert C
body: Hi there,

Thank you for reaching out to Atlassian Community.

I would like to ask if you still have difficulties accessing this Workspace? Based on my observation this workspace is linked with the email address you used to open this ticket.

We're looking forward to hear from you


Tags: bitbucket-cloud

cloud
Unable to access my account
Asked by Chinmay Chiranjeeb:

Hi BitBucket team,

I had an old account with same email id. I forgot the password and signed up with Google SSO.

I cannot access the Bitbucket. other atlassian products seems to be working as expected.


Answers:
author: Ben
body: Hi Chinmay,

I can see that there is a valid, active Bitbucket Cloud workspace tied to the email that is associated with your community profile.

May I please know what is the error message that you are seeing when you try to login? Perhaps share a screenshot if you are able to?

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
bitbucket-pipeline.yml for laravel 9+
Asked by drewkroft:

Looking for bitbucket-pipeline.yml recommendations for Laravel 9+ projects.

The "official" recommendation is for Laravel 5, and is out of date.

Are others successfully using a 'sail' / 'composer' / or 'php8.x' image or configuration?

DB: sqlite / memory?

I've wasted a lot of time and build minutes and frustrated with little progress.

Thank you!


Answers:
author: Norbert C
body: Hi there,

Thank you for reaching out to Atlassian Community.

When I accessed the Laravel 9's website, I was able to see that they have their own built Docker image:

```
laravelsail/php82-composer
```

I would like to recommend you to give it a try and let us know if it works


author: elanclarkson
body: I got a simple install \& test step to run using PHP 8.3, Laravel 11 and Postgres as follows:

```
image: php:8.3-fpm

definitions:
  services:
    postgres:
      image: postgres:16
      environment:
        POSTGRES_HOST_AUTH_METHOD: "trust"

pipelines:
  branches:
    master:
      - step:
          name: Install & Test
          caches:
            - composer
          script:
            - apt-get update && apt-get install -qy git unzip libzip-dev libpq-dev
            - docker-php-ext-install zip pdo pdo_pgsql
            - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
            - composer install
            - ln -f -s .env.pipelines .env
            - php artisan migrate --force
            - php artisan test
          services:
            - postgres
```

I also found a self-answered question here for Laravel 8+: <https://stackoverflow.com/questions/64384734/laravel-bitbucket-pipelines-configuration>

comments: author: Omer Farooq
body: I have almost the same setup. But i am not able to connect to the postgres database using the .env. I have tried alot of different variations in my .env file but was not able to find the solution.   

```
definitions:
   services:
      postgres:
         image: postgres:16
         environment:
            POSTGRES_HOST_AUTH_METHOD: "trust"
            PGPASSWORD: 'secret'
            POSTGRES_DB: 'laravel'
            POSTGRES_USER: 'laravel'
            POSTGRES_PASSWORD: 'secret'
```

(I have also tried removing the auth method. )

Here is my .env

```
DB_CONNECTION=pgsql
DB_HOST=postgres # tried 0.0.0.0, localhost, 127.0.0.1
DB_PORT=5432
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=secret
```

If possible please share your .env file content. Thanks


Tags: bitbucket-cloud

cloud
C++ bitbucket-pipeline doesn't recognize pre-built library file
Asked by Avanthi Busireddy:

I have set up the bitbucket-pipeline for our project, with custom GCC installation on docker space. ,we could build bootloader but when it comes to build the application code all our c source code mentioned in cmake were built, but bitbucket doesn't link the pre-built library files mentioned in cmake though the files located in the folder. Bitbucket throws no such file or folder.

bitbucket-pipeline.yml file:

image: gcc:10.2

pipelines:  
pull-requests:  
'\*\*':  
- step:  
name: build   
script:  
- apt-get update  
- apt-get install -y cmake  
- chmod +x install_crosstoolchain.sh  
- ./install_crosstoolchain.sh  
- make

snippet of cmake file where our .a file is located on main directory

DXXXLIB = DXXXXX/XXX.a

bitbucket error:  
arm-none-eabi-gcc: DXXXXX/XXX.a: No such file or directory  
184 make\[1\]: \*\*\* \[Makefile.general:1237: Application\] Error 1  
`Please guide us to fix this.`  
`It was the same issue with other library files but with building source code for it generated new library for it and problem vanished. `  
`This particular library file we can't generate it and its a from third party. `


Answers:
author: Norbert C
body: Hi Avanthi,

Welcome to Atlassian Community!

Can you let us know if you were using an absolute or relative path? When you execute a build the repository's content gets mounted to the following directory:

/opt/atlassian/pipelines/agent/build

Can you try to refer the library to this path and let us know if that makes any difference?

comments: author: Avanthi Busireddy
body: I tried with the absolute path /opt/atlassian/pipelines/agent/build but still it didn't work.

The problem here is with linking the library files generated by another compiler I guess. I had the same issue with another library file, but since we have source code for it I made it compiled here within bitbucket and the linker could locate the generated file.


author: Avanthi Busireddy
body: [@Norbert C](/t5/user/viewprofilepage/user-id/1190200) Norbert Do you have any solution for this?


author: Norbert C
body: Looking at the error, I'm wondering if this is caused by the architecture

What I can see is that you're trying to compile for arm  
arm-none-eabi-gcc: DXXXXX/XXX.a: No such file or directory  

But Pipelines is running on amd64 infrastructure. Do you know if you can compile this code in an amd64 arch?  
Also I would like to ask if you could try to reproduce this build in a Docker container? Do you have the same behavior?   

Steps to do it is

```
git clone https://<user_name>@bitbucket.org/xxxxx/xxxxx.web
cd xxxxxxx
git checkout <commit sha>
docker run -it --volume=<Local_Repo_Dir>:/xxxxxx --workdir="/xxxxxx" --memory=8g --memory-swap=8g --memory-swappiness=0 --entrypoint=/bin/bash gcc:10.2
####once you're in the conatiner
- apt-get update
- apt-get install -y cmake
- chmod +x install_crosstoolchain.sh
- ./install_crosstoolchain.sh
- make
```


Tags: bitbucket-cloud

cloud
SSH Key problem
Asked by Leif Rogell:

I followed the instructions for setting up SSH keys on Linux (Ubuntu), but I cannot connect. The SSH connection attempt failes at the following point:

debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

Connection closed by 104.192.141.1 port 22

What can I do?


Answers:
author: Saxea _Flowie_
body: Have you tried this? <https://serverfault.com/questions/210408/cannot-ssh-debug1-expecting-ssh2-msg-kex-dh-gex-reply>


Tags: bitbucket-cloud

cloud
I stopped receiving bitbucket email notifications
Asked by Abbos Yuldoshev:

Hi,

Lately I've stopped receiving any notifications from Bitbucket(not pull requests or any mentions). Could you please check this up? Problems at all users at company email domain.

Thank you,


Answers:
author: Syahrul
body: G'day [@Abbos Yuldoshev](/t5/user/viewprofilepage/user-id/5301649)

Welcome to the community!

Based on my observation, your email has been flagged and added to our suppression list following a previous instance where your mail server bounced back an email we sent.

I've taken the necessary steps to remove your email from our suppression list. To prevent any recurrence of this issue in the future, I recommend coordinating with your mail server team to review and rectify any potential problems on your end. This will help prevent similar issues in the future.

Regards,  
Syahrul

comments: author: Abbos Yuldoshev
body: Thank you very much, it's working for me again. But it still doesn't work for other colleagues. Although they are also under this domain @attolabs.de Please, you can check them too, so that it works for everyone.


author: Syahrul
body: Hey [@Abbos Yuldoshev](/t5/user/viewprofilepage/user-id/5301649)

Thanks for the update. I have bulk removed all users from the domain you shared from our suppression list.

Hopefully, this will fix the issue with your colleagues.

Moving forward, I suggest creating a support ticket with us for a similar issue to get much quicker assistance since I noticed that you are on the Standard plan.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
I can't create a repository
Asked by jang shin:

I logged in and created a repository following directions.

There is no error message or any other message, just displays the create repository page again.

The company joined to test at first as free with 5 members only.

Any specific step is required to create a repository?


Answers:
author: Mark C
body: Hi [@jang shin](/t5/user/viewprofilepage/user-id/5301294),

Welcome to the community.

Would it be possible for you to try to create a repository following the steps below?

* Go to your workspace <https://bitbucket.org/workspace_id/>
* Click the "Create" dropdown at the top
* Click **Repository**
* Select a project
* Input a repository name
* Last, click **Create repository**

Thanks and let me know how it goes.

Regards,  
Mark C

comments: author: jang shin
body: Thanks, Mark.

The real problem was that the admin didn't give me permission.

Is there a way to notice it is a permission issue?


author: Mark C
body: Hi [@jang shin](/t5/user/viewprofilepage/user-id/5301294)  

Ideally, you shouldn't be able to access the repository creation page if you don't have access to create a repository.  

Would it be possible for you to provide the URL where you're trying to create a new repository?  
**Note:** You can mask the workspace ID in the URL before providing it here  

Regards,  
Mark C


author: jang shin
body: Hi Mark,

Thanks for your help.

Here is the URL. I changed the company's name.

This is the first time setup in the company.

I told to IT admin, and he said that it may be permission issue, then it was fixed.

<https://bitbucket.org/xxxxxxxx/workspace/create/repository>


author: Mark C
body: Hi [@jang shin](/t5/user/viewprofilepage/user-id/5301294),  

Thanks for providing the URL.  

Based on my testing, if you don't have access to a workspace, you'll get the page error message "You do not have access to view this workspace." when you access that link.  

What you may have experienced could be a bug or caching issue about permissions.  
If you happen to experience the issue again, kindly report it back to us with some replication steps and we'll investigate it further and/or raise a bug request.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Cant access to Bickbucket with any browser
Asked by Javier Mansilla:

Tried with Chrome, Opera and firefox but could not.   
Reading in forums, it seems that my account may be marked as inactive.  

<br />


Answers:
author: Ben
body: Hi Javier,

I have managed to find your workspace based on your name and can see that it has been marked as INACTIVE due to being dormant since 2018.

I have just re-enabled your workspace, please try to log in again and let me know how it goes :)

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
How do I delete all repository content so I can start from GIT INIT again?
Asked by Jamie Garvey:

Due to other factors, updates to particular development projects had to be done in a way where the projects were not associated with the original Bitbucket repository. In order to upload the code, we need to remove the current content in the repository in a way that allows us to just do a GIT INIT with the entirety of the code.

What steps should we follow to remove all repository content so we can do a GIT INIT with a repository?


Answers:
author: Jamie Garvey
body: Thanks [@Saxea _Flowie_](/t5/user/viewprofilepage/user-id/5230209). Quick question. We are trying to do just the delete part on the BitBucket side. Then we will do the Init from our development tool. We need to delete first as the functions within our development tool don't offer the -f equivalent.   

Are those steps just for the deletion/reset of the repo or are they facilitating the INIT as well? It's the delete/reset that we need. Are these functions we can perform from the BitBucket front end? Thanks very much for your response and support. Jamie

comments: author: Saxea _Flowie_
body: You can't "delete" in git, but you can replace the history using the -f(force). So these are the steps to replace content. Even if you "delete" by replacing with an empty repository, to "upload" the code you will the to replace the empty repository again.

I don't think you can "replace" the content from Bitbucket interface. The closest to this would be to delete and re-create the repo - which I assume you don't want to do it.
> Are those steps just for the deletion/reset of the repo or are they facilitating the INIT as well?

It does the init as well. However, if you prefer, you can do everything from your tool and just do the `push -f` from the command line. Typically, there's no difference whether it's done via GUI or command line; you can mix and they interop fine.


author: Saxea _Flowie_
body: Something like this should do it. Key thing is to use '-f' when pushing, to override the content on the remote:

```
rm -rf .git
git init
git add .
git commit -m "Initial commit"
git remote add origin <remote_repository_url>
git push -f origin main
```


Tags: bitbucket-server

server
Download documentation doesn't match reality
Asked by gbcox:

I wanted to download a commit to tar.bz2 format. I figured it out, but the documentation is wrong. It shows options that don't exist as far as I can tell.

<https://confluence.atlassian.com/bitbucketserver/download-a-repository-archive-913477030.html>

I looked for the download pulldown and it doesn't exist. I figured out how to copy url and use the ?format= keyword, but the other information appears to be just plain wrong - and the documentation appears to have been updated in February 2023 - so not sure what is going on.


Answers:
author: Syahrul
body: G'day [@gbcox](/t5/user/viewprofilepage/user-id/3595508)

It looks like the KB you shared is for Bitbucket server, and I wonder if you are in Bitbucket cloud or server?

If you are on the cloud, then the KB doesn't apply to it, which makes sense because it's different as both products don't share the same feature and are entirely on other platforms.

Anyway, you can download your commits by simply changing the URL:

For example, you wish to download commit abs232

Change the URL:

```
https://bitbucket.org/<workspacename>/<repositoryname>/get/abs232.tar.bz2 
```

This should download the specific commit as .tar.bz2

Regards,  
Syahrul

comments: author: gbcox
body: Thanks so much for the quick reply! I am on the Bitbucket cloud.


Tags: bitbucket-cloud

cloud
How can I specify the target directory when use bitbucket pipline with aws openID connect?
Asked by Febin:

How can I specify the target directory when use bitbucket pipline with aws openID connect?

is bitbucket-pipelines.yml has a supporting target directive to move the code in the deployed EC2 instances?


Answers:
author: Saxea _Flowie_
body: If you want to deploy directly to the EC2 instance you need to do it via SSH. You could try using EC2 Instance Connect authenticating via OIDC - not sure if this supported. This way you don't need manage the SSH keys.

There are different options to deploy to EC2, but I believe the canonical and likely easiest way to deploy to EC2 is via CodeDeploy. There's a [pipe](https://bitbucket.org/bitbucket/product/features/pipelines/integrations?search=deploy&p=atlassian/aws-code-deploy) for that as well. However, most of these options involve uploading code to S3 rather than uploading it directly to EC2.


Tags: bitbucket-cloud

cloud

connect