youngmon/atlassian-qna huggingface dataset:
How to use lookupAssets to return the accountId, email or name from a User field in Assets
Asked by Holly Schu:

I am using an assets lookup to a User field in order to return a user from Assets:

*{{#lookupAssets}}{{#first}}{{attributes."Assigned To"}}{{/}}{{/}}*

This is returning: *JIRAUSER74326*

I then try to access this from a script runner script and I get:

*com.adaptavist.hapi.platform.exceptions.InvalidUserNameException:*   
*No user exists with the username 'JIRAUSER74326'*

I have tried

*{{#lookupAssets}}{{#first}}{{attributes."Assigned To".name}}{{/}}{{/}}*

*{{#lookupAssets}}{{#first}}{{attributes."Assigned To".accountId}}{{/}}{{/}*}

these both return blank.

My ultimate goal is to set a custom user field in an issue from a user field in assets.

Thank you.


Answers:
author: Ram Kumar Aravindakshan _Adaptavist_
body: Hi [@Holly Schu](/t5/user/viewprofilepage/user-id/5482754)

Instead of using the Asset Lookup, I suggest using the Execute a ScriptRunner script option so you will have more control.

Below is a sample working code for your reference:-  

```
import com.adaptavist.hapi.jira.assets.Assets
import com.adaptavist.hapi.jira.users.Users

Assets.search("objectType = Staff").each { asset ->
    def username = asset.getString('Username') as String

    if (Users.getByName(username)) {
        log.warn "========>>> ${Users.getByName(username).name}"
    }
}
```

Please note that the sample working code above is not 100% exact to your environment. Hence, you must make the required modifications.

Below is a screenshot of the Automation configuration:-

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

With the approach above, I am searching for all the Users in the Assets called Staff.

From the result obtained in the IQL Query, I am checking their Usernames against the Users class to see if they exist.

If they exist, they will be printed out in the log.

You will need to modify it according to your requirements.

Thank you and Kind regards,  
Ram

comments: author: Holly Schu
body: Thank you. I will try it and get back to you.


Tags: assets

automation

data-center

jira-data-center

scriptrunner
Automated reports with request count
Asked by emmanuel_gue:

I'm building report with this

"every friday at 1:25 pm, create a report in variable "newsreport" with all cards with the purple "Priority" label in list "Petites annonces",

and create a new card with title "CR de la semaine #{weeknumber}" and description "Number of Cards **\[WHAT I'M looking for such as {newsreport.count}\]\\**n

{$newsreport}\\n" in list "Petites annonces" and add the purple "Priority " label


Answers:
author: Alina Kurishko
body: Hi Emmanuel,

Welcome to the Atlassian Community!

I'm afraid it isn't currently possible to pull up this type of data using Automation reports. However, I might be able to offer a great workaround ?

Have you considered using the Dashcards Power-Up? The Power-Up allows you to track any set of cards across your board(s). You can select the cards you want to track by a combination of filters (such as labels, for example).

You can find the Power-Up at <https://trello.com/power-ups/6048e897c73d032a983e2a7c/dashcards>.

This article also provides additional information on how the Power-Up works: <https://support.atlassian.com/trello/docs/trello-dashcards/>

Hope this helps!

Alina \| The Trello Team
Multiple deadlines
Asked by Mainpain Eddy:

Hello,

We use the deadlines on a card to put a start and end date for display on the calendar view.

On the other hand, if we want to add a reminder date to think about taking an action on a card, it is not possible to do so, except by modifying the deadlines.

Is there a solution to both keep a period for a card (for planning tracking) and put a reminder date?

Regards


Answers:
author: Dreamsuite Mike
body: You could use advanced checklists if you are paying for your Trello subscription:

<https://blog.trello.com/advanced-checklists>

comments: author: Mainpain Eddy
body: Thank you.
Multiboard card automation
Asked by RH:

Hi

I am running 2 boards.

When a card in Board 1 goes into list X it will duplicate and appear in Board 2 List X.

When the card in Board 2 is moved to list Y. The Card in Board 1 will automatically move into List Y

My for my question. If a Card in Board 2 is deleted/archived. I want a label or something to show up in the card in Board 1 to indicate that it has been deleted/archived in Board 2.


Answers:
author: Dreamsuite Mike
body: I'm guessing by your first part that you have linked the cards together.

If that is true, the second part is easy

```
When a card is archived, find the first card linked in attachments and add the label "Archived" to the card
```

comments: author: RH
body: Yes I do. I followed your tutorial about this!


author: Dreamsuite Mike
body: [@QC QC](/t5/user/viewprofilepage/user-id/5114070) Did my solution work for you?


author: RH
body: The team decided this was not necessary.

I do have a different issue now. and can not find out why this is happening.

When I create a Parent card and 2 Child card and childcard1 in Board 1 into list X it will duplicate and appear in Board 2 List X. (so far so good)

Than when the Childcard1 in Board 2 is moved to list Y. The ChildCard1 in Board 1 will automatically move into List Y.

But now the issue.

the childcard1 and the parent card are moving into list Y even thou not all check list are completed.

If I test this without having cards move/dup to another bord this all goes fine.


author: RH
body: Ok Update;

I figured out that;

When I open the childcard1 in board 2 and manually remove the link to the parent card.

all goes well.

![Screenshot 2023-09-21 at 13.28.17.png](https://community.atlassian.com/t5/image/serverpage/image-id/282019iF218A977B805C539/image-dimensions/251x121?v=v2 "Screenshot 2023-09-21 at 13.28.17.png")

how do I automate the removal of the "parent" ?
Using Names On Labels
Asked by Jamal Poleta:

I've created and color-coded labels with colleague's names.

How do I tag the colleague in an automated email? I've used #labelname and {labelname} and it does not appear on the email.

Thanks in advance.


Answers:
author: Brittany Joiner
body: Are you wanting automation that sends them an email when their label has been added to a card?

If that's the case, you'll probably actually want to make the label name to be their email address, and then use the {labelname} value to reference in the "send email" option.

If you're trying to post a comment and tag them (which should also send them an email), you should be able to do the post comment with {labelname} as well, but you will need to include the @ symbol in front of it, so @{labelname} . Also the labels should be their username, not their display names. For instance my display name is Britt Joiner, but my username is britt_joiner.

Btw, a good way to test and see what it's pulling is to just set an automation that when a label is added, to post a comment with {labelname} and see what is shown there. If it's nothing, then you may need to change your variable ([see all the variables you can access here](https://support.atlassian.com/trello/docs/butler-variables/)). If it's the username, but no @ symbol and not tagged/hyperlinked, then that's a good indication you just need to add the @ symbol. If it's showing their name, then you need to change the labels to be the username, not the display name.

Let me know if that makes sense!


author: Lara
body: Hi Jamal,

Thanks for reaching out!

Would you mind expanding on what you would like to achieve here? Are you sending custom email notifications from Trello using automation?

I'll keep an eye out for your reply,

Lara  
The Trello Team
How can I automate adding the creator of a card as a member?
Asked by Matt Handley:

When anyone creates a card, we would like for them to automatically be added as a member of that card. At the moment this doesn't seem to be an option -- you can only either set the creator of the rule to be added to the card, or to choose a specific member.


Answers:
author: Felix
body: Hey [@Matt Handley](/t5/user/viewprofilepage/user-id/5306832)

welcome! You can definitely do this using the Trello Rule Automations. The rule would be:

```
when a card is added to the board, add member @{username} to the card
```

See <https://support.atlassian.com/trello/docs/butler-variables/> for more information on using variables in your rules.

Note that the variables are **not autocompleted** currently, so you will need to manually enter it.

Hope this helps!


author: Matt Handley
body: Brilliant that's exactly what I needed -- thanks!
Combing Cards
Asked by Ed Griffin:

We are using Trello for emergency management of national disasters, currently wildfires.  
Is it possible to combine cards to create other cards? For example, can we have four cards representing four people, then drag them together to create a team? Then, drag teams together to form groups...?

This would better enable us to demobilize individuals without creating all new assignments, etc.


Answers:
author: Vishaal S
body: Hey Ed,

Welcome to the Trello Community!

Trello doesn't natively support combining multiple cards to create a new card directly by dragging them together. However, you can achieve a similar effect through different setup:

You can manually create a new card/List called "Team" or "Group".Link the individual member cards in the description or as a comment on the new "Team" card. As members are demobilized or added, update the linked list accordingly. Also, you can add a link to the original card (<https://support.atlassian.com/trello/docs/sharing-links-to-cards-boards-comments-and-actions/>) on the new card so that you can refer back to it easily. When you attach a link to a Trello card on another card, it will display a preview of that card, and will show which board and list it belongs to:

Let us know if you have any other questions or concerns. Have a great day!
?????? ????. ??????? ?????????? ??? ????? ? ???????
Asked by sokolova:

???? ?? ??????? ? ??????, ???????, ??? ??????? ????????.

???? ????????????? ? ???????? ??? ????????, ?? ??? ????????? ??????????? ??? ???????, ?? ? ?? ???? ?????


Answers:
author: Dreamsuite Mike
body: Please contact Trello:

[https://support.atlassian.com/contact/#/?inquiry_category=account_management\&reason=other_queries\&support_type=customer](https://support.atlassian.com/contact/#/?inquiry_category=account_management&reason=other_queries&support_type=customer)


Tags: russia-sanctions
How do I copy a list and its cards to another board
Asked by Sally-Anne Prout:

Id like to copy a List with its Cards to another board. How do I do this please, I can't figure it out.

Each time I click on the menu for list the copy list action only copies the List to the board it's already on, it doesn't let me copy it to another board.

Thank you

Sally


Answers:
author: Dreamsuite Mike
body: Copy the list to the same board then you can move the copied list to the other board.

Or create an automation board button:

```
Move all cards in list "List 1" to "List 2" on board "Board 2"
```

comments: author: Sally-Anne Prout
body: Thank you :-). That was really helpful.
Como funciona a assinatura premium? Posso ter sozinho ou toda a equipe do quadro precisa ter tamb?m?
Asked by Bruna Squarsa Aoki:

Assinaturas trello s?o cobradas por usu?rio, mas um usu?rio pode ser premium e outros no quadro n?o?

? por quadro ou ?rea de trabalho?

no premium consigo ter mais de uma ?rea de trabalho?


Answers:
author: Dreamsuite Mike
body: Ol? [@Bruna Squarsa Aoki](/t5/user/viewprofilepage/user-id/5306541)

Por favor, verifique este artigo para obter ajuda:

<https://support.atlassian.com/trello/docs/how-billing-works-with-trello-premium-and-standard/>

<br />

A assinatura do Trello Premium ? feita por Trello Workspace.

Voc? pode ter convidados de tabuleiro ?nico, presentes apenas em 1 tabuleiro. Estes s?o gratuitos

Se um membro estiver em mais de um conselho, ele ser? um convidado de v?rios conselhos e ser? cobrado

Se eles forem membros do Workspace, ser?o cobrados
Setting/Changing card due date to not presetted date
Asked by Yonathan Shterenberg:

Hey! I have a card with a due date that I want to be changed to a new due date (that is set on another card) once it's marked complete. I couldn't find any way to do so (except for custom fields, however, it's useful only in the paid version). There is a solution for specific dates (in a day/week or a specific date) but I would like to insert a variable date ({foundcarddate}).

How can I do so?


Answers:
author: Dreamsuite Mike
body: Hello [@Yonathan Shterenberg](/t5/user/viewprofilepage/user-id/5306688) and [@Sergej N.](/t5/user/viewprofilepage/user-id/5306737)

The variable you talk of is {foundcardduedate}

However you can't set a due date in standard automation without making that hop with a custom field, requiring Trello standard or premium.

You could do it but using the Trello Rest API but it is an advanced topic.

comments: author: Yonathan Shterenberg
body: Oh, that's a shame.. :(

How can I learn about the Rest API?

Thanks for the answer!


author: Sergej N.
body: I am also interested in the answer to this question. Does anyone have any ideas?


Tags: date

due-date
Where do I cancel Trello?
Asked by Marjery:

I no longer use the program for more than 1 year and want to cancel.

Where do I do that in Trello and do I receive a confirmation number when completed?


Answers:
author: Brant Schroeder
body: [@Marjery](/t5/user/viewprofilepage/user-id/5306459) Welcome to the Atlassian community

Here are instructions on how to cancel your plan <https://support.atlassian.com/trello/docs/change-or-cancel-your-trello-plan/>

comments: author: Brant Schroeder
body: [@Marjery](/t5/user/viewprofilepage/user-id/5306459) Can you accept this to help others?
Will my archived items repeat/pop up if scheduled?
Asked by Biah Boxill:

I scheduled cards to repeat every week. I want to keep them achieved, but I want them to pop up when the day comes. Will it repeat/pop up on my board when scheduled?


Answers:
author: Lara
body: Hi Biah,

Thanks for reaching out!

Are you using the [Card Repeater Power-Up](https://support.atlassian.com/trello/docs/using-the-card-repeater-power-up/)? If so, an archived card will still repeat ?

Only deleting a card, moving it to another board, or cancelling the repeat on the original card will stop it from repeating.

Please let us know if you have any other questions, and we'll be happy to help.

All the best,

Lara  
The Trello Team
How to automate checklist due dates so they won't fall on a weekend.
Asked by Pamela Laurie:

I used automation rules to set due dates for items on a checklist based on a custom field: "Event Date". Many things are due either the working day before or the day after the event, so if the event is on a Sunday, the things due the day before should be due on Friday, not Saturday. If an event falls on a Saturday, the things due the day after should be due on Monday, not Sunday.

I have been using: set the item due on the date in custom field "Event Date" minus 1 working days or plus 1 working days, but it is pushing those items to either Thursday or Tuesday, respectively.


Answers:
author: Pamela Laurie
body: Hi Pamela,

Not sure if you've already solved this? I found your question while looking for an answer to my own similar issue.

Perhaps this will help, from the arithmetic and formatting resources ([here](https://support.atlassian.com/trello/docs/arithmetic-and-formatting-in-date-variables/))

**"Note** : In *working days* values, {date+1wd} is not the next working day but the date after a working day has passed. This subtle distinction only matters if the date falls on a weekend: Saturday +1 working day is Tuesday. To obtain the next working day, use {datelong+0wd}; to obtain the previous working day, use {datelong-0wd}."

comments: author: Pamela Laurie
body: Tara, THANK YOU!!! No, it had not been answered, so I've been manually changing it this whole time. I was sure there was a solution but it just hadn't made it to the top of my priority list to dig into it further so I kept hope alive that someone would respond. ?
Google Drive Powerup doesn't work
Asked by Alan Reed:

When I try to attach a file or folder from google drive a pop up appears but it is completely blank. I run "inspect" on the popup and there is an error:

"Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('[https://trello.com'](https://trello.com?)) does not match the recipient window's origin ('[https://google-drive.trello.services'](https://google-drive.trello.services?))."

Please assist.

![Screen Shot 2023-08-31 at 3.24.39 PM.png](/t5/image/serverpage/image-id/278334iB8B90C2193787B4B/image-size/large?v=v2&px=999 "Screen Shot 2023-08-31 at 3.24.39 PM.png")


Answers:
author: Alan Reed
body: I have found it works on Chrome, but not Firefox. Is there a way to fix this?

comments: author: Geraldo Carvalho
body: Hi Alan, do you fixed? I have the same problem working Trello x GoogleDrive in Ubuntu. (Firefox and Chrome)


author: Alan Reed
body: It works for me on Chrome, but not firefox.
contact details or table
Asked by Leslie Hand:

Hi, I am new to Trello. I joined to create a shared workspace for a community committee I'm on. I wanted to add everyone's contact details in an easy to see way. Would be surprised if there's no way to do this.

I did create a table and insert it per some other suggestions, but you can only see part of it. There are only 4 columns. Is there a way to shrink text or expand the card? Otherwise, there really isn't that much space on the cards, but there's a lot of space around them....

Thanks, Leslie


Answers:
author: Dreamsuite Mike
body: Hi, you can make a contacts database by using Trello Custom fields and if you want it viewed in a table style, using the [Table View](https://trello.com/power-ups/61f4c0464f8522341a806b89/table-view) Power-up

* Create a board called contacts
* In a card, create custom fields for the contact details you want, e.g Name, Phone Number, Address, Birthday etc. etc.  
  <https://support.atlassian.com/trello/docs/using-custom-fields/>
* Enable the Table view custom field to be able to see in a table style with the custom fields

Alternatively, some Power-ups have the ability to make contacts, like [Crmbl](https://trello.com/power-ups/5e5e8b4b55a4ea5fedc0dafa/crmble)

and [Email for Trello](https://trello.com/power-ups/5d4c0b80452f202510cce4cc/email-for-trello)

Hope this helps.

Mike
I have been invited to a board using a different email than my account
Asked by Sammie S?nchez-Davis:

I would like to see this board under my Premium account logon??

thank you!


Answers:
author: Lara
body: Hi Sammie,

Thanks for reaching out!

You'll need to ask the person to invite your current account email address if you'd like to see this board under this account.

If you want the board to be under your Premium Workspace, you'll need to be added as a board admin and you'll be able to move the board following these steps: <https://support.atlassian.com/trello/docs/moving-a-board-to-a-different-workspace/>.

Please let us know if you have any other questions, and we'll be happy to help.

All the best,

Lara  
The Trello Team
trello sort cards by last edited
Asked by Pam Kamphius:

I'd like to sort my trello cards by the time the last activity occurred on them. So if there are a few cards, and someone did anything to them (activity) I want to see that one on top.

So a card that had activity 2 minutes ago would be on top, the card that had activity 5 minutes ago would be second, the card that had activity 10 minutes ago would be third...etc.


Answers:
author: Lara
body: Hi Pam,

Thanks for reaching out!

Right now, there isn't an easy way to sort cards by last edited.

As a workaround, you could set up automation to sort your cards. For example, create a rule that will move a card to the top of the list based on a trigger you want to define.

While we don't have a more general trigger like "last edited or modified", you could choose a different trigger that makes sense - for example, "when a comment is added" or something similar e.g.:

* *when a comment is posted to a card in list "{listname}", move the card to the top of list "{listname}"*

Please let us know if you have any other questions, and we'll be happy to help.

All the best,

Lara  
The Trello Team
I wish to automate when I ticked an item on my checklist
Asked by Romuald Dale Vasquez:

Hi I need help. I've been trying to automate where the trigger is ticking an item from my checklist then the action will be sending a message in slack.

It seems that the command is correct, however it doesn't seem to work.

Thanks in advance! :D

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


Answers:
author: Dreamsuite Mike
body: Hi [@Romuald Dale Vasquez](/t5/user/viewprofilepage/user-id/5306337)

Welcome to the community. Your command looks OK.

If you click on the little light bulb ?, can you see in the command log whether it is executing?

Only time I have seen similar is when there is a space somewhere at the beginning or end of the checklist item. You can test this by changing the command trigger to

```
When the item "QC{*}" is checked.....
```

comments: author: Romuald Dale Vasquez
body: You've been a great help [@Dreamsuite Mike](/t5/user/viewprofilepage/user-id/5153180) ! It works when I changed the command trigger as you've suggested. Thank you so much!


author: Dreamsuite Mike
body: Happy Friday my friend ?
how could I update my email in the account
Asked by Roger Ramon Aspajo:

Hi, in the following days I will change my email of work, How could I update my account in trello


Answers:
author: Christl_Email for Trello
body: Hi [@Roger Ramon Aspajo](/t5/user/viewprofilepage/user-id/5122923)?

Your Trello account is accessed using your [Atlassian account](https://help.trello.com/article/1197-using-trello-with-an-atlassian-account) email address. To change the email address you use with Trello, you will need change the email in your Atlassian Account.

Check out this article for detailed steps: [Changing your email address](https://support.atlassian.com/trello/docs/changing-an-email-address/)

Hope that helps!
Recuperar acceso a mi cuenta
Asked by Daniel Casares Rodriguez:

Buenas tardes,

No tengo acceso a mi cuenta de trello, no es desde este correo, he tenido que crear esta cuenta para poder escribir. Me dice que no tengo permisos.

C?mo recupero mi cuenta?.![Screenshot_2023-08-31-17-50-25-407_com.android.chrome.jpg](/t5/image/serverpage/image-id/278298i2821B5FD8E67B6A1/image-size/large?v=v2&px=999 "Screenshot_2023-08-31-17-50-25-407_com.android.chrome.jpg")


Answers:
author: Theodoro Reato
body: Hi Daniel,

I'm using translation services to respond to you,

Could you open a ticket at [www.trello.com/contact](http://www.trello.com/contact) mentioning the original email you'd like to log in at?

If you have the board's link you used to work on, please, send the link as well. We can track which account is linked to a board's URL.

comments: author: Daniel Casares Rodriguez
body: Muchas gracias Theodoro!!!, Voy a abrir un ticket.


author: Theodoro Reato
body: Gracias! :)
How can I revert the theme to the old theme?
Asked by En Kerro:

The new theme does not support zooming very well on Chrome browser on PC. Half of the cards have problems with borders.

Also, the new theme takes a lot more space than the old one.

How can I revert back to the original theme?


Answers:
author: Theodoro Reato
body: Hi En,

Hope you're doing good,

There isn't an option to turn off the new theme,

To help, I'll pass your feedback to our product team. We're always trying to improve our tool! This won't guarantee a change! But our Product team will be aware of the case. :)