Creating/updating cards#638
|
|
Hi, according to http://studios.thoughtworks.com/mingle/2.0/help/mingle_api_cards.html I should be able to use POST and PUT requests to When I use a POST to http://mingle/projects/project/cards.xml with the data section set to urlencoded ‘card[name]=foo&card[card_type_name]=Story’, I see the request come by in the mingle server log like thus:
The card does get created, but it is not of the type I requested. Neither do other fields seem to come across. Is this supposed to work? If so, any idea what I’m doing wrong? Wouter |
|
|
Hi Wouter, Creating/updating card with card_type_name by REST API works well for me (just tested it again). If you can provide more details about what you tried, like code or the steps you did, I would like to retry it and see what’s problem. |
|
|
Hi, Wondering why the API says to post to ...../cards.xml to create a new card? I cannot seem to get that to work. It does however work when i use …./cards/create. Is using …./cards/create a valid and acceptable way to use the API to make a new card? [Alex] |
|
|
Hi again, Took care of the previous post. Got the ../cards.xml post to work properly. However it is still possible to create a card using ../cards/create. Curious if either method has an advantage? [Alex] |
|
|
Hi Alex, You can create a card using ../cards/create which is action used to create a card in the Mingle now. Cheers, Li Xiao |
