mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 09:13:14 +00:00
16 lines
380 B
Python
16 lines
380 B
Python
|
|
from typing import Any
|
||
|
|
|
||
|
|
from ..utils.jira import get_issue
|
||
|
|
|
||
|
|
|
||
|
|
async def jira_get_issue(issue_key: str) -> dict[str, Any]:
|
||
|
|
"""Get a Jira issue by its key (e.g. PROJ-123).
|
||
|
|
|
||
|
|
Args:
|
||
|
|
issue_key: The Jira issue key (e.g. PROJ-123).
|
||
|
|
|
||
|
|
Returns:
|
||
|
|
Dictionary with 'issue' containing the normalized issue (markdown body).
|
||
|
|
"""
|
||
|
|
return await get_issue(issue_key)
|