def get_priority(severity):
    """
    Fetch defined priority for Jira based on Sonarqube issue priority.

    :return: Jira priority
    :rtype: String
    """
    if severity in ("BLOCKER", "CRITICAL"):
        return "Major (P2)"

    elif severity == "MAJOR":
        return "Minor (P3)"

    elif severity in ("MINOR", "INFO"):
        return "Not Blocking (P4)"

    else:
        return "Unprioritised"