我按照Trello API文档获取自定义标签但是id不起作用
我正在使用ruby-trello gem
label_data = { 'name' => "testing", 'idBoard' => board, 'color' => "green" } label = client.post("/labels", label_data)
标签创建成功,我在电路板上看到它,但是当我使用创建bug的格式并将标签ID传递给idLabels attr时,它会创建没有标签的卡片.
使用这个hack而不是常规的apilabel_response = client.post("/cards/#{card.id}/idLabels",{value: label_id})
精彩评论