Eric Bloch
Eric Bloch

Reputation: 2961

Does Trello provide a way to identify who created a card?

The api docs made it seem like the answer was no, but I couldn't tell. Is there a way to find all the Trello cards I created on a board or set of boards or across all boards?

Upvotes: 4

Views: 4461

Answers (3)

almaceleste
almaceleste

Reputation: 467

I wrote a userscript which adds the creation date and the creator name and account link to the Trello card.
You could install it from my GitHub repository or from OpenUserJS.org

Upvotes: 0

juliangonzalez
juliangonzalez

Reputation: 4381

Yes. If you export the card to JSON you can find a trace of the actions on the card. Under share and more -> Export JSON.

Wich has the following url:

<a class="js-export-json" href="/card/<id>/url-friendly-name-of-the-card.json">Export JSON</a>

This makes a call GET https://trello.com/card/<id>/url-friendly-name-of-the-card.json

In the Json you will look for the action with type: "createCard"

Upvotes: 0

Irina
Irina

Reputation: 276

You can find the author of the card using actions, like this:

Trello.get('/cards/CARD_ID_HERE/actions?action_memberCreator_fields')

It is under the arguments for GET /1/cards/[card id or shortlink] here: https://developers.trello.com/advanced-reference/card#get-1-cards-card-id-or-shortlink

You can also get a list of all your cards like this:

Trello.get('/members/me/cards')

and use the field idBoard to filter only cards for specific board.

Upvotes: 4

Related Questions