Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

trello rest api to get list of card that are recently updated

I am  fetching a list of cards and their actions via rest api  . I use this api https://api.trello.com/1/lists/5a78b08c6f85c304e464aa07/cards to fetch a list of cards. I have roughly 300 cards in the list. Later i  fetch actions of each card as well via rest api. I update this information daily via script and every time i update i have to fetch actions of all 300 cards as i donot see any way to find a list of only those cards which are recently updated.  It takes time now to fetch all 300 cards actions and most of time very less number of tickets are updated. I find it an unnecessary network traffic and load on your server too which can be avoided if there is any way to determine only updated ticket . I do see a field dateLastActivity but i doubt it can be used for this purpose as this field is always updated even if nothing is changed on ticket. Is there any way out?

 

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader Jun 02, 2020

@Mumtaz Ahmad If you use the search endpoint instead of the cards endpoint you can filter using "edited:day", here's my implementation of the search endpoint for reference:

https://github.com/iaindooley/trellinator-libs/blob/master/TrelloApi.js#L39

Is it possible for you to send me a url for help. I can access search end point but somehow i donot see  edited field in the returned json. What query i should use? There is so less documentation on search end point on trello so i am just trying things blindly 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

764 views 13 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you