product_create_artifact
Creates artifacts in a Spira product, with required names and descriptions for most types; use parent or release IDs for sub-artifacts and builds.
Instructions
Create artifacts in a Spira product.
Name and Description are required for most types. Sub-artifacts (test_step, mitigation, requirement_step) require parent_id. Builds require release_id. Use get_artifact_schema to discover optional writable fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| parent_id | No | ||
| product_id | No | ||
| release_id | No | ||
| artifact_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |