trello 插件

该插件用于将 Github 中的 Issue 实时同步到 trello 中。

用例

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:

  • Devstream 会帮你管理 Trello 看板的描述,请不要修改它。
  • 该插件需要配置 board.token, 如何获取可以查看该 文档
  • scm 配置字段用于表示代码仓库的配置信息,具体配置可查看SCM配置项

Outputs

该插件产生以下输出:

  • boardId
  • todoListId
  • doingListId
  • doneListId