Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

False detection of an infinite loop in Butler

Shyam Reyal
Contributor
May 31, 2020

I am trying to setup dependencies according to the instructions here:
https://help.trello.com/article/1165-task-dependencies

I am going a step further by cascading the pre-requisites i.e. when the parent task gets added with a pre-requisite, it sets the pre-requisites on the child tasks too.

This is my butler command:

when an item is added to checklist "pre-requisites" by anyone, find a card titled "{checklistitemname}", link the card with the item, find the last card linked in the attachments, for each card linked from an incomplete item in checklist "sub-tasks", add item "{checklistitemname}" to checklist "pre-requisites"

However, Butler detects an infinite loop in this code, where as there isn't? Or am I missing something?

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley
Community Champion
June 2, 2020

@Shyam Reyal the end of your command adds an item to checklist "pre-requisites" which is the trigger for the command. Maybe you'd need to filter it so that the trigger checks for the presence of a label or in a particular list or something.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events