youngmon/atlassian-qna huggingface dataset:
Sorting cards from 1 to 20 in a column
Asked by Ilya Garmashev:

Hello!  
Help set up the sort button for cards from 1 to 20 in the column.  
Sorting does not work correctly when the number of cards is more than 10.  
Please see the attached screenshot, Shift column #1 - sorting by Title is configured

Thank you!!!![Trello sorting.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/179936iC59038E9906B5352/image-size/large?v=v2&px=999 "Trello sorting.jpg")


Answers:
author: Michael Pryor
body: You have to change the way you number the cards because the sort is "alphabetical" not "numerical".

If you number your cards "01", "02", "03" etc then you will get the output you expect but you'd need to include the leading zero.

comments: author: Ilya Garmashev
body: Everything worked out!  
Thanks!


author: Hannah Humbert - Simpla Workflows
body: Another option is to use a [custom numerical field](https://help.trello.com/article/1067-using-custom-fields) and sort your list based on that field (only available for paid workspaces though).

comments: author: Ilya Garmashev
body: Thanks for the reply.  
While using the free version and exploring the possibilities  
I think that in the near future we will switch to the paid version
Responder un correo desde Trello
Asked by Maril?:

Hola,

Creo muchas tarjetas en Trello desde Outlook. Me gustar?a saber si se pueden responder los correos desde Trello. Es decir, no tener que buscar el correo nuevamente en Outlook para contestarlo.

Gracias,

Maril?


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hola [@Maril?](/t5/user/viewprofilepage/user-id/4728267) ?

?Bienvenido a la Comunidad! Creo que un Power Up podr?a ayudar a proporcionar la funci?n que est? buscando. Recomendar?a mirar [SendBoard](https://www.sendboard.com/) aqu?.

Su art?culo de soporte sobre '[Enviar y recibir correos electr?nicos en Trello](https://help.sendboard.com/en/articles/3428756-sending-and-receiving-emails-in-trello)' tambi?n puede ser de su inter?s.

Espero que esto ayude, pero si tiene alguna otra pregunta, solo pregunte ?

Todo lo mejor,

laura


Tags: ms-outlook
Admin unable to delete workspace
Asked by Kim Reynolds:

I have 3 workspaces set up and want to delete one of them but when I go to settings the delete workspace button is greyed out. I am the admin and only user of the workspace


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Kim Reynolds](/t5/user/viewprofilepage/user-id/4728198) ?

Welcome to the Community! Hmm that's strange, are you able to login in an incognito or private window and try again?

I would recommend raising a ticket directly with Trello Support here - <https://trello.com/en-GB/contact> - this way the team can take a look at the backend for you and try to identify the problem.

I hope this helps but if you have any other questions just ask away ?

All the best,

Laura


Tags: workspace
How to add data to a card and use it to create charts.
Asked by Maz Blake:

Hi All, new to this group - well registered ages ago, but this is the first time I would like help.

I want to set up a Trello board for a hobby (I have an aquarium) to record daily data - water temperature, pH, etc.

I then want to convert this data on an ongoing daily basis into a chart so I view how the data changes over time.

Any suggestions how I can do this? I am happy to combine power-ups and automations to make it work.

Thanks in advance


Answers:
author: Hannah Humbert - Simpla Workflows
body: Hi [@Maz Blake](/t5/user/viewprofilepage/user-id/4665504) ! I'd suggest using custom fields to track the necessary data, and then using a 3rd party reporting tool to create reports based on that data. There is a native Dashboards feature in Trello, but it's reasonably new and just does basic reporting so you'll most likely need a paid solution. A couple of ideas for 3rd party tools:  

1. Use one of the reporting power-ups listed [here](https://trello.com/power-ups/category/analytics-reporting) (Blue Cat Reports is a good one)  
2. Sync your cards + custom field data into GSheets using a tool like [Unito](https://unito.io/integrations/google-sheets-trello/) and then use that data to create reports.  

Hope that helps!

comments: author: Maz Blake
body: Thanks


Tags: data

graph
??? ??? ?????? ?????? ? ?????? ??????? ? ????????? ???????? ? ????? ?????????
Asked by ????? ????????:

? ???? ??????????? ????????? ???????? : 1) ??????? ?????? ??????, ?? ???????? ?? ??????? ?????? ????? ??????? ???????? ????????, ???-????? ? ????????  
?????? ????? ?????????? ???????? ? ????? ??????? ? ??????  
?? ??? ??? ??? ???? ??????? ?????? ???????? ???????? ? ?????? ??? ???????? ???????? ?? ??????? ???????


Answers:
author: Vero Rivas
body: Hi [@????? ????????](/t5/user/viewprofilepage/user-id/4727977)

Look at this addon, maybe can help you

<https://help.trello.com/article/1198-an-intro-to-butler>

<https://help.trello.com/article/1318-creating-and-managing-butler-commands>

Cheers
How to automatically add Today date when a card is moved to Done List?
Asked by kejwanteam:

I have a kanban board and I want to add a date automatically when I move a card to the Done list.


Answers:
author: Hannah Humbert - Simpla Workflows
body: Hi [@kejwanteam](/t5/user/viewprofilepage/user-id/4270083) ! Where would you like the date to be displayed (i.e. due date field, custom date field, description, title). All of that is possible with Butler automation. I'd suggest creating a custom date field called "Completion Date" and then create a command that says something like:  

![set date automation.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/180078i538AADD6587D4121/image-size/large?v=v2&px=999 "set date automation.PNG")


author: Pramodh M
body: Hi [@kejwanteam](/t5/user/viewprofilepage/user-id/4270083)

**With Workflow Post Functions!!**

Add a Text Field to Project

Add the Post function to transition of Done Status in Workflow as shown below

Choose the **Update Issue Custom Field ( Post Function )**

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

Let me know if you have any queries

Thanks,  
Pramodh


Tags: date

rule
Is anyone having trouble downloading pdf's from attachments in Trello cards?
Asked by Yin Lau:

I've recently tried to download pdf's from my attachments in Trello and for some reason it won't allow me to anymore. Can anyone help explain why? Am I missing something? Has something changed? Any help would be greatly appreciated.


Answers:
author: Alex W
body: We've made changes to PDF previews for security purposes. For the time being, if you'd like to print or download the PDF attachment, you'll want to click +Open in new tab+ at the bottom of the preview window, which will open the PDF preview in your browser. From there, you should be able to see print and download buttons.

Our team's already working on how we can resolve this in a better way, so hopefully this is only a very temporary state of affairs!
Lookup every card which matches a word in the description of a trigger card.
Asked by Vasquez:

Hey, I'm working with Butler automation on Trello and am wondering if something like this is possible to make:

Say I have 2 lists, one of employees, and the other of company events. If I create a card in the company events list and set the description to be something along the lines of "John, Jack, Jean" would it then be possible to associate each name I just listed to the three corresponding cards in the employees list?

I'm able to do something similar to this, but instead of indexing every word in the description of the trigger card, it only looks for cards that match the entirety of it; so in this instance it would look for a card titled "John, Jack, Jean" rather than "John" "Jack" and "Jean" individually.


Answers:
author: Nathan Smith
body: Hi [@Vasquez](/t5/user/viewprofilepage/user-id/4727801)

Nathan here from Trello Support!

Currently, Butler doesn't support conditional statements which is what you'd need to set this up under one rule.

I'd recommend setting up a different rule for each name you'd add in the description using the "When the description of a card contains..." trigger, this way you should be able to get the same functionality.

You can find this trigger under the Card Content tab, in the top trigger in this tab you'll just need to click on "the name" and change it to "the description", and then click on "starts with" and change it to "contains".
Do I need Root Access to setup an atlassian/trigger-pipeline?
Asked by Christopher Hahn:

My first attempt is using two repos **created under my Personal Workspace.**

There is driving-repo and target-repo.

The driving-repo pipeline looks like this:

```
? script:
    - echo Running the trigger
    - pipe: atlassian/trigger-pipeline:4.2.1
      variables:
        BITBUCKET_USERNAME: 'myusername' 
        BITBUCKET_APP_PASSWORD: 'llllllllllllllllllll'
        REPOSITORY: 'target-repo' 
        PIPELINE_VARIABLES: > 
                  [{
                    "key": "VERSION",
                    "value": "999.999.999"
                   },
                   {
                    "key": "SERVICE", 
                    "value": "specific-service-name", 
                   }]
        WAIT: 'true' 
        CUSTOM_PIPELINE_NAME: 'update-pipeline.yml' 
        DEBUG: 'true'
```

(it just attempts to invoke the target-repo and pass it vars)

The target-repo has the custom pipeline file "update-pipeline.yml":

```
pipelines: 
  default: 
    - step: 
        name: Test the trigger 
        script: 
          - git status
          - echo $SERVICE
          - echo $VERSION
```

But it complains about some other file name:

    ? Error: {"error": {"message": "Bad request", "detail": "bitbucket-pipelines.yml not found.", "data": {"key": "result-service.pipeline.yml-not-found", "arguments": {}}}}Build teardown<1s

Well, this Q sucks....but any pointers will be appreciated!


Answers:
author: Christopher Hahn
body: It is confirmed.

I can add that that error came from the CUSTOM_PIPELINE_NAME setting.


author: Christopher Hahn
body: Well, I simplified the driver project down to just the target repo name and credentials and it worked fine:

? Build started successfully. Build number: 5.

So that is that. I must have an issue with my passed parameters....


Tags: bitbucket-cloud

cloud
How to use one Deployment Environment for multiple steps?
Asked by Joshua Nordstrom:

So, am deploying an application to S3 and Invalidating a cloudfront cache in my pipeline. I have the deployment to s3 and cloudfront invalidation in separate steps. both steps are vital parts of the deployment process and I would like them to be included in one Deployment with bitbucket. But, it looks like I can only specify one deployment per step.

Should I combine both S3 deployment and Cloudfront invalidation into one step?

Current bitbucket-pipelines.yml:

![Screenshot 2020-10-29 115522.png](https://community.atlassian.com/t5/image/serverpage/image-id/116335iD1137568B7B9B3E5/image-size/large?v=v2&px=999 "Screenshot 2020-10-29 115522.png")


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

At the moment, I'm afraid that it is not possible to use a deployment environment in multiple steps.

If you need both of them to be part of the same deployment, then combining them in a single step would be the way to go here.

We have a feature request for what you are asking in our issue tracker:

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

I would suggest adding your vote there (by selecting the \*Vote for this issue\* link), as the number of votes helps the development team and product managers better understand the demand for new features. You can also add yourself as a watcher (by selecting the \*Start watching this issue\* link) if you'd like to get notified via email on updates. When there is an update, it will be posted in this public ticket.

Please note though that we don't provide ETAs and implementation of new features is done as per our policy here: <https://confluence.atlassian.com/cloud/new-features-744721668.html>.

Please feel free to let me know if you have any other questions.

Kind regards,  
Theodora

comments: author: Joshua Nordstrom
body: Thank you! I will upvote this feature request.


Tags: bitbucket-pipelines
What does Bitbucket consider a "build" for merge checks?
Asked by Max DeCurtins:

What does Bitbucket count as a "build" when doing a merge check for "# of passed builds" on pull requests?

We have Bamboo build plans tied to various branches of our repositories, which are kicked off when new commits are pushed to those branches. The Bamboo build plan is responsible for building Docker images, etc. These builds show up in Bitbucket.

I would like to create a Bitbucket Pipeline that runs some code linting when a pull request is created or updated. If the linting fails, I want to block the PR from being merged, *even if a Bamboo build succeeded*. Does a successful run of a pipeline count as a "build"?

How do I get the PR to block merging if the linting script exits with a non-zero status code? Can I make Bitbucket distinguish between a Bamboo build and a Pipeline run?


Answers:
author: seanaty
body: \> Does a successful run of a pipeline count as a "build"?

Yes. Ultimately these tools use [Bitbucket's commit status API](https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build) to set a status for a commit (pending, successful, failed) and these appear throughout bitbucket wherever commits appear.  

If you have \> 1 build you would want to configure the '# of builds passed' to be the number of expected builds. Say 1 for linting with Pipelines and 1 for the Bamboo build.

\> Can I make Bitbucket distinguish between a Bamboo build and a Pipeline run?

Not in terms of satisfying merge checks, however these tools set the name and URL of the commit status which could be used to determine what it is.

comments: author: Max DeCurtins
body: So, just to confirm, there is no way to ensure that a failed Pipeline, specifically, would block a PR from being able to be merged? Someone could just re-run the Bamboo build and that would bump the "# of builds passed" +1 and then they could merge the PR anyway?

It sounds like there is nothing I need to do specifically with the Bitbucket exit code of the pipeline, e.g.

```
image: node:12.18.3

pipelines:
  pull-requests:
    '**':
      - step:
        name: Build and Lint
        script:
          - npm install
          - npm run lint
```

If either of the npm scripts fail, the pipeline fails and is counted as a failing "build"?


Tags: bamboo

bitbucket-cloud

bitbucket-pipelines

cloud

merge
Issue seen sometimes single create pull request from 'Bitbucket shows multiple branches
Asked by Priyanka P S:

Why sometimes seeing Create pull request from single branch shows mutiple branches?

What could be the reason?

"How can we track that and restore to single branch we require?

Please provide suggestion . Thanks


Answers:
author: Theodora Boudale
body: Hi Priyanka,

When you create a pull request, you can see a dropdown with available branches for both source and destination branch, however only one branch can be selected for each.

I am a bit unsure where you see multiple branches.

Could you perhaps attach here a screenshot that demonstrates this issue?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Change the widgh of column in Pull request menu
Asked by Sven Rau:

Hello,

Is it possible to change the widgh of column in Pull request menu. Because our repositorysnames are to long for the column.

![bit.PNG](/t5/image/serverpage/image-id/116222i4D8F15497B944919/image-size/large?v=v2&px=999 "bit.PNG")


Answers:
author: Ana Retamal
body: Hi Sven, thanks for reaching out :)

Currently, it's not possible to modify the width or appearance of the menus. I've swept through our portal and I couldn't find any request for such feature, so maybe you'd be interested in submitting it yourself. You can do so via [this portal](https://jira.atlassian.com/browse/BCLOUD-17237?filter=98686).

After you submit it, it could be a good idea to share the link here so other people interested in the same feature can find it easily and vote for it.

Hope that helps!

Ana

comments: author: Ed Cook
body: Has a request to change column width been made? I would like it also and would comment on the ticket if someone can share the ticket number


Tags: bitbucket-cloud

cloud
Pipelines ASP.NET error he reference assemblies for .NETFramework,Version=v4.8 were not found.
Asked by Dolenc Dolenc:

I try to make Pipelines for my project, I have this yml code:  

```
image: microsoft/dotnet
pipelines:
default:
- step:
caches:
- dotnetcore
script: # Modify the commands below to build your repository.
- export PROJECT_NAME=myprojectName.sln
- export TEST_NAME=BildSolution
- dotnet restore $PROJECT_NAME
- dotnet build $PROJECT_NAME
- dotnet test $TEST_NAME
```

But I get this error error:

```
/usr/share/dotnet/sdk/2.1.811/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/opt/atlassian/pipelines/agent/build/DataAcess/DataAcess.csproj]
/usr/share/dotnet/sdk/2.1.811/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/opt/atlassian/pipelines/agent/build/Common/Common.csproj]
/usr/share/dotnet/sdk/2.1.811/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/opt/atlassian/pipelines/agent/build/WebPortal.Tests/WebPortal.Tests.csproj]
/usr/share/dotnet/sdk/2.1.811/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/opt/atlassian/pipelines/agent/build/DataSet/DataSet.csproj]
/opt/atlassian/pipelines/agent/build/WebPortal/WebPortal.csproj(1223,3): error MSB4019: The imported project "/usr/share/dotnet/sdk/2.1.811/Microsoft/VisualStudio/v16.0/WebApplications/Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
```

what can I do?


Answers:
author: Dolenc Dolenc
body: Any help?


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Why can't I use an environment more then once in my pipeline
Asked by Mattijs Spierings:

So I am trying to separate my AWS CDK build and deploy in 2 steps, so that I can rerun one of the steps if necessary:

```
pipelines:
  branches:
    master:
      - step:
          <<: *build
          deployment: development
          name: Build for development
      - step:
          <<: *deploy
          deployment: development
          name: Deploy to development
```

So the Build step required the deployment variable because it used in AWS CDK code.

And the deploy also needs it to get the right AWS_ACCESS_KEYs .

Bitbucket doesnt allow me to use this variable deployment twice.

How do I resolve this issue?

My current solution is the have build \& deploy in one step.


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

Apart from having both build and deploy in the one step, you could also:

* Configure the deployment variables as repository or workspace variables instead. This way, they'll be available to all steps.
* You could also create two deployment environments and define the same variables in both of them.

We have a feature request for what you are asking in our issue tracker:

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

I would suggest adding your vote there (by selecting the **Vote for this issue** link), as the number of votes helps the development team and product managers better understand the demand for new features. You can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates. When there is an update, it will be posted in this public ticket.

Please note though that we don't provide ETAs and implementation of new features is done as per our policy here: <https://confluence.atlassian.com/cloud/new-features-744721668.html>.

Please feel free to let me know if you have any other questions.

Kind regards,  
Theodora

comments: author: Mattijs Spierings
body: Hi,

the \`deployment\` variable can't be a repo variable because it has different meanings for each deployment: DEV \| STAGING \| PROD.

The build step needs to know what env it is building for, and the deployment to AWS also needs to know to get the correct secret key.

Yes, 2 deployment variables with a slight different name could work until there is a better fix.

Thanks


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
What is the API URL for bitbucket servers with alternate basenames?
Asked by wspear:

I need to do some simple API queries on a few open source projects. This is quite straightforward for projects hosted at bitbucket.org, with the API for a given project looking like: [https://api.bitbucket.org/2.0/repositories/\<REPO\>/\<PROJECT]()\>

But I need to access the API for a project with a custom/business base url like: <https://bitbucket.hdfgroup.org/projects/HDFFV/repos/hdf5>

I haven't been able to find any documentation on this and my various permutations on api as part of the basename (or adding it to the path) haven't turned up anything either. I assume/hope the API is still available for repos with this configuration, but I would very much appreciate some direction.


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

[https://api.bitbucket.org/2.0/repositories/\<REPO\>/\<PROJECT](https://api.bitbucket.org/2.0/repositories/<REPO>/<PROJECT)\> can be used for Bitbucket Cloud repos, hosted on <https://bitbucket.org/>.

An instance with a URL like <https://bitbucket.hdfgroup.org/> is a Bitbucket Server instance (self-hosted) and the API is different.

The following documentation has a list of REST resources for Bitbucket Server (version 7.7.0):

* <https://docs.atlassian.com/bitbucket-server/rest/7.7.0/bitbucket-rest.html>

Kind regards,  
Theodora

comments: author: wspear
body: Thanks! That did the trick. If anyone else finds this thread the solution for the repo in question looks like:

```
https://<BASE>/rest/api/1.0/projects/<REPO>/repos/<PROJECT>
```

But the REST documentation makes it pretty clear what's worth trying if a repo's API URL doesn't exactly conform to that pattern.


Tags: api

bitbucket-server
How to fetch the best common ancestor of the Pull Request with the Rest API ?
Asked by Jgafner:

Hi  
I need to make a rest call to our server and to get the commit hash of the best common ancestor, same as running 'git merge-base pr-last-commit target-last-commit'  

I know how to get the all commits and check if those are merge commits but how can I know if the merge is from the target or from another branch ?   

I don't/can't to rely on the commit message.   

Thanks   


Answers:
author: Jgafner
body: Still did not find a good way to do that


Tags: api

bitbucket-server

merge

rest

server