Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,449
Community Members
 
Community Events
165
Community Groups

How to search All epics with issues assigned to a specific users

I have 5 users to whom some issues are assigned. I am looking for a query that returns all issues assigned to them PLUS the epics of those issues (whether epics are assigned to them or not). 

2 answers

1 accepted

1 vote
Answer accepted

Hi, Mohsin!

I don't believe this is doable without plugins (others may correct me later :) ).

Do you have either ScriptRunner or another plugins to enhance your JQL?

I recall on ScriptRunner you could do:

issueFunction in epicsOf("assignee in (User1,User2)") or assignee in (User1,User2)

Other plugins may have a different function to achieve the same.

I don't believe you need a plug in for this.

Like Filipi Lima likes this

Hello @Filipi Lima , I don't think I have any plugins. However this query is working perfectly for my purpose. Thanks ever so much

You're welcome, Mohsin!

I do believe that the ScriptRunner plugin is needed to use the issueFunction method. What I was referring to was my answer below. But if this is working for you, great!

Like # people like this
Filipi Lima Atlassian Team Apr 28, 2022

Thank you for clarifying, Garrett!

1 vote

You should be able to use a simple "in" statement for assignee, and then in your results be sure to show the Epic Link as a column.

 

screenshot.png

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you