Forums

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

how to fetch all the issues (belong to different projects) without using project name in filter

Tarun Jajoo April 13, 2022

how to fetch all the issues (belong to different projects) without using project name in filter. Because i want to use this filter in adv roadmap where it can dynamically pick new project additions.

2 answers

1 accepted

0 votes
Answer accepted
Tarun Jajoo April 20, 2022

ok, This may be useful for those facing the similar issue.

Script runner can be used in this.

issueFunction in issuesInEpics("project = YOUR_PROJ_NAME") or project in (YOUR_PROJ_NAME) AND issuetype in (Epic)

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2022

Welcome to the Atlassian Community!

Go to the advanced search and search for issues without putting a project clause into it.  Even something as simple as "order by rank" would do it (and some Jira admins let people have empty filters, so they can get a list of everything they can see - may not be performant if you do that though)

Tarun Jajoo April 14, 2022

Thanks Nic for quick reply. Actually I think my question was not very clear. Let me try to put it with more info. I have a project say "PROJ1" which has EPICs "E1", "E2". Now there are other projects say PROJ2 (with Story S1 and S2) and PROJ3 (with story S3 and S4) and in future more projects like PROJ2 and PROJ3 will comeup. Now S1 and S3 have E1 as parent and S2 and S4 have E2 as parent. What i want is to list down all S1, S2, S3 and S4 with E1 and E2 using a JQL query filter without mentioning PROJ2 and PROJ3 but just mentioning PROJ1 using something like parentlink or other.

I hope this is more clear.

Thanks in advance   

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2022

I am not sure I understand that wall of text, but if I have, then I think what you are looking for is a query that returns some epics and their stories.

Setting up the most simple example, let's say you're only interested in Epic E1 at the moment, and it is called simply "Bob".    The query

"Epic Name" = Bob or "Epic Link" = Bob

will fetch that list.  You can expand that to other epics with some more "or" statements.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events