getProjectIssueSecurityScheme
Get project issue security scheme
Details
- Method:
GET - Path:
/rest/api/3/project/{projectKeyOrId}/issuesecuritylevelscheme - Operation ID:
getProjectIssueSecurityScheme
Parameters
{
"projectKeyOrId": {
"description": "The project ID or project key (case sensitive).",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"additionalProperties": false,
"description": "Details about a security scheme.",
"properties": {
"defaultSecurityLevelId": {
"description": "The ID of the default security level.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"description": {
"description": "The description of the issue security scheme.",
"readOnly": true,
"type": "string"
},
"id": {
"description": "The ID of the issue security scheme.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"levels": {
"items": {
"additionalProperties": false,
"description": "Details of an issue level security item.",
"properties": {
"description": {
"description": "The description of the issue level security item.",
"readOnly": true,
"type": "string"
},
"id": {
"description": "The ID of the issue level security item.",
"readOnly": true,
"type": "string"
},
"isDefault": {
"description": "Whether the issue level security item is the default.",
"readOnly": true,
"type": "boolean"
},
"issueSecuritySchemeId": {
"description": "The ID of the issue level security scheme.",
"readOnly": true,
"type": "string"
},
"name": {
"description": "The name of the issue level security item.",
"readOnly": true,
"type": "string"
},
"self": {
"description": "The URL of the issue level security item.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"description": "The name of the issue security scheme.",
"readOnly": true,
"type": "string"
},
"self": {
"description": "The URL of the issue security scheme.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('getProjectIssueSecurityScheme', {
# Add required parameters here
})