I created a pipe using the GraphQL API, but when I try to move a card from one phase to another, the message "You cannot move the card to this phase" is displayed. I tried to find how to update the "next_phase_ids" field of a phase in the API but couldn't find it. Can this configuration only be done via the interface?
Hi,
check if the permissions for your users are allowed for this Pipe, or if the phase movement configuration is enabled for cards to be moved from this phase to the next
Hello
The pipe was created with the following mutation:
mutation {
createPipe(input: {
name: "Name",
organization_id: "123",
members:
{ role_name: "admin", user_id: "XXXX" }
],
start_form_fields:
{
label: "Contract ID",
type_id: "short_text",
editable: false
required: true
}
],
phases:
{ name: "Draft", done: false },
{ name: "Created", done: false },
{ name: "Canceled", done: true }
{ name: "Completed", done: true }
],
color: blue,
icon: "payable"
}) {
clientMutationId,
pipe {
id
phases {
name,
id
}
}
}
}
I am not able to move cards from draft to created; I can only change "Configure move cards". I want to perform all configurations via API so that if I need to recreate the pipe, I can do it quickly.
Hi,
right, but the problem may be in the configuration in the Pipe itself. See this article https://help.pipefy.com/en/articles/614653-moving-cards-through-the-pipe
I have the same problem, I created the pipe and the phases by Pipefy API, when moving the cards I can only move them to the previous or next phase, I saw that through the application I can change the phase configuration and then I can move the card to any phase, but I was unable to replicate this configuration by API.
Reply
Join us in the Pipefy Community! 🚀
No account yet? Create an account
Login with your Pipefy credentials
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.