updateWorkItem

Contents

This mutation updates an existing work item.

Query

updateWorkItem (WorkItem!)
Updates a single work item.

Argument Type Description
app String! The api name of the app to update the work item instance in.
type String! The template api name of the item to update.
id ID! The id of the item to update.
attributes [AttributeValueUpdate!] Attribute values to set.
metrics [MetricValueUpdate!] Metric values to update.
participants [ParticipantUpdate!] Participants to assign or unassign.

Example

mutation {
  updateWorkItem(
    app: "App_1__app"
    type: "Program__t"
    id: "1"
    attributes: [
      {attribute: "name" value: "Top Level"}
    ]
    metrics: [
      {metric: "Savings__m" dataset: "target__d" value: "1000000"}
    ]
    participants: [
      {username: "[email protected]" role: "Budget_Administrator__r"}
    ]) {
     url
  }
}
{
  "data": {
    "updateWorkItem": {
      "url": "https://app.shibumi.com/shibumi/12345678-1234-1234-1234-123456789012/workItem-summary?id=12345678-1234-1234-1234-123456789012"
    }
  }
}
Updated on September 9, 2025

Related Articles