Filter on stories related to new GH epics

Hey,

how are the "issues in epic" tied to that epic? It's not a regular issue link, is it?

I'm wondering how I could achieve sth. like the following (maybe using JQL tricks or craftforge JQL functions plugins, new script runner JQL function?):

I want to display all stories, that are tied to epics following a certain pattern, a subquery if you like:

type = story AND linkedIssue(type=EpicLink) IN (type=Epic AND summary ~ "XY" OR fixVersion = "XY")

Is that possible at all?

Cheers Christian

3 answers

1 accepted

1 vote
Answer accepted

Hi Christian,

maybe this is what you want:

type = Story AND issueFunction in linkedIssuesOf("type=Epic", "is Epic of") AND (summary ~ "ad" OR fixVersion = 3)

This query lists all Stories that have an Epic linked to it through the "is Epic of" (from the viewpoint of the epic) relation, and have a specific summary or fix version.

The function is a scripted JQL function from the Script Runner plugin.

BR

Florian

Hey,

meanwhile I got around the problem with the serach linked issues plugin which works in the same way:

issue in LinkedIssueFromFilter("...,'Epic-Story-Link',...")

I couldn't use the Script Runner plugin since my JIRA version is too old and scripted JQL functions is a relatively new feature.

Thanks anyway,

I guess others might be intereted in this too:-)

Cheers Christian

Hey Christian,

you can use this JQL to find the issues withing the Epic called test : "Epic Link" = test

Cheers Peter

Sorry but that doesn't help me. In need a subquery.

Mmmh, no. I think this doesn't help you. Sorry.

I am interested in the same issue. Filtering issues based on their EPIC LINK where the EPICS are also based on a query.

Any news on this?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

633 views 0 7
Read article

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