Mutation to create a new Idea and associate it with an existing Product Area. A Description on the Idea is optional.
Sample Mutation
// Create idea mutation
mutation {
createIdea (
title: "Refactor existing codebase"
description: "This app was released on time constraints. It's time to re-visit some areas of the app"
productAreaID: "5e71257b329bd3f04e33b96a"
) {
id
title
description
createdAt
productAreas {
id
name
type
}
}
}
Sample Response
// Create idea mutation successful result
{
"data": {
"createIdea": {
"id": "5e74f1f6f0dd40574d051f43",
"title": "Refactor existing codebase",
"description": "This app was released on time constraints. It's time to re-visit some areas of the app",
"createdAt": "1582224922461",
"productAreas": [
{
"id": "SF5tyhaS",
"name": "Mobile App",
"type": "product"
}
]
}
}
}