You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello,
I have a filter from on Prem like this:
[....] issuetype = Sub-task AND issuefunction in subtasksOf("issuetype in (Epic, Change)")) ORDER BY updated DESC, Rank ASC
I just want to display all Sub-Tasks whose parent is either an Epic or a change issue. I do not want to result sub-tasks of other issue types.
If I run it in ScriptRunner Enhanced Search I got a Time out. Is there a possibility to recreate this filter in Jira Cloud?
Hello @Helene Haderer
Welcome to the Atlassian community.
Do you have a rough idea of how many Epics and Change issues you have in your instance, and how many subtasks there might be under those?
Do you have any other constraints in the filter, such as specifying the projects to search?
Typically in Jira Cloud you cannot actually create Sub-tasks directly under Epics. I know this was possible in on-premise, but is not supported in Cloud.
Hello @Trudy Claspill ,
thanks for answering. Yes, the whole filter looks likte this:
project in (EASM) AND status in ("In Progress", Resolved, Forwarded) AND (issuetype in (Change) OR issuetype = Sub-task AND
issuefunction in subtasksOf("issuetype in (Epic, Change)")) ORDER BY updated DESC, Rank ASC
And I get 116 results in OnPrem until 14th October.
If I use this filter:
project in (EASM) AND ( issuetype = Sub-task AND
issuefunction in subtasksOf("issuetype in (Epic, Change)")) ORDER BY updated DESC, Rank ASC
I get 2544 results in OnPrem - so for this one Project I have 2544 Sub-Tasks as a direct child issue of an Epic or an Change.
Kr Helene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Helene Haderer
So, to be clear, you are trying to run this exact filter in the Enhanced Search screen in Jira Cloud, correct?
project in (EASM) AND status in ("In Progress", Resolved, Forwarded) AND (issuetype in (Change) OR issuetype = Sub-task AND
issuefunction in subtasksOf("issuetype in (Epic, Change)")) ORDER BY updated DESC, Rank ASC
Dissecting the filter, it appears that you want...
1. issues from the EASM project where
2. the status of the issue is one of the specified three values and
3. the Type of the issue is
3a. Change or
3b. Sub-task and the issues is a subtask of an Epic or Change issue
Is that correct?
At the top of the Enhanced Search screen, towards the upper right corner, do you see this?
Do you have more than one type of Sub-task issue? I ask because you called out in your filter that you specifically want the "Sub-task" issue type. That isn't necessary if you have only one type of Sub-task issue.
Can you try this filter in Enhanced Search and let us know if you get results?
project in (EASM) AND status in ("In Progress", Resolved, Forwarded) AND
issuetype = Sub-task AND
issuefunction in subtasksOf("issuetype in (Epic, Change)")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.