assignSchemeToProject
Assign workflow scheme to project
Details
- Method:
PUT - Path:
/rest/api/3/workflowscheme/project - Operation ID:
assignSchemeToProject
Parameters
{
"projectId": {
"description": "The ID of the project.",
"required": true,
"location": "body",
"type": "string"
},
"workflowSchemeId": {
"description": "The ID of the workflow scheme. If the workflow scheme ID is `null`, the operation assigns the default workflow scheme.",
"required": false,
"location": "body",
"type": "string"
}
}Response Schema
{}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('assignSchemeToProject', {
# Add required parameters here
})