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

Can you create an "OR" statement in Trello automation

MF_BOT
Contributor
May 13, 2024

I have 5 page types.

  • 3 Page types have options of 4 people that can be assigned
  • 2 Page types have options of 5 people that can be assigned. 2 people from the first group are also in the second group.

How can I assign the work to distribute correctly? 

  • Page Type A - Team 1 members Option 1, 2, 3, 4
  • Page Type B - Team 1 member Option 1, 2, 3, 4
  • Page Type C - Team 1 member Option 1, 2, 3, 4
  • Page Type D - Team 2 member Option 1, 2, 5, 6, 7
  • Page Type E - Team 2 member Option 1, 2, 5, 6, 7

 

I don't see a way to state if Page Type A, or B, or C, assign a member in-turn from Team 1.

I can only create if Page A assign a member in-turn from Team 1.

Then Page B assign member in-turn from Team 1 (so if we get 3 different page types it will all be assigned to Team member 1.

I can change from, in turn, to random, but is that all I can do?

I was hoping I could combine all the pages for the rule that applies to the same team members, but adding multiple pages to the rule doesn't work, so Automation sees it as AND and not OR.

 

Suggestiosn?

1 answer

0 votes
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.
May 13, 2024

Hi @MF_BOT 

What is page type in Trello? Is it a custom field, list, label?

I can give you an example of a rule that uses regex to have an or statement.

This is based on Type being a custom field.  It also relies on you having 2 cards on your board called Team 1 and Team 2, with the members of each team as members of the respective card

If custom field "Page Type" is set to "regex:/Page Type (A|B|C)/", add a member in turn from from card Team 1 to the card
 If custom field "Page Type" is set to "regex:/Page Type (D|E)/", add a member in turn from from card Team 2 to the card
MF_BOT
Contributor
May 13, 2024

@Dreamsuite Mike Page Type is a custom field. I tried this: 

when custom field "PT" is set to "regex:/PT (About|Case Study|Contact)/", add a member in turn from card "Publishers" to the card and it doesn't work. Where can I find out more about RegEx and Trello?

I change it to: when custom field "PT" is set to "regex:/(About|Case Study|Contact)/", add a member in turn from card "Publishers" to the card and it now works! Thank You!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events