JQL Data Source

Overview

Please, see the example issue-cards.jrxml file in which JQL Data Source is used.

Query 

In jrxml files in queryString you can use JQL expression like in JIRA navigator.

<queryString language="JQL">
<![CDATA[reporter = currentUser()]]>
</queryString>

All valid JQL expressions should work. All custom functions should work. Datasource will be feeded with all issues found by JQL query which user can access in JIRA.

When building queryString report parameters can be used. Parameters expressions $P{param}and parameters clause expressions $P!{param} are resolved to its values and being substituted in query as strings. Please note that when using parameters with different than java.lang.Stringclass - their values will be converted to strings when substituted. You can use intermediate Jasper parameter with defaultExpression to workaround this mechanisms, when needed.

Fields

FieldClassDescription

Assignee

com.codedoers.jira.smartreports.model.User,

Created

java.util.Date
Creatorcom.codedoers.jira.smartreports.model.User
Descriptionjava.lang.String
Duejava.util.Date
Environmentjava.lang.String

IssueType

com.codedoers.jira.smartreports.model.DictionaryItem,
Keyjava.lang.String
Prioritycom.codedoers.jira.smartreports.model.DictionaryItem,

Reporter

com.codedoers.jira.smartreports.model.User
ResolutionDatejava.util.Date
Resolutioncom.codedoers.jira.smartreports.model.DictionaryItemsee our documentation
Summaryjava.lang.String
Updatedjava.util.Date