Searching for issues in email templates
Getting the first issue that matches a JQL query
#set($firtstIssue = $!templateSupport.firstIssueMatchingJQL("project = $issue.projectObject.key AND assignee=$!currentUser.name AND priority = Highest ORDER BY rank"))
$!firstIssue.summaryChecking if an issue matches a JQL query
#if($!templateSupport.issueMatchesJQL("mycustomfield = somevalue AND component=ImportantComponent", $!issue)
## do something...
#endFinding issues using JQL
Last updated