Subtasks of an EPIC - should they inherit the properties of an EPIC e.g. EPIC Name?

Hi,

I've created a JQL query of tasks that are associated to specific EPICs.  My query pulls back a list of all the subtasks that meet my criteria.  As part of the results, I wanted to display the EPIC name that is associated to the subtasks in my query.  JIRA allows me to add the new fields by adding the columns to be displayed - however the fields are not populated with the actual value of the EPIC Name.   For every EPIC that is created, we provide a name to it and it will contain minimum of 4 / 5 subtasks.   I've been advised that the EPIC Name field will only be populated in my queries when the field called, 'Issuetype' = EPIC  - is this correct?  I would have thought that the subtasks would inherit the properties of an EPIC e.g. EPIC Name?  I've been advised that this is not the case and due to this field being a locked field then it can not be populated if the field in my query contains other values such as: Task, Issue etc. 

Please can you advise if this is the way that JIRA is set up and it is not feasible to display the actual value of the EPIC name when querying the subtasks associated to it.  

Many thanks

 


Vanessa  

1 answer

0 vote

This is one of those cases where I tend to disagree with Atlassian.  Or at least their implementation.

The theory, I agree with.  When an issue belongs to an Epic, then logically, its sub-tasks do as well.  I agree that you should not be able to set the Epic-link on a sub-task - it's part of the story, and the story belongs to the Epic.  Where it goes wrong for me is exactly what you have found - there's no connection between a sub-task and the Epic, and there should be for reporting.

The only work-around I've used is to create a scripted field (yes, Script Runner) which echoes the Epic the parent is linked to (and I put the field on all issues, so I can search for it and get the Epic, Stories and sub-tasks in one go)

Thanks Nic - I don't think my current licence allows me to add the Script Runner functionality ;o(

Your licence won't stop you using Script Runner.  There's a version for both types of JIRA - Cloud and Server.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

239 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you