Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to get fields from different subtasks on eazyBI report




The idea is:   get fields from Task, and also fields from subtask of type "A" and "B" on the same row.

How can I do it?




       Key Task | due date Task| status subtask type A | status subtask type B




1 answer

Hi Xavi,

Here is an example how to retrieve a string value, in this case, Sub-task status, from the first sub-task with issue type 'Sub-task A'.

      [Issue].CurrentHierarchyMember.get('Sub-task keys')
     [Measures].[Issue type] = 'Sub-task A') 
  Cast( [Measures].[Issue status] as String), ",")


The GetmembersByKeys function gets a set of all subtasks of an issue, a Filter filters out the ones with type 'Sub-task A'. Generate function creates a string from this Sub-task status.

can you show how it should look like on eazybi ?

Hello Marcelo,

You were looking for a measure that checks if a parent issue is resolved within the current time period - how many of its sub-tasks of a specific type - "Block" are in a specific resolution - "Done".

You needed to keep the default hierarchy in the Issue dimension since you wanted to filter issues by parent task resolution date.
​Since the sub-tasks are built within the sub-task hierarchy and their issue keys are not available as a property of the parent task - the expression needs to switch between hierarchies during the calculation.

​The MDX expression for the calculated measure was as follows.

[Measures].[Issues resolved]>0
   [Issue Type].[Issue Type].GetMemberNameByKey([Issue].CurrentHierarchyMember.Get('Issue type ID'))="Block"
   [Resolution].[Resolution].GetMemberNameByKey([Issue].CurrentHierarchyMember.get('Resolution ID')) = "Done")

​Oskars / 

Hi @Oskars Laganovskis


I try to visualize it this way but it is not possible



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

208 views 1 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you