def parse_ticket_id(pr_title):
    """ Parse JIRA, Rally and other platfroms ticket id """

    if pr_title is None or len(pr_title.strip()) == 0:
        return None

    pr_title = pr_title.strip()
    ticket_id = pr_title.split(':')[0]

    return ticket_id.strip()