project-bot
project-bot copied to clipboard
Conditional Logic
Hey!
I've been looking for a way to automate my project board, so I can get a better overview over some of my projects, and found this.
One thing I couldn't see was if there is any form of conditional logic?
That is, I want to have an "In Progress" column that reacts to added_label **inprogress**, but only if there is also another label on it, and so on.
My use case is that I have a private repo with lots of different issues in (Work, Open Source stuff, Personal stuff etc), and I currently tag them all as such so a given issue could have two labels: work, inprogress or personal, inprogress.
Because of this, I can't setup an added_label rule, since if I stick that in both my Work and Personal project, then the issue is applied to both projects, rather than just one of them.
What I guess I'm looking for is:
###### Automation Rules
- `added_label` **wontfix**
- `has_label` **work**
Or maybe my lack of experience with Projects means I'm doing something entirely wrong! I could swap to per project labels, but it sounds messy to duplicate everything.
From my limited experience with this bot my understanding is similar to yours: You only add straight rules to the automation cards. No conditions. If 2 columns apply to the same issue change, the last one executed wins. (e.g. remove and add labels at the same time? might be moved to one column first because of removing, then to another because of adding)
Related issue: #21