youngmon/atlassian-qna huggingface dataset:
How to export SLAs to csv or Excel in a usable format
Asked by Danilo Simic:

I have created a filter with a set of JSM tickets and for that filter I have included 1 specific SLA that we want in the report.

When I export filter fields to CSV or Excel, for the SLA I get an unusable value. It appears in 2 variations:

1. As a date, where the date is 01/01/1900 and then a random time (note that in the cell itself the remaining SLA timer is shown properly example: 34:42 - 34h 42min)
2. As #VALUE, I assume because the data starts with "="

Is there a way to format the data or a better way of exporting it so that the data is usable?

Using an app from the marketplace is only an option if the app is free.

Thank you.


Answers:
author: Marc - Devoteam
body: Hi [@Danilo Simic](/t5/user/viewprofilepage/user-id/5339283)

ootb you would need to recalculate that in Excel.

Otherwise a marketplace app is required and there are no free SLA related apps or excel export apps that are free, that offer the functionality you require.


Tags: cloud

csv

export

jira-service-management

jira-service-management-cloud

ms-excel

sla
Custom Field with Dropdown Dependency for a Request
Asked by Daniel Grabner:

Hi, I would like to know if it is possible to set up a new custom field where selecting a particular option from the dropdown menu would automatically display additional choices based on that selection. the custom field is needed for a new request from a customer.

Thank you in advance!


Answers:
author: Fabian Lim
body: Hi [@Daniel Grabner](/t5/user/viewprofilepage/user-id/5401397)

Welcome to the community!

You can consider using jira Forms which comes out of the box (<https://confluence.atlassian.com/jirakb/using-conditional-logic-with-forms-1167693620.html>)

There are other plugins that will help you with this like extensions for JSM: [https://marketplace.atlassian.com/apps/1212161/extension-for-jira-service-management?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1212161/extension-for-jira-service-management?tab=overview&hosting=cloud)

Regards,

Fabian


Tags: cloud

jira-service-management

jira-service-management-cloud
How to get the link type of a deleted link?
Asked by Chloe Allison:

In my automation I want to remove a label when the "is duplicated by" link type is deleted from an issue. My trigger is When: Issue link is deleted. I thought I could do this by referencing {{destinationIssue.linkType}} but the automation returns this as nothing when I output this to the log. Is it impossible to get the link type of a deleted link?


Answers:
author: Chloe Allison
body: Hi Marc,

Thanks for the suggestion but unfortunately this automation never gets triggered when a linked issue is deleted for some reason.

comments: author: Marc - Devoteam
body: HI [@Chloe Allison](/t5/user/viewprofilepage/user-id/5326565)

I dug some more and found this information based on automation.

So ideally the Automation rule for this would simply be:

* Trigger: Issue deleted
* Action: Related issues (linked issues)
  * Action: Delete issue

However in practice this doesn't work, since the 'Issue deleted' trigger arrives **after** the issue has been deleted and removed from JIRA's search indexes.


author: Marc - Devoteam
body: Hi [@Chloe Allison](/t5/user/viewprofilepage/user-id/5326565)

Welcome to the community.

It might that the following rule, will achieve this.

I just made a mock-up as I didn't have time to test it.

![Screenshot 2024-01-09 at 17.49.31.png](https://community.atlassian.com/t5/image/serverpage/image-id/299699iAF2A8C486EA72AA3/image-dimensions/624x177?v=v2 "Screenshot 2024-01-09 at 17.49.31.png")![Screenshot 2024-01-09 at 17.49.38.png](https://community.atlassian.com/t5/image/serverpage/image-id/299697i2BC84AE9D1BEF0E3/image-dimensions/410x255?v=v2 "Screenshot 2024-01-09 at 17.49.38.png")![Screenshot 2024-01-09 at 17.49.45.png](https://community.atlassian.com/t5/image/serverpage/image-id/299698iF6620FED9C280520/image-dimensions/409x223?v=v2 "Screenshot 2024-01-09 at 17.49.45.png")


Tags: automation

jira-service-management

jira-service-management-cloud
related issue field
Asked by Adrian Gonzalez:

I would need to know how I can set the item "block by" as default in the linked issues field for one project.


Answers:
author: Nic Brough -Adaptavist-
body: You can not set a default link type.

The reason is that it is not something you should be defaulting. Most issues do not need to be linked to others via issue links (the highest number I've seen was a shade under 10% of issues having links, and that turned out to be a bodge made by a previous admin who didn't understand how Epics and sub-tasks work)


author: Nikola Perisic
body: Hello [@Adrian Gonzalez](/t5/user/viewprofilepage/user-id/4140801) ,

"is blocked by" is showing by default in both Jira and JSM, can you send a screenshot of your linked issue display?

BR,

Nikola


Tags: jira-software-server
Set up runners for Linux Docker but test failed with mysql connection refused
Asked by Eric San:

Hi

I am trying to setup self host runner on my server. Build and Test pass when it was running on Bitbucket Pipeline but when add self host, build and test starting to fail at - ./vendor/bin/pest --coverage script and the error is mysql connection refused on all of the failed test cases. My application framework is Laravel.

I scoured the internet looking for answer before posting this question. Please be kind.

Here is my bitbucket-pipelines.yml:

```
image: 
  name: ericsssan/altern8:v1.0.1
  username: $DOCKER_HUB_USERNAME
  password: $DOCKER_HUB_PASSWORD
  email: $DOCKER_HUB_EMAIL

pipelines:
  pull-requests:
    '**':
       - step:
         runs-on:
          - self.hosted
          - linux 
         name: Build and Test
         script:
           - ln -f -s .env.pipelines .env
           - composer install
           - php artisan key:generate
           - php artisan optimize:clear
           - ./vendor/bin/pest --coverage
           - npm ci --legacy-peer-deps
           - npm run coverage
           - npm run build
         artifacts: # defining the artifacts to be passed to each future step.
           - public/build/**
           - vendor/**
           - node_modules/**
         services:
           - mysql
           - redis 

definitions: 
  services: 
    redis:
      image: redis
    mysql: 
      image: mysql:5.7
      variables: 
        MYSQL_DATABASE: $DB_DATABASE
        MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
        MYSQL_USER: $DB_USERNAME
        MYSQL_PASSWORD: $DB_PASSWORD
```


Answers:
author: Theodora Boudale
body: Hi Eric,

In order to be able to better help you, would it be possible for you to share the following?

1. the full output of the command that is failing from the Pipelines Build log
2. the mysql log from the Pipelines build (if you open the build on Bitbucket website, select the tab mysql and copy-paste its content here)

Please make sure to sanitize any private/sensitive info from both, prior to sharing here.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-runners

cloud

connection

mysql

php

phpunit

server
"Share with"
Asked by Harold Senzano:

Hi!

how to enable the "share with" field to be shown to customers when creating the request.


Answers:
author: Jack Brickey
body: Hi [@Harold Senzano](/t5/user/viewprofilepage/user-id/5378747) , you can share wit an Organization at create but not customer as [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624) a mentioned. Here is a similar post -[How-to-allow-customers-to-share-tickets-with-other-customers](https://community.atlassian.com/t5/Jira-Service-Management/How-to-allow-customers-to-share-tickets-with-other-customers/qaq-p/1671875)


author: Rilwan Ahmed
body: Hi [@Harold Senzano](/t5/user/viewprofilepage/user-id/5378747) ,

Welcome to the community !!

"Share with" is actually "**Request participant**" field. Adding Request Participant field into Request Form in Customer Portal is not supported in JSM cloud.

Already there is a suggestion ticket with Atlassian to enable it, unfortunately Atlassian not implemented it. There is a workaround mentioned by Atlassian in <https://jira.atlassian.com/browse/JSDCLOUD-1511>

i.e. It is possible to add the **Request Participant** field to a **Form** (Project Settings \> Forms) which is then displayed on the customer portal; however, you cannot create new participants using this field, and due to security restrictions help-seekers will not be able to search for existing participants.


author: Nikola Perisic
body: Hi [@Harold Senzano](/t5/user/viewprofilepage/user-id/5378747) ,

This is not possible to have when the customer is creating the issue. It is possible after the request has been created for customers to share with others, otherwise no.

BR,

Nikola

comments: author: Harold Senzano
body: thanks!


Tags: cloud

jira-service-management

jira-service-management-cloud
How to ask Support to run Git GC on the our server
Asked by Shane Thomas:

Can support please run Git GC on our remote server please?

My local repository is 2.5 GB, and the server is now showing 4.05 GB and we are unable to push anything to the server.

This has happened before and each time takes time to sort out. Is there a fast-track process for this?

Thanks in advance.

Regards

Shane Thomas


Answers:
author: Ben
body: Hey Shane,

I have checked the workspace that you listed on this ticket and cannot see any repositories which are this size, I have also checked your personal workspace and couldn't see this either.

There is no way as of yet to fast-track repository garbage collection, this process happens automatically on a regular basis however will sometimes require manual intervention.

Are you still having an issue with a large repository? If so, I can log a ticket on your behalf.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
customers mail that was supposed to open a new ticket was attached as a comment to an old ticket
Asked by Salvatore Montalto:

A customer sent an email to us via the usual service desk address, and his email was not a reply to a notification, but a completely new email. Nevertheless, the system attached it as a comment to an old ticket. What could be the reason for this?  

Kind regards,

Salvatore


Answers:
author: Lars Barthel
body: Hi [@Salvatore Montalto](/t5/user/viewprofilepage/user-id/5226144)

without any more infos, it could be that the customer used the reply or forward button in the mail client, hence adding a comment to the old issue because JSM checks for informations in the header (i.e. ID) of the (old) mail.

The user needs to create a fresh new email, so that the email will not contain any traces of an old email.

Be aware that clearing the subject and/or body of the original email isn't sufficient, because the reply will still contain some traces of the original email in the source/header.

That's why the customer should create a completely new email.

Best,

Lars

comments: author: Salvatore Montalto
body: Hi, as stated in my request, customers E-Mail was no reply but a fresh new mail, thats y I'm confused.  

<br />

Kind regards,  
Salvatore


author: Tesha Vogt
body: In addition to what [@Lars Barthel](/t5/user/viewprofilepage/user-id/5020385) stated, you may want to read over the documentation on how email requests are processed:

<https://support.atlassian.com/jira-service-management-cloud/docs/how-does-jira-service-management-process-email-requests/>


Tags: cloud

jira-service-management

jira-service-management-cloud
no puedo entrar a hacer un push en la plataforma sourcetree
Asked by micro sys:

me sale este error en sourcetree

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master  
Logon failed, use ctrl+c to cancel basic credential prompt.  
Pushing to <https://microsyshonduras@bitbucket.org/microsyshonduras/funder.git>

Completed with errors, see above.

no se que hacer.....

en la pagina, entro bien sin problema:

<https://bitbucket.org/dashboard/overview> entro correctamente y he cambiado la clave varias veces y a?n as? cuando entro a sourcetree siempre me sale error de credencital.

AYUDA PORFAVOR


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

We have deprecated account password usage for Git over HTTPS and API:

* <https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231>

You will need to generate an app password for your Bitbucket account and use that instead of a password when cloning/pulling/pushing to repos:

* <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

If you only need to clone/pull/push to repos, an app password with permissions **Repositories: Read** and **Repositories: Write** should be enough. If you want to add your Bitbucket account to SourceTree, then **Account: Read** permissions will be needed as well.

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Importing from Github fails with an ImportException error 128
Asked by bo3b:

The github repo is private, so I set the authentication on and use a Github access token.

The token is proven good, because I can do a local clone using the same credentials. The same credentials work in SourceTree.

The repos is roughly 250M once on disk, and has two git submodules. No LFS support.

![fail.png](https://community.atlassian.com/t5/image/serverpage/image-id/209904iF2BEAC6715CD6F24/image-size/large?v=v2&px=999 "fail.png")


Answers:
author: Ben
body: G'day!

I have just tested this on my end and was able to import my own Github repo to my personal workspace using a personal access token.

Are you able to generate a new personal access token with everything ticked under the repo scope as a minimum? Ensure once the token is generated that this is copied and pasted to the clipboard, once you're in the repository import tool - ensure that authentication is ticked, the correct username is entered (a username who has access to the repo in Github) and that the PAT is copypasted into the password field.  
If this is a private repo, you need to make sure it is imported into a private project.  
You will also need to have write access in Bitbucket Cloud to be able to import the repo.

Try this and let me know how it goes.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Unable to access Bitbucket
Asked by Andrea Campodifiori:

I tried to login to my old Bitbucket account and i receive this error :

We couldn't log you in {#toc-hId--528957771}
--------------------------------------------

You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

I tried to change browser, pc and clear all cache but still give me this error. How can I fix it?


Answers:
author: Theodora Boudale
body: Hi Andrea,

Your Bitbucket Cloud account was set to inactive, which is the reason for the error you were seeing.

I went ahead and reactivated it, could you please let me know if you are able to log in now?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How to add rack to 'racknumber'
Asked by tharun:

How to add rack to 'racknumber' field

Create a rack name it's asto rack number field


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

I don't think you are in the right place, I think your software provider uses Atlassian stuff to provide their source code, issue tracking and/or documentation systems. I suspect you've clicked on "help with Atlassian" instead of "help with this software".

If that's not the case and you really are looking at an Atlassian system, could you explain what racks, racknumbers and a567 are?


Tags: bitbucket-cloud

cloud

jira
BitBucket Commit Checks refuse to accept approval for PR
Asked by Kevin Shaw:

We have a Pull Request based on several commits made by several people on our team, including myself. The PR was created by one user (say, John) who is one of the committers. The Build Checks have passed and now we only need the Approval Check. I am one of the Default Reviewers and I have approved the PR, but BB refuses to accept it as an approval.

I'm guessing that BB refuses to accept an approval from one of the committers, but we have only a small team and we will not be able to approve this if we exclude all committers.

We believe Commit Checks are important, but BB makes it very difficult to use.

How can we fix this?


Answers:
author: Ben
body: Hey Kevin,

Are you able to check **Repository Settings \> Branch Restrictions \> Merge Settings** for that particular repository and verify the "minimum number of approvals from default reviewers" setting?  
If this is set to 2, the merge should be able to complete even if one of the default reviewers created the pull request as long as there is another default reviewer approval.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
How do I Update Lambda Environment Variables using aws-lambda-deploy?
Asked by Kyran McCann:

Edit to add: i updated the pipe version to 1.6.0 and updated path to config file to './stagingconfig.json' and it worked fine.   

I'm updating and aliasing. I can't seem to figure out the syntax/order of operations to properly update the environment variables when doing the update.   

The variables that I want to use are stored with the bitbucket-pipelines.yml file.   

bitbucket-pipelines.yml:  
pipelines:  
default:  
- step:  
# Build and package the Lambda function.  
name: Build and package  
script:  
- apt-get update \&\& apt-get install -y zip  
- zip code.zip lambda-name/\*

# Upload the Lambda - make the version number  
#available to subsequent steps via artifacts.  
- pipe: atlassian/aws-lambda-deploy:0.2.1  
variables:  
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}  
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}  
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}  
FUNCTION_NAME: 'lambda-name'  
COMMAND: 'update'  
ZIP_FILE: 'code.zip'  
WAIT: 'true'

# The pipe exports the newly published  
# Lambda version to a file.  
artifacts:  
- pipe.meta.env

# You can optionally use AWS Lambda aliases  
# to map the newly published Lambda  
# function version to conceptual environments.

- step:  
name: Deploy to Staging  
deployment: Staging  
script:  
# Read the 'function_version' from  
# the update pipe into environment variables.  
- source pipe.meta.env  
# Point the 'staging' alias to the function.  
- pipe: atlassian/aws-lambda-deploy:0.2.1  
variables:  
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID  
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY  
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION  
SecretName: $SecretName  
FUNCTION_NAME: 'eip-put-rrt'  
COMMAND: 'alias'  
FUNCTION_CONFIGURATION: '\~/stagingconfig.json'  
ALIAS: 'dev'  
VERSION: '${function_version}'

stagingconfig.json (in root folder):  
{  
"Environment": {  
"Variables": {  
"Region": "$AWS_DEFAULT_REGION",  
"SecretName": "$SecretName",  
"BucketName": "$BUCKET_NAME"  
}  
}  
}

<br />

<br />


Answers:
author: Igor Stoyanov
body: [@Kyran McCann](/t5/user/viewprofilepage/user-id/4632223) . Thank you for sharing your feedback. It' is always good idea to use latest versions of the pipes, because we provide new features and also maintenance.  

Regards, Igor.


Tags: aws

bitbucket-pipelines

cloud

lambda
pat in bitbucket
Asked by Kamal Dhingra:

I want to add PAT for connectivity with Jenkins. I am unable to do so as I cant find Account settings option in the profile. can anyone help.


Answers:
author: Ben
body: G'day Kamal!

Welcome to Bitbucket Cloud Support! :)

Bitbucket Cloud does not have personal access tokens, but depending on what use you wanted to give them you can use [App passwords](https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html) or [OAuth](https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html) for authentication instead.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Someone has already added that key as an access key to a repository
Asked by fabricioflores:

Someone has already added that key as an access key to a repository


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

See <https://community.atlassian.com/t5/Bitbucket-questions/Try-to-add-ssh-key-but-get-quot-Someone-has-already-added-that/qaq-p/2098242>


Tags: bitbucket-cloud

cloud
How do I use the atlassian/google-app-engine-deploy pipe to deploy a maven module not parent project
Asked by ajinkyavm:

I have a Java - Spring Boot - Maven project with structure as below  

Parent   
- Module A  
- Module B  
- Module C (To be deployed)  
-\> this has got the app.yaml inside src/main/appengine/app.yaml  

I tried to use the pipe with all the appropriate values to variables and

```
DEPLOYABLES: 'ModuleC/src/main/appengine/app.yaml'
```

```
DEPLOYABLES: 'ModuleC/target'
```

<br />

but nothing seems to work. Is there a documented way to make this work using the pipe atlassian/google-app-engine-deploy ?


Answers:
author: Igor Stoyanov
body: [@ajinkyavm](/t5/user/viewprofilepage/user-id/5002203) hi. Thanks for your question.  

Try the [examples provided here.](https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-google-cloud/)  

Regards, Igor.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

google

maven
What is git address for my repository
Asked by Gaurav Shah:

Sorry to ask silly question, but please let me know, which remote address I put in

"git remote add"


Answers:
author: Ben
body: Hey Gaurav!

Welcome to the Bitbucket Cloud community! :)

The address which is added will depend on whether you are using HTTPS or SSH for authentication.

The easiest way to determine the URL will be to click the "Clone" button in the UI to get the clone command, cloning the repo will automatically update the remote URL in your gitconfig.

To add a new remote for HTTPS (you will need to configure an [AppPassword](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) for authentication as username/password is no longer supported):

```
git remote add origin https://USERNAME:APP_PASSWORD@bitbucket.org/username/reposlug.git?
```

For SSH, it will look a little different:

```
git remote add origin ssh://USERNAME@bitbucket.org/WORKSPACEID/REPOSLUG.git
```

**NOTE:** you will need to substitute in the values specified above (ie username/AppPassword/workspaceID/reposlug)

The following article explains this in more detail:  
<https://www.atlassian.com/git/tutorials/syncing>  

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
file upload fail with $web container.
Asked by Yannick Lapierre:

Hello,  

I have to upload a file in **$web** container in Azure Storage.  
I got this error:

```
azcopy cp "_deploy/tscli.exe" "https://xxxx.blob.core.windows.net/$web/tscli.exe?sv=2020-10-02&si=bitbucket&sr=c&sig=%abcdefghijklmnopqrstuvwxyx%3D"
INFO: Scanning...
failed to perform copy command due to error: cannot transfer individual files/folders to the root of a service. Add a container or directory to the destination URL
```

I tried to another container with same access right. It passes.

```
azcopy cp "_deploy/tscli.exe" "https://xxxx.blob.core.windows.net/sd-app/tscli.exe?sv=2020-10-02&st=2022-08-05T13%3A38%3A45Z&se=2022-08-06T13%3A38%3A45Z&sr=c&sp=racwl&sig=abcdefghijklmnopqrstuvwxyz%3D"
```


Answers:
author: Yannick Lapierre
body: Any news?


Tags: azure

bitbucket-cloud

cloud

storage