简体   繁体   中英

JIRA Query (JQL) to filter those issues within a certain set of EPICs

I am currently editing the Quick Filters of my Agile project in JIRA. And I need one where I see all the issues from a given set of epics. I am using something like

"Epic Link" in (ABC-1, ABC-18)

where ABC-1, ABC-18 are my epics. The problem with this is that I need to update the query everytime I add a new epic. Instead, I am thinking if there is a way of getting the list of epics that I care about via another search and merging the two into another query.

So for instance I have all the EPICs that I am interested (1, 18) with components set to "XYZ". So I want to do something like

"Epic Link" in ([Get list of EPICs with component XYZ])

How do i do this?

There are several add-ons that help you to perform more complex queries.

For example if you use Script Runner , you can use the linkedIssuesOf function to do this. Your JQL could look like:

issueFunction in linkedIssuesOf("project = MyProject and component in ('A', 'B')", "is epic of")

Documentation is available here .

There is also the JQL Tricks add-on which has the issueWhereEpicIn function which offers similar functionality. Documentation here .

There's also a similar question on Atlassian Answers here .

有不止一种方法 - 据我所知你正确地搜索: issuetype = epic and reporter = currentUser() and component = XYZ

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM