Start a conversation

Move an Idea Status

Organizing Idea statuses is made possible using this GraphQL solution.

Using the moveIdeaStatus GraphQL mutation, you can move Idea statuses between groups, and/or reorder statuses within a target group.

Requirements

An Administrator or normal user with the Create or delete statuses for ideas permission set to Grant can use this mutation.

alt_text

Examples

In the example below, we are using the moveIdeaStatus mutation to move a status within a target group. The query is the same whether you're moving a status between groups or within a group it already belongs to.

The moveAfterStatusKey field determines where the status will appear in the order within the group. This field can be null. If so, the status will become the first in the group's order.

mutation {
  moveIdeaStatus(
    boardId: "board:idea01",
    statusKey: "accepted",
    targetStatusGroupKey: "closed",
    moveAfterStatusKey: "declined"
  ) {
    result
    errors {
      ... on Error {
        message
        fields
      }
    }
  }
}

The returned results from the mutation are below:

{
    "data": {
        "moveIdeaStatus": {
            "result": true,
            "errors": null
        }
    }
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments