Top Banner
Translating JQL queries to the eazyBI reports J ā nis Pl ū me
20

Translating JQL queries to the eazyBI reports

Jan 20, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Translating JQL queries to the eazyBI reports

Translating JQL queries to the eazyBI reports

Jānis Plūme

Page 2: Translating JQL queries to the eazyBI reports

Jānis Plūme

”Engineering customer requests and compliance”

Page 3: Translating JQL queries to the eazyBI reports

Customised query language Jira-model-aware

Jira reporting with JQL

Data export Export to visualise further with spreadsheets

Manual work Manual data processing and lack of the advantages of multidimensional queries

Page 4: Translating JQL queries to the eazyBI reports

Customised query language Jira-model-aware

Data export Export to visualise further with spreadsheets

Jira reporting with JQL

Manual work Manual data processing and lack of the advantages of multidimensional queries

Page 5: Translating JQL queries to the eazyBI reports

Customised query language Jira-model-aware

Jira reporting with JQL

Data export Export to visualise further with spreadsheets

Manual work Manual data processing and lack of the advantages of multidimensional queries

Page 6: Translating JQL queries to the eazyBI reports

Reuse your JQL to start advanced reporting with

eazyBI

Page 7: Translating JQL queries to the eazyBI reports

Hands-on !

https://eazybi-training.atlassian.net/

Page 8: Translating JQL queries to the eazyBI reports

Example 1 - simple query with “AND”

project = "DEMO Alpha" AND status = "In Progress"

Page 9: Translating JQL queries to the eazyBI reports

project = "DEMO Alpha" AND status = "In Progress"

Example1: simple query

Page filter

Universal measure

Page 10: Translating JQL queries to the eazyBI reports

project = "DEMO Alpha" AND status = "In Progress"

Example1: simple query

Page filter

Universal measure

([Measures].[Issues created], [Project].[Demo Alpha], [Status].[In Progress])

Page 11: Translating JQL queries to the eazyBI reports

Value selections with JQL “IN” and “NOT IN”

Page 12: Translating JQL queries to the eazyBI reports

project in ("DEMO Alpha","DEMO Beta","DEMO Gamma") and resolutiondate > startOfYear()

Example 2 - How to do

“In” “Not In”

Aggregate

Aggregate except

Multiple values

Aggregate( Filter([Project].[Project].Members, [Project].CurrentMember.Name matches "DEMO.*" ))

([Measures].[Issues resolved],[Project].[Demo projects],[Time].[Year].CurrentdateMember)

Page 13: Translating JQL queries to the eazyBI reports

project in ("DEMO Alpha","DEMO Beta","DEMO Gamma") and status not in (Done,"To Do")

Example 2 - How to do

“In” “Not In”

Aggregate

Aggregate except

Multiple values

Aggregate( Except([Status].[Status].Members, {[Status].[To Do], [Status].[Done]} ))

([Measures].[Issues created], [Project].[Demo projects], [Status].[Except To Do and Done])

Page 14: Translating JQL queries to the eazyBI reports

labels not in (Small,Mini,Compact)Example 2 - How to do

“In” “Not In”

Aggregate

Aggregate except

Multiple values

count( Filter(Descendants([Issue].CurrentMember,[Issue].[Issue]), [Measures].[Issues created]>0 and IsEmpty(([Measures].[Issues created], [Label].[Small, Mini, Compact])) and IsEmpty(([Measures].[Issues created], [Label].[(none)])) ))

Issue1

Small Other

Labels Except “Small”

Page 15: Translating JQL queries to the eazyBI reports

JQL filters using “OR”

Page 16: Translating JQL queries to the eazyBI reports

project = "DEMO Alpha" AND status = "In Progress" OR project = "DEMO Beta" AND resolution = Unresolved

Example 3 - simple “OR”

Tuples

Descendants

Filters for issue list ([Measures].[Issues created],

[Project].[Demo Alpha])>0 and [Measures].[Issue status]="In Progress" or ([Measures].[Issues created], [Project].[Demo beta])>0 and [Measures].[Issue resolution]="(unresolved)"

Page 17: Translating JQL queries to the eazyBI reports

project = "DEMO Alpha" AND status = "In Progress" ORproject = "DEMO Beta" AND resolution = Unresolved

Example 2 - simple “OR”

Tuples

Descendants

Filters

nonzero(count( Filter(Descendants([Issue].CurrentMember,[Issue].[Issue]), ([Measures].[Issues created], [Project].[Demo Alpha])>0 and [Measures].[Issue status]="In Progress" or ([Measures].[Issues created], [Project].[Demo beta])>0 and [Measures].[Issue resolution]="(unresolved)" )))

Page 18: Translating JQL queries to the eazyBI reports

project = "DEMO Alfa" AND status = "In Progress" OR project = "DEMO Beta" AND resolution = Unresolved

Example 2 - simple “OR”

Tuples

Descendants

Filters

([Measures].[Issues created], [Project].[Demo Alpha], [Status].[In Progress]) +

([Measures].[Issues created], [Project].[Demo Beta], [Resolution].[(unresolved)])

Luckily, in this case the parts of the “OR” expression do not overlap!

Page 19: Translating JQL queries to the eazyBI reports

priority NOT IN (High,Highest) OR assignee IS EMPTY

Time for exercise !

Page 20: Translating JQL queries to the eazyBI reports

community.eazybi.com

[email protected]