trello 插件
该插件用于将 Github 中的 Issue 实时同步到 trello 中。
用例
YAML
tools:
# name of the tool
- name: trello
# id of the tool instance
instanceID: default
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool
dependsOn: [ ]
# options for the plugin
options:
# the repo's owner
board:
# the Trello board name. If empty, use owner/name as the board's name.
name: KANBAN_BOARD_NAME
# the Trello board description. If empty, use devstream's default description
description: KANBAN_DESCRIPTION
# 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
apikey: [[ env TRELLO_API_KEY ]] # use environment variable "TRELLO_API_KEY" to set the value
token: [[ env TRELLO_TOKEN ]] # use environment variable "TRELLO_TOKEN" to set the value
scm:
# scm common field
branch: YOUR_REPO_BRANCH
token: [[ env GITHUB_TOKEN ]] # use environment variable "GITHUB_TOKEN" to set the value
# you can directly use the url of repo (git@github.com/root/test-exmaple.git for example)
url: YOUR_REPO_URL
# or you can config detailed fields for this repo
owner: YOUR_REPO_OWNER
Notes:
- Devstream 会帮你管理 Trello 看板的描述,请不要修改它。
- 该插件需要配置
board.token
, 如何获取可以查看该 文档。 scm
配置字段用于表示代码仓库的配置信息,具体配置可查看SCM配置项。
Outputs
该插件产生以下输出:
boardId
todoListId
doingListId
doneListId