def _resolve_priority(self, priority_name: str) -> dict:
        """Resolve Jira priority:
        1. User configured priority mapping (if defined)
        2. Fallback to current behavior (use priority name as-is)

        Returns:
            dict: Priority field in format {"name": str}
        """
        # 1. Try user configured priority mapping
        if hasattr(self, "params") and self.params.priority_mapping:
            for severity, mapped_name in self.params.priority_mapping.items():
                if mapped_name == priority_name:
                    return {"name": mapped_name}

        # 2. Fallback to current behavior
        return {"name": priority_name}
Resolve Jira priority:
        1. User configured priority mapping (if defined)
        2. Fallback to current behavior (use priority name as-is)

        Returns:
            dict: Priority field in format {"name": str}
        
src/robusta/integrations/jira/client.py