Dynamic filter


I would like to create a dynamic filter to get Stories linked to specific Epics. 

In my system, my Epics are categorized by a custom field called "Objective".

I want to get all Stories linked to Epics in which Objective = "Objective A". And of course if I create a new Epic with that Objective, results of my filter are updated. 

I already looked at something with

"Epic Link" in...

issue in linkedIssues()....

but no way to put somewhere my other condition about the Objective. Thank you for your help. 

FYI, I have a Cloud version and not sure I can buy Scriptrunner plugin for my company.


1 answer

1 accepted

0 votes
Ignacio Pulgar Community Champion Jan 22, 2018

That's not doable without the help of a plugin.

On Cloud, you also count with the function parentEpic() which might be useful in some cases, but it doesn't resolve your needs here.

With ScriptRunner, the filter would be:

issueFunction in issuesInEpics("Objective = 'Objective A'")

Hope it helps.

Thank you Ignacio, I was sure I needed a plugin. I'll try to convince my hierarchy!

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

240 views 0 11
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot