Associate ticket from one space to other: Error code 422 Unprocessable Entity

41 views
Skip to first unread message

Sarah Saleem

unread,
May 24, 2017, 6:05:09 AM5/24/17
to Assembla API Development
Hi,

Urgent help needed!

I need to associate a ticket from one space to another. I can't do that via API, returned response is 422.

If I do curl via following command:

curl -H "X-Api-Key: <key>" -H "X-Api-Secret: <secret>" -H "Content-Type: application/json" -d '{"ticket_association":{"ticket2_id":104308603,"relationship":2}}' https://api.assembla.com/v1/spaces/<space_id>/tickets/12/ticket_associations.json

I get the error as: {"errors":{"base":["Associated tickets should belong to same project"]}}.

Moreover, I'm able to associate a ticket if it belongs to the same project/space. 

-- Sarah

Sarah Saleem

unread,
May 27, 2017, 3:43:01 PM5/27/17
to Assembla API Development
waiting for reply!

Stanislav Kolotinskiy

unread,
May 29, 2017, 2:13:27 AM5/29/17
to Sarah Saleem, Assembla API Development
Hi Sarah,

right now it’s not possible to associate tickets between spaces via API. Sorry for the inconvenience.

Regards,
Stanislav

--
You received this message because you are subscribed to the Google Groups "Assembla API Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to assembla-api-d...@googlegroups.com.
To post to this group, send email to assembla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sarah Saleem

unread,
May 29, 2017, 12:07:43 PM5/29/17
to Assembla API Development, sarah....@elastica.co
Thanks for informing.
Reply all
Reply to author
Forward
0 new messages