use query results as input parameter for a second query

For example, Our organization wants us to list both all of the epics and user stories for a given feature.  To do this I have to write two queries.  The first is to list the epics that are part of the feature, which is easy b/c I add a label to each epic that names the feature for which it belongs (labels="feature-abc").

To list all of the user stories, I have to manually enter all of the Epics ("Epic Link" = "Epicname" or "Epic link" = epicname2, etc...)

 

I want to write a query that takes the results of the query used to pull epics for a feature as input into the query that pulls user stories.

1 answer

0 vote

You can't do this with out of the box functionality in JIRA. There's add-ons that support you to do this with advanced functions, like scriptrunner.

If you have that on your instance, have a look at this page and look for the function IssuesInEpics.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

377 views 16 9
Join discussion

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