Fix mistake in reference_jira_issue method (markdown)

Use local variable instead global