Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replaced 'JIRA' with 'Jira' by Qron Search and Replace.

...

Code Block
languagexml
titleTemplate code block rendering HTML links
#set ($transitions = $!jetiFieldRenderer.getWorkflowActions($!issue))
#if ($!transitions && $!transitions.size() > 0)
#foreach($transition in $!transitions)
<a style="border-left:1px solid #ccc; padding:4px 10px; float:left;" href="$baseurl/secure/WorkflowUIDispatcher.jspa?id=$issue.id&action=$!transition.id">$!transition.name</a>
#end
#end

TEXT:

Code Block
titleTemplate code block rendering links in Text emails
#set ($transitions = $!jetiFieldRenderer.getWorkflowActions($!issue))
#if ($!transitions && $!transitions.size() > 0)
#foreach($transition in $!transitions)
$stringUtils.leftPad($!transition.name, $padSize): $baseurl/secure/WorkflowUIDispatcher.jspa?id=$issue.id&action=$!transition.id
#end
#end

Form Token Errors will Occur

JIRA Jira has protection against various web security vulnerability, like CSS, XSRF etc. JIRA Jira uses form tokens in each links it exposes. These tokens are uniquely generated for each request/response. Read more details in the JIRA Jira documentation.

We cannot workaround this token checking, this means when you open an operation link from email, you'll see an error screen like this even if you have a running session in your browser: 

...