ruby-trello icon indicating copy to clipboard operation
ruby-trello copied to clipboard

access to card comments?

Open kevinchugh opened this issue 11 years ago • 6 comments

Hi, is this possible? I don't see any method or attribute for card comments. Thanks for any info.

kevinchugh avatar Dec 03 '14 13:12 kevinchugh

You can post a comment with add_comment text to a card. It is possible to change this comment via the trello api, but this is not supported by the library so far.

Larusso avatar Mar 24 '15 16:03 Larusso

So is there anyone up for this PR? I could provide mentorship if needed

runlevel5 avatar Oct 02 '15 22:10 runlevel5

I have no time the next weeks.

Larusso avatar Oct 03 '15 20:10 Larusso

I dont believe the API supports getting comments on a card (cant see a relevant API endpoint https://developers.trello.com/advanced-reference/card#).

You can get actions (Trello:Card.find(x).actions). In the actions, you have the addComment type (as well as a few other relevant ones). So you could build your own list from that.

njt1982 avatar May 05 '16 08:05 njt1982

You can get the card comments with this call: https://api.trello.com/1/cards/[card id or shortlink]/actions?filter=commentCard

andrewkress avatar May 18 '16 20:05 andrewkress

Anyone up for this feature?

runlevel5 avatar Aug 15 '16 00:08 runlevel5