avinash010 / Trello_Util

Trello utility to create board, cards using Python Requests Module
2 stars 0 forks source link

using the trello api to copy a card from one board to another? #1

Open mals14 opened 5 years ago

mals14 commented 5 years ago

hi - thanks for sharing your python script.

even though I think I broadly understand the script, I am not able to write the function needed to copy a card to a list on another board. as far as I can tell, the Trello API enables it through this Trello API link, however, I am not able to figure out what the actual code would look like say in your script.

thanks for your help if you can.

avinash010 commented 5 years ago

Hi Sorry for the delay in responding to this issue. The copy card function in this framework would need the following things 1) Original board name from which you want to copy the card. 2) The card name which you want to copy 3) New board name to where you want to copy the card 4) The new list name where you want to copy the card.

Eg: copy_card(old_board, sample_card, new_board_name, new_list_name)

Hope this clarifies your question

mals14 commented 5 years ago

For some reason my alert from Github did not work. Will work on it - for now I was doing it manually. Thanks for the reply - makes sense but I will need to dig into the code again - may be I understand Python better now and may understand your code on the second reading.

avinash010 commented 5 years ago

Fine. Let me know if you face some issue

mals14 commented 5 years ago

Will do. Thanks!