You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @jvilalta, I just tried to replicate the issue mentioned above. I was able to create the labels successfully, and they are being attached correctly. Can you please check it again?
I see what the issue is now, the API is returning a 301 when I make a patch request, redirecting the same url with GET as the method.
When I do a post, it works, fine.
Is there an existing issue for this?
Current behavior
When I attempt to add assignees or labels to an issue via the PATCH method, I get a success response code (200), but the issue is not updated.
Steps to reproduce
curl --location --request PATCH 'https://api.plane.so/api/v1/workspaces/{my-slug}/projects/{projectId}/issues/{IssueId}'
--header 'x-api-key: mykey'
--header 'Content-Type: application/json'
--data '{
"labels":["{labelID}"]
}'
Environment
Production
Browser
None
Variant
Cloud
Version
Latest
The text was updated successfully, but these errors were encountered: