Mutation to update the properties of an existing Idea. The only parameters updated are those explicitly included in the arguments with this API call; all other parameters retain their existing values.
Sample Mutation
// Update idea mutation
mutation {
updateIdea (
ideaID: "5e74f1f6f0dd40574d051f43"
title: "Refactor item search"
description: "This app was released on time constraints. It's time to re-visit some areas of the app. We should specifically look at improving item search"
) {
id
title
description
createdAt
updatedAt
factorValues (ideaViewID: "RICE") {
factorID
value
factor {
title
type
isPositive
isPreset
}
}
comments {
id
author {
displayName
}
text
}
productAreas {
id
name
type
}
roadmapItemIDs
}
}
Sample Response
// Update idea mutation successful result
{
"data": {
"updateIdea": {
"id": "5e74f1f6f0dd40574d051f43",
"title": "Refactor item search",
"description": "This app was released on time constraints. It's time to re-visit some areas of the app. We should specifically look at improving item search",
"createdAt": "1582224922461",
"updatedAt": "1582225923621",
"factorValues": [
{
"factorID": "REACH",
"value": 0,
"factor": {
"title": "Reach",
"type": "numeric",
"isPositive": true,
"isPreset": true
}
},
{
"factorID": "IMPACT",
"value": 2,
"factor": {
"title": "Impact",
"type": "rating",
"isPositive": true,
"isPreset": true
}
},
{
"factorID": "CONFIDENCE",
"value": 0.5,
"factor": {
"title": "Confidence",
"type": "harvey_ball",
"isPositive": true,
"isPreset": true
}
},
{
"factorID": "EFFORT",
"value": 5,
"factor": {
"title": "Effort",
"type": "rating",
"isPositive": false,
"isPreset": true
}
}
],
"comments": [
{
"id": "5e74f266f0dd40574d051f44",
"author": {
"displayName": "Toby Sekhon"
},
"text": "I like this idea we should get onto it ASAP"
}
],
"productAreas": [
{
"id": "5e71257b329bd3f04e33b96a",
"name": "Mobile App",
"type": "product"
}
],
"roadmapItemIDs": []
}
}
}