Email This Issue allows template developers to search for issues and render them into the email using the template support API.
Get the First Issue that Matches a JQL Query
The below example searches for the first issue matching the JQL query.
Check if an Issue Matches a JQL Query
Sometimes is necessary to develop conditional templates based on complex issue attributes:
Find Issues using JQL
Fetch and iterate through the list of issues matching a JQL query.