Add a Jira ticket directly from your IDE, and it will be permanently linked to -and from- the code block it references.