Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

find filter containing epic

I got an epic called "epic-125"

it's included in some filter, but I do not know which one.

Can I do a search to find all filters containing the epic?

1 answer

1 accepted

1 vote
Answer accepted
Derek Fields Community Leader Jun 15, 2021

Short answer is that you can't with resorting to the REST API. The following REST API will return a paginated list of filters, with their JQL:

https://<your-site>.atlassian.net/rest/api/3/filter/search?expand=jql

You would need to run through all of the returned records looking for "epic-125" in the JQL.

Hi @Johan Potums  -- Welcome to the Atlassian Community!

Yes, and... to what Derek suggests, when you need to do this type of query often and for different issues, you could build an automation rule:

  • create a rule with a manual trigger
  • calls the REST API as Derek notes
  • search the response for the triggering issue key using a regular expression and text functions
  • list the filters containing the issue key

I have not built this rule, but I expect it is possible.

I believe there are also marketplace addons which enhance the ability to manage filters.

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
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