Skip to content

Faheetah/trello-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARNING: This project is being redesigned under Faheetah/nexus

Trello Updater

This runs a service that trello can access. Modules can be written for more functionality. Triggers match the REST response that comes in, while tasks are specific to each module. Templating is allowed and can either be based on the current trigger context, or additional context can be bound with the name option on a task, namespacing with the name. This follows basic Jinja so filters and tests are available as well. Keys can be rolled up so {"foo:bar:baz": true} will parse to {"foo": {"bar": {"baz": true}}}. Additional modules include timer (cron and sleep), github webhook, and shell command task. Modules can be easily made, see Timer for an example.

fill_in_groceries:
  triggers:
  - trello:
      type: createCard
      data:card:name: Groceries
  tasks:
  - trello:addLabel:
      # use trigger data
      card: "{{ data.card.id }}"
      label: Planning
  - name: create_card
    trello:createCard:
      name: Weekend Tidy
      list: Weekend
  - trello:createChecklist:
      card: "{{ create_card.id }}"
      name: General
  # can inline anything including using only a single arg in a module, this calls trello.search(query='-created:7')
  - name: search_created_cards
    trello:search:query: "-created:7"
  # have to use tojson for now, loop over each card in the result set
  # the card param is the name the var will bind to
  - loop:card: "{{ search_created_cards.cards|tojson }}"
    trello:addLabel:
      card: "{{ card.id }}"
      label: Planning

About

Update Trello cards based on certain criteria

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages