Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,007
Community Members
 
Community Events
165
Community Groups

Rename a list with a 2 week pattern

Hi

I have a daily planner covering 2 weeks in a Trello board. I have a calendar rule that tweaks the list names to reflect the right dates each Monday.

e.g. Rename List "Tue{*}" to "Tuesday, {date=2wd~Do}"

The rule has entries for each day. It works well.

What I would like to do is change the Tuesday entries so they are different based on the Week Number.

If the Week Number is even (this week is 20 for example) then I would like to have my first Tuesday list name relfect that, using a Plus sign perhaps (want it to be a short marker). The second Tuesday would get a minus symbol.

If the Week Number is odd then the first Tues gets a minus and the second one gets a plus.

In case you are wondering why I want this, it has nothing to do with work, simply that our bins alternate between General (black) and Recycling (blue) and markers would help me remember which week is which - minus is general (easy bins) and plus s Recycling (more bins involved). Currently I have two cards that I swap around but i'd rather not have an entire card cluttering my day plan.

Not sure how I make {weeknumber} be formatted based on arithmetic?

Happy to have 2 rules, one that runs on odd weeknumbers and one that runs on even weeknumbers if that is a way around it?

Having just reviews Triggers I guess "every 2 weeks on Monday starting ..." could be used. Two of them, each starting on the first odd and even week repectively?

Prefer to handle it via formatting if I can though!

Hope someone can help.

Thanks

Simon

 

1 answer

0 votes
Vishaal S Atlassian Team May 19, 2022

Hi Simon,

Good day to you :)

I'm afraid that it's not possible to have the custom variable {weeknumber} formatted based on arithmetic, unfortunately.

We also have a robust platform for building custom Power-Ups which looks like an option to explore here; you can read more on it here: https://developer.atlassian.com/cloud/trello/guides/power-ups/your-first-power-up/.

Additionally, there is a community forum full of developers building on top of Trello. You can join the conversation here: https://community.developer.atlassian.com/c/trello.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,387 views 28 41
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you