-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Visual SQL Step - Transformation Step
-
None
Problem
When building a matrix/pivot-style table in Atlassian Analytics where rows are parent work items (Epics), columns are time periods (Quarters), and cells contain child work items (Stories), there is no way to dynamically generate columns based on the distinct values in a field.
The current Pivot step in Visual SQL concatenates all values into a single cell when multiple items share the same row/column intersection — making the output unreadable for text-based fields like work item names.
The SQL mode workaround requires hard-coding each column as a CASE WHEN statement. This means: * Columns for quarters with no data still appear as empty columns in the output
- New quarters must be manually added to the SQL every time a new quarter begins
- There is no way to automatically suppress columns that contain no data
Expected behavior
Users should be able to define a pivot/matrix table where: # Columns are dynamically generated based on the distinct values present in a specified field (e.g. Quarter)
- Columns with no data are automatically excluded from the output
- Cells can contain multiple values displayed as separate rows rather than concatenated into a single string
Use case example
An enterprise customer wants to view a roadmap matrix showing: * Rows: Epics (Outcomes)
- Columns: Quarters (dynamically generated, only quarters with work shown)
- Cells: Individual Stories belonging to each Epic in that Quarter, each as a separate clickable hyperlink
This is a common planning and reporting view that is not achievable today without manual SQL maintenance every quarter.
Impact
This affects any customer trying to build cross-tab or matrix reporting views with text-based values — a common enterprise reporting pattern for roadmaps, OKR tracking, and portfolio planning.