Move a phase field up or down to change the order it appears in a phase.
Before You Begin
🔗 Use the GraphQL Playground to execute the queries in this guide.
➡️ New to GraphQL? Learn how to navigate the Playground with our Playground Basics Guide.
Prerequisites
- Authentication: Use a Service Account token (Personal Access Tokens are deprecated).
- Permissions: Your token must have admin access to the pipe that contains the phase.
- Field UUID: Identify the UUID of the phase field you want to move.
Step 1: Find the Field UUID
Query the phase to list its fields and their UUIDs:
{
phase(id: 123456789) {
fields {
uuid
label
index
}
}
}
The index value reflects the current display order of each field.
Step 2: Move the Field
Use moveUpPhaseField to swap the field with the one before it:
mutation {
moveUpPhaseField(input: { uuid: "field-uuid-here" }) {
success
}
}
Or use moveDownPhaseField to swap it with the one after it:
mutation {
moveDownPhaseField(input: { uuid: "field-uuid-here" }) {
success
}
}
uuid: The UUID of the phase field to move.
A sample response:
{
"data": {
"moveUpPhaseField": {
"success": true
}
}
}
Key Notes
- Each call moves the field one position at a time. Run the mutation repeatedly to move a field several positions.
- Moving the first field up (or the last field down) returns the error
Field could not be moved.— the field has no neighbor to swap with. - An unknown UUID returns
Field not found with uuid: <uuid>. - Users without admin permission on the pipe receive a
Permission deniederror. - To create new fields in a phase, see Create fields in a phase.
