问题
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?
回答1:
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.
回答2:
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"
回答3:
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
来源:https://stackoverflow.com/questions/37467839/does-trello-provide-a-way-to-identify-who-created-a-card