I know if I want to see all the items in an epic I can use this syntax:
issuefunction in linkedIssuesOf("project = project_id", "is Epic of")
but what if I only know all the EPICs I'm interested in have a certain "label"
If I use:
issuefunction in linkedIssuesOf("project = INFRAAUTO", "is Epic of") and labels = "label-value"
I will return all the items in an epic that have that label value.
Instead, I want a list of all the epic items where the EPIC label is a certain value?
Since there's already a subquery in your initial JQL (the one where you filter your issues by project), you can as well include the label there. Because "is Epic of" is a "special" link type you can skip including "issuetype = Epic" in the subquery, so the whole thing gonna look like this:
issuefunction in linkedIssuesOf("project = INFRAAUTO and labels = 'label-value'", "is Epic of")
(don't forget to alternate the brackets type)
you can use JQL Search Extensions for Jira & reports to get the required results.
Following queries can help you .
It will return all epics for certain project and label you mentioned.
issue in epicOf("project = INFRAAUTO and labels = label-value")
Here is the documentation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this is not possible with stock JQL.
You will need something like `JQL Tricks` or `Script Runner`
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.