Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Email This Issue allows template developers to search for issues and render them into the email using the template support API.

Table of Contents

Find Issues using JQL

...

Note

JQL query may dynamically generated using the current issue's or curent user's information.


Find Issues using JQL

The below example searches for the first issue matching the JQL query.

Code Block
#set($firtstIssue = $!templateSupport.firstIssueMatchingJQL("project = $issue.projectObject.key AND assignee=$!currentUser.name AND priority = Highest ORDER BY rank"))

$!firstIssue.summary

...