PQL CUSTOM CHARTS

Create custom charts based on Projectrak PQL

Overview

Projects in Jira require enough information to properly track their status and control a successful result. For doing so, Projectrak by DEISER provides a unique solution to add custom fields to projects, making data annotation a simple and smooth process. Review all the benefits that this app brings, like predefine fields ready right after installing it; the list view of projects to see your portfolio information at a glance; the release view to keep your version planning visible for all stakeholders, etc.

This gadget displays the result of a PQL query, as a table or a chart. Indicate a custom PQL, then indicate how you want to display the results View Type, the Columns you want to display in your report in case of a table (drag and drop to change the order), and performing grouping and/or aggregations (see next sections for further information).

note

Projectrak provides the Project Query Language (PQL), which is like the Jira Query Language (JQL), but to query data from your projects.

For example, to list all the projects in the software category where the Country is Germany or the Continent is Europe, then use the following PQL query:

category = development AND ( Country = Germany OR Continent = Europe )

Projectrak provides the Project Query Language (PQL), which is like the Jira Query Language (JQL), but to query data from your projects.

For example, to list all the projects in the software category where the Country is Germany or the Continent is Europe, then use the following PQL query:

category = development AND ( Country = Germany OR Continent = Europe )

You can select any of the following visual metaphors to represent the resulted data by the JQL in the View Type field: Table, line chart, tile chart, pie chart, bar chart, grouped bar chart, stacked bar chart or multi line chart.


View type: Table

The results of your PQL query as a table, where you can select which columns are displayed.

Group results

Group results by selected columns If you are familiar with the GROUP BY statement in SQL, you’ll quickly find interesting uses to group the results of your PQL. If you select to group the results by the previously selected columns, the result rows will be split into groups, based on their values. Thus, only one row will be displayed for each of the groups, so be careful because this implies constraints on the columns.

For example, if we filter the previous list of issues by the column Status, the results will show only six rows (one per status) vs one status per project row otherwise.

The grouping of columns is typically combined with aggregations, which moves us to the next section.

Aggregations

Aggregations are also a common in the SQL domain. These functions get the values of grouped rows as the input of that function to return a calculated value. This gadget currently support five functions:

For example, if we want to indicate the total number of projects per status and lead:


View type: Chart

Remember that:

Chart by. Indicates the x-axis values (horizontal axis), also referred as the series, or in layman terms, the concepts we see in the legend of the chart.

Type. Is the aggregation you want to apply to the field: count, sum, max, min, mean. Check the aggregations section.

Field. Indicates the y-axis values (vertical axis), what do we want to plot in the chart.

Pie chart

A pie chart is a visualization of your data in a circular graph, where each slice indicates the quantity of the result of your PQL. When a pie chart has several sections or slices, it’s difficult to compare one with another. To overcome this inconvenience, the pie chart comes with a table indicating the values of each slice and the % it represents.

EDIT THIS SECTION

When the field selected in “Chart by” has a date format e.g., Created, a new selector appears to allow grouping by day, week, month, quarter or year, making the results easier to understand and communicate.


Custom colors

Colors have the power of communicating meaning, provoke emotions and highlight information. In projects we give colors to priorities, status and logos, so a quick glance gives us enough information to transmit information, provoke reactions or prompt responses.

All charts display the ability of changing the color of each specific segment or value:

The provided color picker permits the selection of colors by hexadecimal codes, RGB or our pre-defined 24 colors palette (selected based on the right contrasts and tones).

Hide segments

The silence, as well as the absence of elements are key to properly communicate information. It’s up to the ability of the chart creator to master this skill. We just give you the tools. Clicking on the (blue star) eye icon, the corresponding segment is hidden (or shown) in the chart:

Reorder segments

UPDATE THIS PARAGRAPH

In the same line of hiding segments or customizing the colors of our charts, rearranging the position of the existing segments or values reinforces the way we transmit the information with our charts.

Just drag and drop any segment or value from the six dots in the left side of the segments and move it upwards or downwards to the correct place, and the chart will be updated accordingly.

Configuration

Name your gadget meaningfully, so everyone knows at a glance what it is about and when to use it. Fill out the rest of the fields as applicable, namely:

Integrations

We are working on our growing catalog of Dashboard Gadgets: KPIs and Metrics and Dashboard Integrations: Supported Products, but contact us you want us to expedite a specific one, visit our Help Center.

Dashboards

This gadget is not included in any pre-defined dashboard, check other orphan gadgets: Orphan gadgets.

See also