def parsed_title(self): """ Get this issue's title as a HTML fragment, with referenced JIRAs turned into links and the non-category / JIRA portion of the title linked to the issue itself. """ return parse_pr_title((self.pr_json and self.pr_json["title"]) or self.title)
def parsed_title(self): """ Get a parsed version of this PR's title, which identifies referenced JIRAs and metadata. For example, given a PR titled "[SPARK-975] [core] Visual debugger of stages and callstacks"" this will return {'jiras': [975], 'title': 'Visual debugger of stages and callstacks', 'metadata': ''} """ return parse_pr_title(self.raw_title)