Trello 連携に関するアクションです。
CreateTrelloCard は、Trello のボード上にカードを作成するアクションです。
*は、必須パラメーター
名前 | 型 | 概要 | 例 |
provider* | 文字列 | Trello連携のプロバイダーID | trello_xxxxxxx |
board* | 文字列 | カードを作成するボード名 | 情シス |
list* | 文字列 | カードを作成するリスト名 | ToDo |
name | 文字列 | カード名 | ◯◯さんのPC購入 |
description | 文字列 | カードの説明。マークダウン記法利用可能。 | 来月入社される◯◯さんのPCを購入します。 |
position | 文字列 | 作成したカードを追加する位置 | top / bottom |
members | リスト | カードメンバー。ユーザーIDで入力。 | chiharufujita1, shirofukuda |
labels | リスト | カードのラベル。ラベル名で入力。 | PC購入, 要望 |
タイプ | 型 | 概要 | 例 |
JSON | オブジェクト | JSONレスポンス | *使用例を参照 |
+create_trello_card_1:action>: CreateTrelloCardprovider: trello_xxxxxxxboard: '情シス'list: ToDoname: '◯◯さんのPC購入'description: '来月入社される◯◯さんのPCを購入します。'position: topmembers: 'chiharufujita1, shirofukuda'labels: 'PC購入, 要望'# => {# { id: 'created card id',# badges:# { attachmentsByType: { trello: [Object] },# location: false,# votes: 0,# viewingMemberVoted: false,# subscribed: true,# fogbugz: '',# checkItems: 0,# checkItemsChecked: 0,# checkItemsEarliestDue: null,# comments: 0,# attachments: 0,# description: true,# due: null,# dueComplete: false },# attachments: [],# checkItemStates: [],# closed: false,# dueComplete: false,# dateLastActivity: '2020-02-07T07:11:23.992Z',# desc: '来月入社される◯◯さんのPCを購入します。',# descData: { emoji: {} },# due: null,# dueReminder: null,# email: null,# idBoard: 'board id',# idChecklists: [],# stickers: [],# idList: 'list id',# idMembers: [ 'member id', 'member id' ],# idMembersVoted: [],# idShort: 289,# idAttachmentCover: null,# labels:# [ { id: 'label id',# idBoard: 'board id',# name: 'PC購入',# color: 'orange' },# { id: 'label id',# idBoard: 'board id',# name: '要望',# color: 'black' } ],# idLabels: [ 'label id', 'label id' ],# manualCoverAttachment: false,# name: '◯◯さんのPC購入',# pos: 511.998046875,# shortLink: '7tdnep5j',# shortUrl: 'https://trello.com/c/hogehoge',# subscribed: true,# url:# 'https://trello.com/c/hogehoge',# cover:# { idAttachment: null,# color: null,# idUploadedBackground: null,# size: 'normal',# brightness: 'light' },# isTemplate: false,# limits: {} }