trello Plugin

This plugin integrates Trello with your GitHub repo.

Usage

The following content is an example of the “tool file”.

For more information on the main config, the tool file, and the var file of DevStream, see Core Concepts Overview and DevStream Configuration.

YAML

  1. tools:
  2. # name of the tool
  3. - name: trello
  4. # id of the tool instance
  5. instanceID: default
  6. # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool
  7. dependsOn: [ ]
  8. # options for the plugin
  9. options:
  10. # the repo's owner
  11. board:
  12. # the Trello board name. If empty, use owner/name as the board's name.
  13. name: KANBAN_BOARD_NAME
  14. # the Trello board description. If empty, use devstream's default description
  15. description: KANBAN_DESCRIPTION
  16. # Trello apiKey and token, see https://docs.servicenow.com/bundle/quebec-it-asset-management/page/product/software-asset-management2/task/generate-trello-apikey-token.html for more information
  17. apikey: [[ env TRELLO_API_KEY ]] # use environment variable "TRELLO_API_KEY" to set the value
  18. token: [[ env TRELLO_TOKEN ]] # use environment variable "TRELLO_TOKEN" to set the value
  19. scm:
  20. # scm common field
  21. branch: YOUR_REPO_BRANCH
  22. token: [[ env GITHUB_TOKEN ]] # use environment variable "GITHUB_TOKEN" to set the value
  23. # you can directly use the url of repo (git@github.com/root/test-exmaple.git for example)
  24. url: YOUR_REPO_URL
  25. # or you can config detailed fields for this repo
  26. owner: YOUR_REPO_OWNER

Notes:

  • Trello board description is managed by DevStream, please don’t modify it.
  • To config a board.token, see here.
  • scm config option represents codebase location; for more info, you can refer to SCM Config.

Outputs

This plugin has four outputs:

  • boardId
  • todoListId
  • doingListId
  • doneListId