def getTicketInfo(self, ticket):
        data = self.__readJsonInfo(ticket)

        embedded_links = {}
        title = "Untitled"
        ret = { "html_url" : "{0}/{1}".format(self.__conf["HtmlUrl"],ticket),
                "ticket" : ticket,
                "title" : title }

        if "fields" in data.keys():
            title = data["fields"]["summary"]
            ret["title"] = title
            for ticket in self.extractTicketsFromMessage(title):
                embedded_links[ticket] = "{0}/{1}".format(self.__conf["HtmlUrl"],ticket)
            ret["state_icon"] = self.__fieldIcon(data["fields"]["status"])
            ret["issue_type_icon"] = self.__fieldIcon(data["fields"]["issuetype"])
            ret["priority_icon"] = self.__fieldIcon(data["fields"]["priority"])
            ret["embedded_link"] = embedded_links
            ret["reporter"] = data["fields"]["reporter"]["displayName"]
        else:
            return None

        return ret
dataset/ETHPy150Open Cimpress-MCP/JustReleaseNotes/JustReleaseNotes/issuers/JiraIssues.py/JiraIssues.getTicketInfo/original