Skip to content

Instantly share code, notes, and snippets.

@rruhlen
Created September 18, 2013 23:02
Show Gist options
  • Select an option

  • Save rruhlen/6616963 to your computer and use it in GitHub Desktop.

Select an option

Save rruhlen/6616963 to your computer and use it in GitHub Desktop.
Create a quick link with a Jira OnDemand instance.
<div class="case_one_col">
<span class="tab_label">
Quick JIRA Link
</span>
<div class="case_quick_jira">
<a id="quick_bug_{{case.id}}" href="https://site_name.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=10013&issuetype=1&summary={{ case.subject | remove_first:'→' | remove_first:'←' |escape}}&priority=3&customfield_10721={{case.customer.company|escape}}%20-%20https://site_name.desk.com/agent/case/{{case.id}}%20%28{{ case.created_at | date: "%m/%d/%Y"}}%29&description={{case.emails.first.body|escape}}" target="jira">Bug</a>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment