Sometimes, customers want to edit an idea’s status attributes (status name, status description, label type, and label color code). To edit these attributes, you can use the Edit Idea Status GraphQL API call.
Requirements
You must have the Create or delete statuses for ideas and Edit board settings set to Grant by the Administrator.
Example
This example shows how to edit the status attributes and the label color.
In the editIdeaStatus
mutation, the label color is changed from 5b325c
to ff7e7e
and the label visibility is updated from true
to false
.
mutation {
editIdeaStatus(boardId: "board:idea1",
statusKey: "new",
name: "New 1",
labelType: FILLED,
labelVisible: false,
labelColor: "ff7e7e") {
result
}
}
The response for this GraphQL call looks like this:
{
"data": {
"editIdeaStatus": {
"result": true
}
}
}
ATLAS
Comments