I'm using the API to create new Sprint cards (so I can add some intelligence to the initialization of the description which is fairly complex). I'd like to automatically add the cards I'm creating to my Planning tree (because the next step is to add children in that tree, and adding a card to a tree is a pretty painful and confusing operation).
I'm able to create, get the ID of, and update the card, but when I include a parameter like this:
'card[cp_planning___sprint_card_id]' => $cardId
in my update PUT I get a 500 error and a log message like this:
Property Planning:Sprint is not applicable for card type Sprint
Which is true. So what can I set to add the card to the tree (without giving it a parent or child in that tree)?