wit_add_child_work_items
Create multiple child work items under a parent work item in Azure DevOps. Specify the work item type, parent ID, project, and details like title, description, area, and iteration paths.
Instructions
Create one or many child work items from a parent by work item type and parent id.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | ||
parentId | Yes | The ID of the parent work item to create a child work item under. | |
project | Yes | The name or ID of the Azure DevOps project. | |
workItemType | Yes | The type of the child work item to create. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"items": {
"additionalProperties": false,
"properties": {
"areaPath": {
"description": "Optional area path for the child work item.",
"type": "string"
},
"description": {
"description": "The description of the child work item.",
"type": "string"
},
"format": {
"default": "Html",
"description": "Format for the description on the child work item, e.g., 'Markdown', 'Html'. Defaults to 'Html'.",
"enum": [
"Markdown",
"Html"
],
"type": "string"
},
"iterationPath": {
"description": "Optional iteration path for the child work item.",
"type": "string"
},
"title": {
"description": "The title of the child work item.",
"type": "string"
}
},
"required": [
"title",
"description"
],
"type": "object"
},
"type": "array"
},
"parentId": {
"description": "The ID of the parent work item to create a child work item under.",
"type": "number"
},
"project": {
"description": "The name or ID of the Azure DevOps project.",
"type": "string"
},
"workItemType": {
"description": "The type of the child work item to create.",
"type": "string"
}
},
"required": [
"parentId",
"project",
"workItemType",
"items"
],
"type": "object"
}