project-bot icon indicating copy to clipboard operation
project-bot copied to clipboard

Feature: has_labels

Open janpio opened this issue 7 years ago • 2 comments

If you want a column to have issues when either Label1 or Label2 are added then you can have a 2-item list:

  • added_label Label1
  • added_label Label2

Having cards move when they have Label1 and Label2 is not currently possible but maybe something like has_labels Label1 Label2 could be added in the future

Source: https://github.com/philschatz/project-bot/issues/14#issuecomment-423773846

janpio avatar Sep 22 '18 22:09 janpio

I would opt to change added_label to allow multiple parameters, which are connected via and, e.g.

added_label Label1 Label2 So when 'Label 1' was added and 'Label 2' is already present, the card gets moved to that column. Same for other way around.

saerdnaer avatar Sep 23 '18 17:09 saerdnaer

Good suggestion. Might be problematic though, as until now all lists of multiple parameters are handled as or - e.g. in new_issue or new_pullrequest.

janpio avatar Sep 23 '18 19:09 janpio