Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do i create a pie chart to by epic to reflect user story, sub-task, story points and % complete

Using this JQL query:

project = ENTPRS AND (issue in subtaskIssuesFromquery("'epic link' = ENTPRS-xxxxx") OR "epic link" = ENTPRS-xxxxx OR parent in (ENTPRS-xxxxx) OR parent in linkedIssues(ENTPRS-xxxxx)) ORDER BY Rank ASC

I am able to create a pie chart with all issue types,

How can i modify the below JQL query to include user sub-task and story points 

"Epic link" = ENTPRS-xxxxx and "Story Points" = 3 

1 answer

0 votes
Jack Brickey Community Leader Dec 01, 2021

You can’t include sub-tasks using the epic link field since sub-tasks don’t have this field unfortunately. Here is one idea you could consider:

  • Create a custom field that can be used to store the epic or use labels for this.
  • If on Cloud - use Automation to update this field copying the story’s epic link into the sub-task. This could be achieved on server with similar addons

Suggest an answer

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

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

67 views 0 3
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