Skip to main content
Glama

set_defence_checked

Validate and mark JIRA issues as defence-checked using the MCP server, ensuring compliance by verifying portfolio details and task readiness.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portfolioYes

Implementation Reference

  • The handler function for the 'set_defence_checked' tool. It updates the custom field (customfield_32210) on the Jira issue PORTFOLIO-{portfolio} with the defense text and returns a success message with the task URL.
    @mcp.tool() def set_defence_checked(portfolio: int) -> str: try: jira_api = get_jira() issue = jira_api.issue(f"PORTFOLIO-{portfolio}") issue.update(fields={'customfield_32210': [{'value': get_defense_text()}]}) return "Defence checked for " + get_task_url(issue.key) except Exception as e: return f"Error: {str(e)}"

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexeydubinin/hh-jira-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server