search_team_active_portfolios
Find active portfolios for a specific team in JIRA to track ongoing projects and monitor team workload.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team": "<team>"
},
"name": "search_team_active_portfolios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes |
Implementation Reference
- src/hh_jira_mcp_server/server.py:9-18 (handler)The handler function decorated with @mcp.tool() that implements the search_team_active_portfolios tool. It queries Jira for active portfolios in the specified team and returns JSON results.
@mcp.tool() def search_team_active_portfolios(team: str) -> str: try: issues = get_jira().search_issues(jql_str=f'project = "PORTFOLIO" and "Delivery Team" = "{team}"' + get_search_filter(), maxResults=50, json_result=True, fields="summary,description,duedate,customfield_11212") return json.dumps(issues, indent=4) except Exception as e: return f"Error: {str(e)}"