Hello!
I want to create a card automatically by Jenkins with the help of https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post in a DONE column. But also I want to update a "DONE date" field created by Custom Filed. I don't know the Id of the card which is creating.
Is there a way to update the "DONE date" in one creation command? Or other solutions?
Thanks,
I've found a solution by parsing creation result and receiving id with the help of "jq".
Hi,
CardName1 contains the name of the card.
CardName2 contains the name with adding one more space at the end.
CARD_ID=\$(curl -X GET \$URL1 | jq -r --arg NAME1 "\${CARD_NAME1}" --arg NAME2 "\${CARD_NAME2}" '.[] | select((.name==\$NAME1) or (.name==\$NAME2)) | .id')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
URL variable contains request to the trello api to the the specific List ID
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.