update_story
Modify existing ServiceNow stories by updating fields like description, state, assignment, acceptance criteria, and work notes to reflect progress and changes.
Instructions
Update an existing story in ServiceNow
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acceptance_criteria | No | Acceptance criteria for the story | |
| assigned_to | No | User assigned to the story | |
| assignment_group | No | Group assigned to the story | |
| description | No | Detailed description of the story | |
| epic | No | Epic that the story belongs to. It requires the System ID of the epic. | |
| project | No | Project that the story belongs to. It requires the System ID of the project. | |
| short_description | No | Short description of the story | |
| state | No | State of story (-6 is Draft,-7 is Ready for Testing,-8 is Testing,1 is Ready, 2 is Work in progress, 3 is Complete, 4 is Cancelled) | |
| story_id | Yes | Story IDNumber or sys_id. You will need to fetch the story to get the sys_id if you only have the story number | |
| story_points | No | Points value for the story | |
| work_notes | No | Work notes to add to the story. Used for adding notes and comments to a story |
Input Schema (JSON Schema)
{
"properties": {
"acceptance_criteria": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Acceptance criteria for the story",
"title": "Acceptance Criteria"
},
"assigned_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "User assigned to the story",
"title": "Assigned To"
},
"assignment_group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Group assigned to the story",
"title": "Assignment Group"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Detailed description of the story",
"title": "Description"
},
"epic": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Epic that the story belongs to. It requires the System ID of the epic.",
"title": "Epic"
},
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Project that the story belongs to. It requires the System ID of the project.",
"title": "Project"
},
"short_description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Short description of the story",
"title": "Short Description"
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "State of story (-6 is Draft,-7 is Ready for Testing,-8 is Testing,1 is Ready, 2 is Work in progress, 3 is Complete, 4 is Cancelled)",
"title": "State"
},
"story_id": {
"description": "Story IDNumber or sys_id. You will need to fetch the story to get the sys_id if you only have the story number",
"title": "Story Id",
"type": "string"
},
"story_points": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Points value for the story",
"title": "Story Points"
},
"work_notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Work notes to add to the story. Used for adding notes and comments to a story",
"title": "Work Notes"
}
},
"required": [
"story_id"
],
"type": "object"
}