Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL query field in list of values from another query

Paolone September 21, 2018

Hi all, 

 

  in Jira Cloud I'd like to perform a query to list all issues that are linked an Epic from a list of epics that have a filed with a particular value (Account = "some value").

My final expression should be something like this:

parentEpic in (<epics that have Account = "some value">)

Is there a way to do so?

Thanks

2 answers

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
September 22, 2018

Hi Paolo,

You can use JQL Search Extensions with its subquery keywords. for example epicOfQuery.

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 21, 2018

Hello Paolo, 

There's no way to do it natively with JIRA Cloud, however, you can use the add-on Scriptrunner which provide you the issuefunction parameter, so you can configure a Script like the one below to return the issues you need:

issueFunction in linkedIssuesOf(“issuetype = Epic and status = Open")

Also, Atlassian has a feature request opened to implement this kind of functionality on JQL:

https://jira.atlassian.com/browse/JRASERVER-25640

Please, feel free to vote and watch it for new updates.

Reference question: https://community.atlassian.com/t5/Questions/JQL-check-if-issue-s-epic-meets-condition/qaq-p/308812

 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events