Last active
June 25, 2019 08:45
-
-
Save iaindooley/47eaca1314cc09deaf47bb6708bb6082 to your computer and use it in GitHub Desktop.
Unarchive all cards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function unarchiveAllCards() | |
{ | |
var search = TrelloApi.searchCardsInBoards(new Trellinator().board("Our Project Board"),"is:archived"); | |
while(search.first()) | |
{ | |
search.cards().each(function(card) | |
{ | |
card.unArchive(); | |
}); | |
search = TrelloApi.searchCardsInBoards(new Trellinator().board("Our Project Board"),"is:archived") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment