Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Formulas in Custom Fields?

Kelly Gabel April 3, 2024

Is there a way to use a formula in a custom field? 

1 answer

1 accepted

3 votes
Answer accepted
Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2024

@Kelly Gabel can you expand a bit around what you want to achieve? It is possible to perform basic arithmetic operations with numerical custom fields, but it's pretty limited.

Kelly Gabel April 3, 2024

@Hannah Humbert - Simpla Workflows 

Absolutely! I have a Budget Tracker and a Custom Field for Revenue and one for Expenses. I'd love to have a Profit field that automatically calculates the Profit between the two, so = Revenue - Expenses

Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2024

@Kelly Gabel you should be able to use butler to calculate that. Have a look at this article here down the bottom under Custom Field Arithmetic. Let me know if you need any help setting it up 😊

Kelly Gabel April 3, 2024

@Hannah Humbert - Simpla Workflows  Ok took me a few tweaks to get it right, but that totally worked! The only follow up question I have, so I used a trigger of when Revenue and Expenses are complete, then... but I'd love it to update in real time. I just didn't see an option for keeping it synced, like when those fields are updated vs. complete.

Is that not available, or did I just miss it?

Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2024

Try this:

when custom field "regex:/.*(Expenses|Revenue).*/" is set, set custom field "Profit" to "{{%Revenue}} - {{%Expenses}}"

Regex is used here to create an OR statement; so you're saying: when either the expenses or revenue fields are set, then update the profit field. "Set" is when the field is either completed or updated, meaning that the profit field will dynamically update.

Like Kelly Gabel likes this
Kelly Gabel April 3, 2024


@Hannah Humbert - Simpla Workflows Ok that totally worked and is super cool! Thank you! I feel like you have just opened up a whole new world of automation to me LOL

Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2024

@Kelly Gabel yay glad that's working the way you want! 😄 it's pretty cool how much you can do with butler for pretty much free! 

Like Kelly Gabel likes this
Kelly Gabel April 3, 2024

@Hannah Humbert - Simpla Workflows Exactly!! Although, this does require a subscription to use the Custom Fields...but it's so affordable!

Now, I'm trying to do a roll up of those Profit values per list...so I'm experimenting!

Hannah Humbert - Simpla Workflows
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2024

That's true, there is some cost involved if you want to use custom fields. Have fun experimenting! 🧪

Like Kelly Gabel likes this
Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2024

Great response @Hannah Humbert - Simpla Workflows 

@Kelly Gabel To roll up the values per list, you can use a Trello Dashcard that you set at the top of the list:

https://www.atlassian.com/blog/trello/dashcards-powerup 

 

With these, you can do sums and averages, they are really cool...

To keep the dashcard pinned to the top of the list:

  1. Create a colourless label with the name 📌
  2. Create the following automation:
when a card is added to list "{listname}", sort the list by "📌" label ascending

 

Like # people like this
Kelly Gabel April 4, 2024

@Dreamsuite Mike Woah. I've been using Dashcards for a while, but I had never even noticed the Metrics tab!!! This is GAME-CHANGING!! Thank you!

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events