youngmon/atlassian-qna huggingface dataset:
Searching in Description field
Asked by Mario Duenas:

I've tried using description: x but nothing comes up.  

I saw this forum post:

<https://community.atlassian.com/t5/Trello-questions/Search-Cards-for-Description/qaq-p/1288451>

But that didn't really help. I've tried searching for anything and no results come up.

I'm trying to use the Search function to search my cards description field.


Answers:
author: Andrea Crawford
body: Can you try searching by something like

```
board:"name of board" description keywords
```

<br />

If you still don't get any results, can you try on <https://trello.com/search> ?

Let me know if this helps.

comments: author: Mario Duenas
body: Neither worked. Do I need to keep the quotation marks when I use the board search?


author: Andrea Crawford
body: If the board title is multiple words, then yes you'll need quotes. That search will return cards from that one board that match your keywords


author: Mario Duenas
body: I see. I tried it with the name of the board in quotations and it didn't work. I'm sure I'm doing something wrong here but I can't figure it out.


author: Mario Duenas
body: I figured it out. I was putting a space after description. After I tried removing the space from between 'description:' and what I was looking for it worked.


Tags: description

search
Start and due dates change automatically
Asked by Idaira Moreno Ramos:

Hello,

I'm having problems with some of my cards. Start dates and due dates change automatically to the date I create the card. Why does that happen?

Thanks!


Answers:
author: Hannah Humbert - Simpla Workflows
body: Hi [@Idaira Moreno Ramos](/t5/user/viewprofilepage/user-id/4931056) ! Welcome to the community :) it sounds like there is some [butler automation](https://help.trello.com/category/1134-butler) running on the board. You can check that by looking at the card activity at the bottom of your card:  

![butler changes.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/198046iFB3560B48C0C65AC/image-size/large?v=v2&px=999 "butler changes.PNG")  

Any card that says something was updated "via Butler" means it was executed through butler automation.  

Do you remember setting up any automation commands, or do you have other people using the board that could have set something up?

comments: author: Idaira Moreno Ramos
body: Hi [@Hannah Humbert - Simpla Workflows](/t5/user/viewprofilepage/user-id/2109993) ! Thanks for your answer! I checked and there is not butler automation on the activity but my colleage found a solution. We realised that problems appear when we copy a board several times and we have Power Ups. So, we had to delete the BigData Power-Ups and make a new copy of the board. We are looking for a new Gantt tool.

Thank you!
Trello security, Backup & Storage
Asked by Admin:

Dear Trello community,

I'm introducing Trello as a project kindly provide me with all of your knowledge about its server, storage, security \& backup with evidence to be sure that it's safe from an IT perspective

Best regards,

HW


Answers:
author: Felix
body: Hey [@Dr. Hamouda Walid](/t5/user/viewprofilepage/user-id/4925510)

please see <https://trello.com/trust> for all the info about Trello's security, compliance, legal and privacy.

Cheers,

Felix


Tags: atlassian-support

backup

security
Some branches have shared steps & first step cannot be manual
Asked by Monica Gordillo:

I have the following deployments:

* Test
* Security
* Staging
* Production

I have steps associated with each deployment. Each deployment has deployment variables associated with it.

I would like to run the "Test" \& "Security" steps on **all** branches. I would like the "develop" branch to run the steps for "Test", "Security" \& "Staging". I would like the "master" branch to run the steps for "Test", "Security", "Staging", and "Production". Any other branches like "feature/\*" only run steps for "Test" \& "Security".

The "Production" steps have a manual trigger.

I tried doing a combination of **default:** and **branches:** , but it looks like **default:** only runs on NON-MATCHED branches.

Any suggestions will be greatly appreciated.


Answers:
author: Theodora Boudale
body: Hi [@Monica Gordillo](/t5/user/viewprofilepage/user-id/3759182) ,

Since you want to reuse the same steps for different branches, I would suggest using YAML anchors to define these steps.

You can check the following doc for more information on YAML anchors:

* <https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/>

Based on the description of your deployments and also which deployments you want to run for a specific branch, I believe you could structure your bitbucket-pipelines.yml file as follows:

```
definitions: 
  steps:
    - step: &test
        name: Test
        deployment: Test
        script:
          - echo "Test deployment"
    - step: &security
        name: Security
        deployment: Security
        script:
          - echo "Security deployment"
    - step: &staging
        name: Staging
        deployment: Staging
        script:
          - echo "Staging deployment"
    - step: &production
        name: Production
        deployment: Production
        trigger: manual
        script:
          - echo "Production deployment"

pipelines:
  default:
    - step: *test
    - step: *security
  branches:
    develop:
      - step: *test
      - step: *security
      - step: *staging
    master:
      - step: *test
      - step: *security
      - step: *staging
      - step: *production
```

The section with the keyword **definitions** defines each deployment step as an anchor, so you can reuse it later.  
Then, the **pipelines** section defines which steps to run depending on the branch.

Is this something that works for you?

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines
Jira create issue - attach file and do not assign to user.
Asked by radim:

Pipeline: Jira Create Issue

Version v0.1.2

Would it be possible to extend Jira create issue pipeline with

\* attach a file to the issue (file from the repository) like a LOCAL_PATH

\* do not assign the issue to the current user so it might be picked by someone else or allow to change the assignee to a specific user.

Thanks.


Answers:
author: radim
body: The point is to notify a teammate who does not have access to Bitbucket about new changes that require updating our release notes.

* there is a repository on Bitbucket
* when a developer commits a specific file (or pushes a tag) then the pipeline creates a new issue and attaches the committed file. In my particular case, it's a HISTORY.md file that should be attached to the issue
* The Jira issue should be either assigned to a specific user specified in the pipeline or not assigned to anyone.
* Email should be sent to specific people about a new Jira issue that requires their attention so they can review the HISTORY.md and update release notes. It might be more people so it's better to use a different task in the pipeline.

Hope it's a bit more clear.

Many thanks

Radim


author: Oleksandr Kyrdan
body: Hi [@radim](/t5/user/viewprofilepage/user-id/2119480)

Thank you for your question!  
Could you provide more details with us about attach file case?  

We'll investigate the feature and notify you.

Cheers,  
Oleksandr Kyrdan


Tags: bitbucket-pipelines

cloud

jira
I want to leave a bitbucket repository but I don't know how :D
Asked by Aleksandar Radivojevic:

I was invited to work on two repositories by a former client \~4 years ago. I've stopped working for him \~2 years ago but I still see the repos in my <https://bitbucket.org/dashboard/overview>.

The former client has gone "missing" because he's owning me and the people who worked for him a lot of money.

Is there a way of revoking my access on my own or can I somehow hide the projects related to that client from my overview?


Answers:
author: Aleksandar Radivojevic
body: found it :D profile -\> workspaces -\> leave

comments: author: Tyler T
body: Cool.. here is a link for others that might come across this question: <https://bitbucket.org/account/workspaces/>


Tags: bitbucket-cloud
All my private repositories are missing
Asked by adobongkangkong:

Hi, I haven't signed in for maybe 2 years and found that all my private repositories are missing.

Is there like years without signed-in and repositories gets removed overtime?


Answers:
author: Theodora Boudale
body: Hi [@adobongkangkong](/t5/user/viewprofilepage/user-id/1901800) ,

I assume that your question concerns your Bitbucket Cloud account with the same email as your community account?

If this is the case, I can see that this account used to own several Mercurial repositories. Are they the ones you are referring to?

We have deprecated support for Mercurial repositories, we made an announcement about this in 2019:

* <https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket>
* <https://community.atlassian.com/t5/Bitbucket-articles/What-to-do-with-your-Mercurial-repos-when-Bitbucket-sunsets/ba-p/1155380>

and since July 8th, 2020 Mercurial repos have no longer been accessible.

If these are the repos you are missing, you can open a support ticket with Bitbucket Cloud support team, and request if it's possible that they provide you with a copy of these repos, if you don't have any local backup. You can open a support ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product.

If this doesn't concern Mercurial repos, or if it concerns a Bitbucket account with a different email, or if you have any other questions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud
composer install not working
Asked by Klein-Hans Escuton:

![Capture12.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/137886iD292CD2F86C00826/image-size/large?v=v2&px=999 "Capture12.PNG")


Answers:
author: ktomk
body: Heja [@Klein-Hans Escuton](/t5/user/viewprofilepage/user-id/4337581) , welcome to the Atlassian Community.

The error message you posted can be boiled down to that the container you're running composer install in does not have the [PHP ZIP extension](https://www.php.net/manual/en/book.zip.php).

Installing it into a container is normally straight forward, however it depends a bit which container that is which I can not see from your report. If you add a bit more information, this may be easy to overcome.

One way to do this is to create a container with your PHP requirements and then use it within the pipeline. E.g. a Dockerfile and a build process in your git repository.

As an alternative especially within a CI pipeline, not every container must full-fill every requirement of the whole project. E.g. when executing unit-tests that don't touch those parts (phpoffice here), the \`ext-zip\` (this is the composer requirement for the PHP ZIP extension) is technically no required to let the build pass. A unit-test runner like Phpunit is just an example here, building a package artifact could be another not requiring ext-zip.

If there is no such requirement for that pipeline step, you can tell composer to install without these checks, see the **--ignore-platform** **-reqs** argument for the [**composer install** command](https://getcomposer.org/doc/03-cli.md#install-i).

Mind the gap though: Testing or packaging with a different PHP version can lead to unwanted side-effects and/or degradation of the build.

Feel free to share some more details like an excerpt from your bitbucket-pipelines.yml and your further questions.


Tags: bitbucket-pipelines

docker

laravel

php

server
Bitbucket Pipelines & approvals
Asked by Monica Gordillo:

I know that Bitbucket Pipelines has the ability to make a deployment manual (trigger: manual). Is there a way to send approval to another user before continuing with the deployment to production? Maybe there's a 3rd party pipe that can do this?


Answers:
author: Justin Thomas
body: [@Monica Gordillo](/t5/user/viewprofilepage/user-id/3759182) Currently Bitbucket Pipelines doesn't have the capability to request approvals for deployments within the product. Bitbucket Pipelines does have integration with Jira Service Management which allows you to request approvals. <https://bitbucket.org/blog/a-modern-approach-to-change-management-with-bitbucket-and-jira-service-desk>

comments: author: nareshit61
body: [@Justin Thomas](/t5/user/viewprofilepage/user-id/777223) [@Monica Gordillo](/t5/user/viewprofilepage/user-id/3759182) Will this code work for auto-approval?

```
build: &build
  step:
    name: Build
    script:
      - echo "Starting build..."
      #- <your build logic>
    after-script:
      - ALERT_TYPE="success"
      - if [[ $BITBUCKET_EXIT_CODE -ne 0 ]]; then ALERT_TYPE="error" ; fi
      - pipe: atlassian/email-notify:0.3.12
        variables:
          USERNAME: 'myemail@example.com'
          PASSWORD: $PASSWORD
          FROM: 'myemail@example.com'
          TO: 'example1@example.com, example2@example.com'
          HOST: 'smtp.gmail.com'
          SUBJECT: '${ALERT_TYPE}:Bitbucket Pipe Notification for ${BITBUCKET_BRANCH}'
```


author: marc -Collabello--Phase Locked-
body: [@Monica Gordillo](/t5/user/viewprofilepage/user-id/3759182)

When you use a manual trigger (see e.g. <https://bitbucket.org/blog/pipelines-manual-steps-confidence-deployment-pipeline> ), you can send an email from e.g. a bash script or through a webhook.

comments: author: Monica Gordillo
body: Sounds like no option exists within Bitbucket Pipelines itself?

Unfortunately, the manual trigger cannot be the only/first step in the pipeline.


author: Aurimas Navardauskas
body: I'd love to be able to configure approvals to move on to deployment to prod stage in the pipeline.


Tags: bitbucket-cloud

cloud
is it possible to dynamically create parallel steps based on artifact of previous step?
Asked by Eytan Yammer:

We have a monorepo and need to be able to build multiple containers in parallel. However, how many we need to build will change each time to pipeline is run. so I have the following logic:

generate list of containers to build --\> generate parallel steps --\> run the parallel steps

pseudo-code

```
pipelines:  default:      
  - step:          
    script:          
      - generate list of changed services          
    artifact:          
      - the list      
  - step:        
    script: create parallel steps    
  - parallel:        \
    - step: build container #1        
    - step: build container #2
```

is this possible in bitbucket pipelines?


Answers:
author: Justin Thomas
body: [@Eytan Yammer](/t5/user/viewprofilepage/user-id/4340618) Currently Bitbucket Pipelines doesn't support dynamic parallel steps. Are the max containers a constant? If that is the case, I would suggest having a step for all the containers and skipping them if it's not required to build the container based on the artifact.

comments: author: Eytan Yammer
body: Thanks. For the time being the number of container won't be changing every day but it will be growing steadily over the next several months.

What I've decided to do was the following.

pipelines: default:

- parallel:

- step:

name: Build container1

condition:

changesets:

includePaths:

- path/to/container1/code/\*\*

- step:

name: Build container2

condition:

changesets:

includePaths:

- path/to/container2/code/\*\*

this will have to do for the time being. Thanks for the help.


author: Rob Bradshaw
body: [@Eytan Yammer](/t5/user/viewprofilepage/user-id/4340618) apologies, very old post. Does this work to dynamically skip/run steps based on files that were written to path/to/container/code/\*\* during build step(s) or files were already in those paths when commited to your branch?

I ask because the way I understand, bb changesets only work against the original repo cloned code, when pipeline first ran, and not against any files added during the build step.

We have reason to skip steps via changesets in case when files were not changed in specific apps within our disparate mono repo app /dist/ folders


author: Bill Lazar
body: This was answered two years ago. Is there any change in Pipelines since to support this? We have a growing number of tests and manually managing splits to keep PR build times reasonable is unwieldy, to say the least.


Tags: bitbucket-pipelines

cloud
Is there a complete bitbucket pipeline script reference anywhere?
Asked by heister82:

I'd like to know all available commands, variables, etc that I can use on a pipeline, I can't find it anywhere, only pieces here and there but not a complete reference.


Answers:
author: Oleksandr Kyrdan
body: Hi [@heister82](/t5/user/viewprofilepage/user-id/1686127) ,

Thank you for your question!

There is the [Configure bitbucket-pipelines.yml page](https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/) with all needed info and links.  

There are two ways to configure your pipeline: you can either directly write the YAML file or you can use the UI wizard provided by Bitbucket. The [Get started with Bitbucket Pipelines guide](https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/) will guide you through the Pipelines configuration wizard.  

With the Pipelines configuration wizard you could choose ready to use Pipelines template:

1. In Bitbucket, go to your repository and select **Pipelines**.

2. Click **Create your first pipeline**to scroll down to the template section.

3. Choose one of the available templates. If you aren't sure, you can use the one **RECOMMENDED**.

> Templates cover a variety of use cases and technologies such as apps, microservices, mobile IaaC, and serverless development. We support major cloud providers such as AWS, Azure, and GCP. We support the top-used languages such as NodeJS, PHP, Java, Python, and .NET Core; however, based on the language configured in your Bitbucket repository, the template list automatically recommends templates in that language.

Also, an example of the ready to use [starter template](https://bitbucket.org/bitbucketpipelines/template-starter-pipeline/src/master/bitbucket-pipelines.yml) and many more [Configuration Templates](https://bitbucket.org/bitbucketpipelines/workspace/projects/CT).  

Cheers,  
Oleksandr Kyrdan

comments: author: heister82
body: I have seen these, but as I said, they aren't complete, they have a lot of examples but not a complete reference of available "commands".  

I'd like a complete list of what I can do use and not specific examples on how to achieve X or Y (which currently, aren't being enough for my needs and since I don't know what there is out there... I don't know where to begin...)


author: ktomk
body: If you prefer a more formal expression of the bitbucket-pipelines file-schema without any concrete example and some sparse commenting descriptions only, you might be interested in the JSON Schema as linked on [schemastore.org](https://www.schemastore.org/json/): [bitbucket-pipelines](https://bitbucket.org/atlassianlabs/atlascode/raw/main/resources/schemas/pipelines-schema.json "pipelines-schema.json") .

However I must admit I'm not entirely sure it helps you validate your expectations well, it's fine for validating bitbucket-pipelines.yml files thought and can assist you with auto-completion in your IDE, which might be beneficial for your exploration.


Tags: bitbucket-pipelines

cloud
Why is my sftp pipeline deployment not working?
Asked by Jackson Zettler:

I'm trying to use an sftp pipe to deploy my code to a remote server. My yaml file is not giving me any errors and the build works all the way until the end and even says it was successful but there is an error in the debug logs stating that the remote directory doesn't exist, but it definitely exists and none of the files get sftp'd to the remote directory.

yaml file snip:

pull-requests:  
feature/\*:  
- step:  
name: "Deploy to Development"  
deployment: dev  
script:  
- pipe: atlassian/sftp-deploy:0.5.7  
variables:  
USER: $SFTP-USER  
PASSWORD: $SFTP-PASSWORD  
SERVER: $SFTP-SERVER  
REMOTE_PATH: "/jackson/erp/"  
LOCAL_PATH: "build"  
DEBUG: "true"

Build debug details:

![Screenshot 2021-04-08 111746.png](https://community.atlassian.com/t5/image/serverpage/image-id/137970iC2561C336670AA53/image-size/large?v=v2&px=999 "Screenshot 2021-04-08 111746.png")

Logging into the remote server and displaying the directory existing:

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


Answers:
author: Jackson Zettler
body: It looks like it wasn't the remote directory at all, it was the local one. For some reason all the examples say to just use "build" as your local directory but apparently that doesn't exist by default. I had to change it to use "." and now it's "working" ... it's moving files so slowly it will not be a viable solution if I can't figure out how to speed it up, but that's a different post I guess :)


Tags: bitbucket-cloud

cloud
Use a different Node version in npm-publish pipe
Asked by danbrellis:

I am using [npm-publish pipe](https://bitbucket.org/atlassian/npm-publish) in my project's pipeline. The problem is that my project's prepublishOnly script requires Node v14 while the npm-publish pipe uses Node v10 (see [https://bitbucket.org/atlassian/npm-publish/src/master/Dockerfile).](https://bitbucket.org/atlassian/npm-publish/src/master/Dockerfile).?)

Does anyone know how I can use Node v14 in the npm-publish pipeline?

My bitbucket-pipelines.yml:

```
image: node:14.15.1

pipelines:
  tags:
    'v*':
      - step:
          name: Build and Publish
          deployment: production
          script:
            - npm config set unsafe-perm true
            - npm install webpack@5.4.0 webpack-cli@4.6.0 -g
            - npm install
            - pipe: atlassian/npm-publish:0.3.2
              variables:
                NPM_TOKEN: $NPM_TOKEN
                EXTRA_ARGS: "--dry-run --unsafe-perm"
```

Relevant error in my pipeline log:

```
Status: Downloaded newer image for bitbucketpipelines/npm-publish:0.3.2
INFO: Starting pipe execution...
INFO: Registry URL: https://registry.npmjs.org/INFO: Setting npm auth configuration...
INFO: Publishing package...npm publish . --dry-run --unsafe-perm

> chesapeake-progress-charts@1.1.1 prepublishOnly .
> NODE_ENV=production webpack --config=./webpack.module-build.config.js

[webpack-cli] Failed to load '/opt/atlassian/pipelines/agent/build/webpack.module-build.config.js' config
[webpack-cli] Error: Missing binding /opt/atlassian/pipelines/agent/build/node_modules/node-sass/vendor/linux_musl-x64-64/binding.node
Node Sass could not find a binding for your current environment: Linux/musl 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Linux 64-bit with Node.js 14.x

This usually happens because your environment has changed since running `npm install`.?
```

package.json

```
"prepublishOnly": "NODE_ENV=production webpack --config=webpack.module-build.config.js"
```


Answers:
author: ktomk
body: The npm publish pipe is basically a thin shell script wrapping the npm publish command.

As you're already building in the pipeline script, why not drop the pipe and run npm publish directly in your already fitting pipeline container?

Just an idea.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

node

npm