valid_stage_transition
Use this tool to retrieve valid stage transitions for a work item or part in DevRev. Ensure stage updates comply with valid transitions by checking before applying changes.
Instructions
gets a list of valid stage transition for a given work item (issue, ticket) or part (enhancement). Use this before updating stage of the work item or part to ensure the transition is valid.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | Yes | The DevRev ID of the work item (issue, ticket) or part (enhancement) | |
type | Yes |
Input Schema (JSON Schema)
{
"properties": {
"id": {
"description": "The DevRev ID of the work item (issue, ticket) or part (enhancement)",
"type": "string"
},
"type": {
"enum": [
"issue",
"ticket",
"enhancement"
],
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}