project = PL AND issuetype = Epic AND fixVersion = "RNO - WA - Predictive Auto" ORDER BY issuetype DESC, key ASC
This is my search query for all the epics related to an initiative. I want to search for bunch of stories that are child of these epics and have a label of "iPub". I tried using Parent and "Epic Link" but both of them are giving me error. Here is my modified query
parent in (PL AND issuetype = Epic AND fixVersion = "RNO - WA - Predictive Auto" ) ORDER BY issuetype DESC, key ASC
And this is the error that I am getting
Error in the JQL Query: Expecting ')' but got 'AND'. (line 1, character 15)
Hi,
Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack (if you are on Server / DataCenter) you can type the following:
1) A bunch of Epics
project = PL AND issuetype = Epic AND fixVersion = "RNO - WA - Predictive Auto"
2) Find all tasks (Tasks, Stories,...) under a given Epics
issue IN issuesInEpics(' project = PL AND issuetype = Epic AND fixVersion = "RNO - WA - Predictive Auto" ')
(*) Note that this is just an example, you must tune above query to fit your needs.
Using this app you can also query other issues relations, check:
Regards
Hi @Puneet Sharma -- Welcome to the Atlassian Community!
You cannot do this type of nested query with out-of-the-box JIRA. If you have one of the scripting add-on products from the marketplace, it is possible.
As a work-around you can:
"Epic Link" IN (yourCSVlist) AND labels = iPub ORDER BY "Epic Link", Key
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
I am trying your way but am getting the error "The operator 'in' is not supported by the 'Epic Link' field. "
Thanks
Smita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Puneet Sharma ,
If you have the list of Epic Id's, then you can use the below JQL to fetch all child stories of that Epic.
project = test1 AND parentEpic = TES-3 AND type = Story
Hope it helps!
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't want to type all the epic ids as there are 36 epics. That's why I was trying to use the ParentEpic IN operator like this:
parentEpic IN (project = PL AND issuetype = Epic AND fixVersion = "RNO - WA - Predictive Auto" )
which is giving error to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Puneet Sharma ,
As every story created from a Epic has Epic link, you can search using the below JQL.
project = test1 AND type = Story AND "Epic Link" is not EMPTY
Hope it helps!
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Puneet Sharma , to follow up on what @Reshma Begum {Appfire} suggested, maybe include the label in you JQL to narrow it down further.
project = test1 AND type = Story AND "Epic Link" is not EMPTY AND labels = iPub ORDER BY "Epic Link" ASC
Then, include Epic Link in your filter columns, and sort on Epic Link. Hope this also helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.