3

我正在尝试使用 Chello 在 Trello Board 上创建卡片,但没有得到任何结果。

如果我尝试,我可以看到我的代码已连接

var chello = new ChelloClient("<my API key>");
var b = chello.Members.AllBoards("<my user name>");

在这种情况下b,我的电路板将被退回。

但这失败了

        var c = new Card();
        c.Name = "Test2";
        c.IdBoard = "Test";
        c.IdList = "Done";
        chello.Cards.Create(c);
        chello.Cards.Update(c);

知道如何进行这项工作吗?

4

1 回答 1

3

I think the problem is that c.IdBoard should not be set to the NAME of the board, but to the ID. When viewing a board you can find the ID in the address bar, for example https://trello.com/board/trello-development/4d5ea62fd76aa1136000000c.

In this case, 4d5ea62fd76aa1136000000c is the ID.

The same goes for c.IdList.

于 2012-09-19T10:11:19.447 回答