youngmon/atlassian-qna huggingface dataset:
Order list by change date( date of the last comment card)
Asked by Willian Tessaro:

I would like to sort the lists by change date, but today there are only 3 options like image below , does anyone know a power-up that organize lists by date of last comment (or last change![trello sort by change date.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/183227iC17B6669D5B67F95/image-size/large?v=v2&px=999 "trello sort by change date.jpg")


Answers:
author: Clark Everson
body: Hi William,

I would advise against this even if there is a power-up. The reason is that in all Atlassian systems there is no such data as last comment date. The date would be last updated date. This date is changed whenever any changes are made to a card, whether by a user or an automation etc.

So while the data can be somewhat useful it will never be specific enough (trello or jira) to show what a user is looking for as comment dates are tied to update dates.

Sorry if this doesn't exactly help but its a tricky subject for Trello and Jira

My company has been struggling with it too, but in our support cases with Atlassian we were told it was a limit

Best,

Clark


Tags: sort
Member management
Asked by Madeline Mazzocchi:

We have 466 members with access to a board - I want to delete all members except 5? no way can I hit every member and then remove??

Any quick way of doing this? also if I remove will the user get an email

thanks !


Answers:
author: Michael Pryor
body: Have you considered just making a new board and closing the existing one?

I don't know of any way to do bulk removals inside Trello, but this might help:

<https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271>

comments: author: Madeline Mazzocchi
body: thanks - I do need all the cards that are in the current board - so I guess I can figure how to copy the entire board and add the 5 people I want? Assuming a copy doesn't copy all the members over!
Add automatically member to a card
Asked by Yair Weinberger:

Hi guys,

I want to create an automation rule that auto add as a member the current user that create the card, any idea how to do that?

Thanks.


Answers:
author: milynnus
body: [@Yair Weinberger](/t5/user/viewprofilepage/user-id/1984687)

Use @{username}

See also

<https://help.trello.com/article/1157-variables>
Can Butler select a random card, with a specific label on it?
Asked by Tom S_O_A_P_:

Hi there.

I currently have hundreds of cards with the yellow label on them and i'd love to press a Button so Butler randomly selects one of these for me to look at. Is this possible?

I know it can randomly select any card, but i'd like it to randomly select one with a certain label on there.

Thanks in advance.

Tom


Answers:
author: milynnus
body: [@Tom S_O_A_P_](/t5/user/viewprofilepage/user-id/4756077)

You can use http request to select from a random list of cards. You can use a report variable to generate the list of cards (pattern will be {cardlinks}). The http request endpoint will use a random number generator to send back the random card. The use of the report variable gives you more flexibility in the solution rather than coding the select criteria into the endpoint program.

comments: author: milynnus
body: [@Tom S_O_A_P_](/t5/user/viewprofilepage/user-id/4756077)

Something like this (I used cardname to make it more readable):

![Screen Shot 2022-02-13 at 12.58.37 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/183136iBC7F50F373B12621/image-size/large?v=v2&px=999 "Screen Shot 2022-02-13 at 12.58.37 PM.jpg")


author: Tom S_O_A_P_
body: Thanks [@milynnus](/t5/user/viewprofilepage/user-id/3947182)

Unfortuantely i wouldn't have a clue how to do that, i'm afraid.

Coding or stuff like that isn't my cuppa tea :-/


Tags: butler

label
From the home Your items view, to why not a board members items views ?
Asked by Eric.Corairie:

Hello,

Instead of switching from boards to Home in order to get the items list assigned to me  
would it be possible to add this item view selection to the filter menu of each Board ?  
by this way it could be also be possible to select Items view, and a board member, this would filter the cards containing items on going to the selected member  
Ours, but also the ones assigned to others. This would help when we check actions pending  
And for ourselves this would prevent to have to move from home view to the Boards  
Buttler doesn't allow to create a button providing this functionality


Answers:
author: Nathan Smith
body: Hi [@Eric.Corairie](/t5/user/viewprofilepage/user-id/4756066)

Nathan here from Trello Support, I hope you're doing okay?

This should be possible with the Table view that's available in our Premium plan, it allows you to see all the cards on a board in a table rather than in their individual lists and you can then filter to see all the cards assigned to you or any other member of your team.

Here's a link where you can find out more about our table view - <https://help.trello.com/article/1235-workspace-table-view>

comments: author: Eric.Corairie
body: Hi [@Nathan Smith](/t5/user/viewprofilepage/user-id/4510456)

Thanks for your reply. Reading it I understand I have not been clear about what I fingerpoint

To precise, I'm speaking about the Checklist-items. When they are assigned to someone

It would be simple and really useful if we could select this search in the Filter board button.

Today we need to switch to our individual Trello Home view, in order to get the view summarizing the Checklist-items assigned to each. And there is no way for a team, to make a Checklist-items review all together

Hoping this is clearer


author: Nathan Smith
body: Hey [@Eric.Corairie](/t5/user/viewprofilepage/user-id/4756066)   

Thanks for confirming that!

While it's not possible to do this at the moment, I've passed your interest in this onto our team for consideration - feel free to let me know if there's any other details you'd like me to send their way!
Webhook Validation Problem
Asked by Hesam Jaferi:

Hi,

I need to create a hook for actions of a Trello card.

I receive this from Trello API:

{"message":"URL (<https://api.cablo.io/cablo/AE398EBEA1874EE89A3995820A1046EA/execute>) not reachable. Error: tunneling socket could not be established, statusCode=503","error":"ERROR"}

I got custom tests on this URL and it respond 200 for HEAD requests.


Answers:
author: Vishaal S
body: Hello Hesam,

You can find information about setting up webhooks to use with our API here: <https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-post>.

In general, if you have questions about using our API, I'd recommend asking these in our developer forum here: <https://community.developer.atlassian.com/t/welcome-to-the-new-trello-developer-forum/30430.> This is where our API experts and Trello developers are based to help you with questions as they come up.


Tags: rest-api
Rule Timeout warning
Asked by 5VISION Projektmanagement:

Hello,

I want a rule that will comment on a card if a card has been in a list for too long (e.g. 7 Days).

How can i do that?

best regards


Answers:
author: milynnus
body: [@5VISION Projektmanagement](/t5/user/viewprofilepage/user-id/4639181)

In the calendar automation you can "move all the cards more than x days in list" to another list. You can use that as a way to trigger the action you need and return the cards to their previous list.

comments: author: 5VISION Projektmanagement
body: Hmm did not work:

```
1 hours after a card in list "example" is due, post comment "test"
```


author: milynnus
body: [@5VISION Projektmanagement](/t5/user/viewprofilepage/user-id/4639181)

It is an action under List in Calendar So you pick a trigger like every day at 8pm. , then move the cards out to a trigger list. Have a rule to watch for cards moving into that list, add a comment action and move the card back to its previous list.


Tags: butler
Attachments - mandatory field
Asked by Valeh Nabiyev:

We use Trello cards for internal process among several teams and companies. Us there any possibility to make attachment field as mandatory or create rule like: if attachment not exist not move card to another board or if card without attachment move to another board notify person who created card about attachment absence.


Answers:
author: Robin Warren _Blue Cat Reports_
body: Hi [@Valeh Nabiyev](/t5/user/viewprofilepage/user-id/4755444)

You could do this with a Trello Form using this Power-Up <https://trello.com/power-ups/6139de588901011c01baf52f/forms-by-blue-cat>

You can use that to create a form which creates cards on your boards, you can also set certain fields (and the attachments) as mandatory.

Hope that helps :)

Robin


author: Alex W
body: Hi [@Valeh Nabiyev](/t5/user/viewprofilepage/user-id/4755444) - as Trello is a very flexible app we don't have the ability to make fields such as Attachments mandatory on cards. I'm also not aware of any automation that interacts with the number of attachments on a card.


Tags: attachment

notification

required-field
How do I hide a field (e.g. Location?) from being viewed (on all cards, it takes up visual space)
Asked by Esben Vognsen Jensen:

I like to see more, and hide non-used tags


Answers:
author: Alex W
body: Hi [@Esben Vognsen Jensen](/t5/user/viewprofilepage/user-id/4755808) - Trello doesn't have the ability to hide buttons on a card such as 'Location'.
Checklists
Asked by Chelsea Hickman:

Is there a powerup to see who checked a item off the checklist?


Answers:
author: Alex W
body: Hi [@Chelsea Hickman](/t5/user/viewprofilepage/user-id/4755562) - I'm not aware of any Power-Up that does this but the Activity section on the card shows this! Can you scroll down to Activity on your card, make sure you've selected 'Show details', and see if you can see in the Activity who selected which checklist item?
Why am I getting a CSRF error when creating a repository?
Asked by FrankDMartinez:

I tried creating a new repository in Chrome and received this error:
> CSRF verification failed. Request aborted.
>
> Please enable 'Referer' headers for this site and try again.

A web search turned up nothing useful for resolving this issue. As a result, Bitbucket is currently useless for new projects.

Can anyone point me in the direction of information on how to resolve this problem?


Answers:
author: Theodora Boudale
body: Hi Frank,

In most cases that I've seen this error reported, the culprit was some browser extension (possibly blocking some scripts in Bitbucket).

Can you try disabling any extensions you have in Chrome and then attempt the operation again? You can also try disabling them one by one and then attempt the repo creation, to figure out if and which one may be causing this.

Please feel free to let me know how it goes.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

csrf
no such file or directory when executing shell script through ssh-run pipe
Asked by Leonhard Brunner:

i setup a CD pipeline for one of my projects that first is using rsync to sync the code to the remote server and then executes a shell script on the remote server through the

```
atlassian/ssh-run:0.2.7
```

pipeline.

the shell script on the remote server, among other things, runs the following function:

```
#define function that will export env vars
function export_envs() {
local envFile=${1:-.env}
while IFS='=' read -r key temp || [ -n "$key" ]; do
local isComment='^[[:space:]]*#'
local isBlank='^[[:space:]]*$'
[[ $key =~ $isComment ]] && continue
[[ $key =~ $isBlank ]] && continue
value=$(eval echo "$temp")
eval export "$key='$value'";
done < $envFile
}
#run the command
export_envs
```

The thing now is that if the pipeline triggers this shell script, it fails because of this:

    /www/htdocs/w01b3634/test/deploy.sh: line 10: .env: No such file or directory

however, if I run the command by hand on the remote server, it does work.

the .env file on the remote server does exist of course...

Any clue what I'm doing wrong?


Answers:
author: Leonhard Brunner
body: found it. I had to specify the absolute url of the .env file in the function...


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
No workspace with identifier 'username'.
Asked by Nickolay Sachno:

Hi,

I'm trying to create a repository and I get this error:

" No workspace with identifier 'username'. "

I've created a workspace in the bitbucket but I still get this error.

Can someone please help me?


Answers:
author: windwakerthor
body: it is now 2023 and this error still persists despite many posts years prior saying that this feature was removed. if usernames have truly been removed and replaced with workspace id's then why does the software still ask for a username?  

how can this issue be solved?


author: Theodora Boudale
body: Hi [@Nickolay Sachno](/t5/user/viewprofilepage/user-id/4175582) and welcome to the community.

I've seen this issue reported for a few other workspaces as well and the issue required intervention from our dev team to get resolved. I therefore went ahead and created a support ticket for you, so that this can be escalated to the appropriate team. You can find the support ticket here:

* <https://getsupport.atlassian.com/servicedesk/customer/portal/11/BBS-152149>

An engineer from the support team will assist you with this issue.

I would just like to ask if you could please make a post in that ticket and mention the workspace ID that you are trying to create a repo for, so that we know which workspace to look into.

You can find the workspace ID if you:

1. Log in to <https://bitbucket.org/>
2. Go to your avatar (bottom left corner) \> All workspaces
3. Select the workspace you are trying to create a repo for
4. The workspace ID should be in the URL, after <https://bitbucket.org/>

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

Kind regards,  
Theodora


Tags: bitbucket-cloud
MIGRATE BITBUCKET FROM ONE ACCOUNT TO ANOTHER
Asked by MANUEL VARGAS ESTRADA:

Hi Guys

I created an Account on Bitbucket (Repository Code Purpose) then I created an Account on Jira with different Email Address, Now I need to migrate /Switch Bitbucket with JIRA but since we have differentes accounts is not Possible.

We are the same Company so we need to switch Bitbucket with Jira...How it is possible to swith Bitbucket and Jira with differents Accounts?

Thank you so much

Regards


Answers:
author: Theodora Boudale
body: Hi Manuel,

Both Bitbucket Cloud and JIRA Cloud use Atlassian accounts (the one for <https://id.atlassian.com/>) for authentication. If you use the same email for both products, you can then log in to both with the same credentials via the same Atlassian account and switch between the two products.

If you use a different email for each product, then there are two different Atlassian accounts and you can't be logged in to both at the same browser session.

The solution to that would be to use the same email address for both Bitbucket Cloud and JIRA. If you are ok with this, you will need assistance from the support team to achieve this.

You can open a support ticket via <https://support.atlassian.com/contact/#/>. In the field "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

You can copy-paste your question from here, but please also mention  
1. The email your use for JIRA  
2. The email you use for Bitbucket Cloud  
3. Which email you would like to use for both products moving forward

I can assist you as well, but I'll need to know the email info above as well. If you don't want to share it here for privacy reasons, you can open a support ticket the way I explained above.

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

Kind regards,  
Theodora

comments: author: MANUEL VARGAS ESTRADA
body: Dear Theodora...

Email:

* mavargas@mangueras.com.ni Jira
* sicdlm@mangueras.com.ni -Bitbucket
* Which email you would like to use for both products moving forward : mavargas@mangueras.com.ni

Regards


author: Theodora Boudale
body: Hi Manuel,

Thank you for your reply.

The community account that you used to post this question has an email different than the two ones you have provided me. For security reasons, we need the request to be coming from the email of the account owner.

I went ahead and opened a support ticket for you using your Bitbucket email and I also CC-ed your JIRA email.

The ticket can be found here:

* <https://getsupport.atlassian.com/servicedesk/customer/portal/11/BBS-152463>

If you can leave a reply in that ticket while you are logged in <https://support.atlassian.com/> with your Bitbucket email, so that we confirm you have ownership of this account, our support team will give you instructions on what needs to be done.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Please allow an INVALIDATE_CACHE variable
Asked by nikos_triantafyllou:

We can allow an INVALIDATE_CACHE repository variable to be set to 'yes' or 'no' to

```
- pipe: atlassian/aws-cloudfront-invalidate:0.4.1    variables:      AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID      AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY      AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION      DISTRIBUTION_ID: '123xyz'
```

manually change it from repo settings.

This would allow conditional execution efficiently in the package.

atlassian/aws-cli image doesn't have all the options from atlassian/default-image (e.g. ssh) so the only solution currently would be to manually install the aws-cli in our script and use it.


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

Do you mean add support INVALIDATE_CACHE in the aws-cloudfront-invalidate pipe?

It would be nice if you provide us with more details about your case.

Thank you!

comments: author: nikos_triantafyllou
body: [@Oleksandr Kyrdan](/t5/user/viewprofilepage/user-id/2885705)

My case is simple, I want to ssh into a server(currently using ssh-run which works ok) and then invalidating cloudfront cache.

For the aws-cloudfront-invalidate pipe maybe support a custom repository variable in python script to execute the pipe only when set.

It is very common to want to make a deployment without invalidating the cache, so tweeking this variable can be usefull.

Now the only reasonable way to do it is either create a step to use another image i.e. atlassian/aws-cli and run a script to check for the variable value and invalidate cache if set to yes.

Additionally, there is no atlassian image(maybe didn't find one) that has both ssh AND aws-cli without being too large.


Tags: aws

bitbucket-pipelines

cloud
Sonarcloud analysis in pipelines (java 8 + java 11)
Asked by Fred Puistaja:

Our project uses Gradle + Java 8. At the moment it's not possible to migrate over to Java 11.

SonarCloud needs Java 11.

Does anyone know how to setup Bitbucket pipelines where Java 8 is used for building our project and Java 11 is used for SonarCloud analysis?


Answers:
author: Theodora Boudale
body: Hi Fred,

For every step you define in your bitbucket-pipelines.yml file, a Docker container starts, the repo is cloned in that container and then the commands of the script are executed.

If you don't define an image for the Docker container, then the default one (atlassian/default-image:2) will be used.  
It is possible to define which Docker image you want to use either at the global level or at the step level (so each step can run on a different image).

What you can do is  
- create a step for your build, and for this step use a Docker image that has Java 8  
- create another step for SonarCloud analysis, and for this step use a Docker image that has Java 11

We support public and private Docker images including those hosted on Docker Hub, AWS, GCP, Azure and self-hosted registries accessible on the internet.

If you need in the SonarCloud analysis step any files that were generated during the build in the previous step, you can define them as artifacts so that these files will be available in the next step:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/>

If you don't need that and the second step is not dependant on the first one, you can also run these two steps as parallel ones.

If you have any questions and/or need more information about my suggestions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

gradle

java

sonarcloud
how to do backup and restore bitbucket cloud
Asked by akash kumar:

In altassian support i can only see backup and restore process for bitbucket server,

can some one help me , how to do backup for bitbucket cloud?


Answers:
author: Ana Retamal
body: Hi [@akash kumar](/t5/user/viewprofilepage/user-id/3965359), welcome to the Community!

Git is a Distributed Version Control System, which means you could always sync your repository to other locations to back it up, every copy of the repository works as a backup. Because of this, Bitbucket Cloud doesn't count with a backup option.

Then, for the restore, you can simply import your repositories as you would any other repo.

Hope that explains. If you have any other questions regarding this topic, please feel free to keep posting them so we can continue assisting you.

Best regards,

Ana


Tags: bitbucket-cloud

cloud
User d'ont reveice it's invitation
Asked by Sys Admin:

Hello,  

I am trying to invite a user and she is not receiving the invitation's email.  

It is an internal user so I checked on our Exchange mail flow server and we didn't receive any email for her.  

Could you please assit us?  

Thank you


Answers:
author: Ang?lica Luz
body: Hello [@Sys Admin](/t5/user/viewprofilepage/user-id/4175004),

Welcome to Atlassian Community!

Checking your domain on our tools, I found a bounce related to an email that I believe belongs to the user you mentioned:

```
550 5.1.10 RESOLVER.ADR.RecipientNotFound; Recipient cxxxxxe@txxxxxxxxd.com not found by SMTP address lookup
```

I removed this bounce and the notification should work now.

Please, invite the user again and let us know how it goes.

Regards,  
Ang?lica

comments: author: Sys Admin
body: Hello,  

Unfortunately, it does not work.  

Her first name is Sophie.  

I tried to send another invitation, she still not receive it.  

Thank you in advance for you answer.  

Regards,


author: Ang?lica Luz
body: Thank you for the information, [@Sys Admin](/t5/user/viewprofilepage/user-id/4175004).

I was able to find bounces for three different addresses with "Sophie" and I removed these bounces:

```
550: 550 5.4.1 ...@... Recipient address rejected: Access denied [BN3NAM01FT029.eop-nam01.prod.protection.outlook.com]

550: 550 5.4.1 ...@... Recipient address rejected: Access denied [BY2NAM01FT044.eop-nam01.prod.protection.outlook.com]

550: 550 5.4.1 Recipient address rejected: Access denied [SN1NAM01FT006.eop-nam01.prod.protection.outlook.com]
```

Please, invite her again and let us know if it works.


author: Sys Admin
body: It is working ! Thank you so much !


Tags: bitbucket-cloud

cloud