This question is in reference to Atlassian Documentation: Why do subtasks disappear when I filter my board using Epic Links
Is there any JQL workaround to allow the display of all the sub-tasks of an epic, and not only the issues? I don't have any add-on.
The issues that display on a board are determined by 1) the saved filter and 2) the mapped statuses. If you are querying by epic-link, only parent issues will be displayed since sub-tasks are not linked to epics.
You will need to tweak your filter to include sub-tasks. Easiest way is to have the filter query all issues in a project. If that is not the case, you will need to get creative - use the built-in JQL functions with Scriptrunner (if you have JIRA Server) to query sub-tasks linked to parents.
Thanks a lot for your answer.
We indeed have an item workflow that works as follow : Epic --> Issues (Tasks) --> Sub-Tasks
There is unfortunately no way for us to use only the Issues items and to reflect the relationship between our items in a satisfying way.
Would you know free add-on that would open the same functionality than Scriptrunner? I would like to test out if JQL functions would fit what we are trying to achieve before starting to add costs.
Thanks a lot for your help.
the only way i have found to do this (cloud version) is using labels. so my filter looks something like this....
"Epic Link" = proj-111 OR labels = proj111
proj-111 is the JIRA issue # for the epic and proj111 is a label i place on all sub tasks. obviously this is flawed if and sub-tasks are missing the label.
it continues to frustrate me that i can't have something like...
"Epic Link" in (proj-111) OR parent in (Epic Link = proj-111)
or maybe adding a new operator to JIRA like...
"Epic Link" in (proj-111) INCLUDE Sub-Tasks
Atlassian has a costful update program for a worse support system that makes you wait years for a pratical solution. Same to apps that after a year you have to buy a new expesive license if you need updates. Even jira source owner can't compile it to make customizations, because atlassian wants you to pay for that. Then, no complain, pay for that. I prefer use the free version that works and atends.
Hey @Benoit MARIE - PLease try the following macro. Please note that for this to work you have to LABEL with the EPIC LINK ID and assign a COMPONENT to the SUB TASK.
project = CC AND labels = CC-1 AND component = ComponentName OR issueFunction in subtasksOf("component = ComponentName ")
This will pull only Subtasks assigned to the specific Component and Label.
(NO ADD-ON REQUIRED)
FWIW, i caution against such an approach as it invariably will be unreliable in time as individuals forget to add the label or misspell the label, etc. If someone does wish to go this approach I highly recommend using Automation to control the environment a bit. e.g. Trigger - issue created, Conditions: issue type, has epic link, etc., Action - add label using smartvalue to borrow from epic name or such.
p.s. to be clear the suggested solution is a JQL query not a macro.
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