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

Is there a way to create JQL saved filter or a filter object in the JQL command itself?



To create a saved filter or a filter object


I am using a plugin called Xray(by Xpand IT).  To generate desired reports, I use their built-in JQL function. 


issuetype = 'Test'  and key in requirementTests('Requirements saved filter')

wherein the

  • requirementTests only accepts a saved filter


It will be a burden for me to create a filter every now and then when generating reports as the filter may be very specific to a project. 


How will I be able to create a JQL saved filter on the fly? 


issuetype = 'Test'  and key in requirementTests(createSavedFilter("project in (AAA, BBB) AND issuetype = Requirement AND fixVersion = 'Release 1'"))


1 answer

Hi @Anne C ,

unfortunately, currently I'm not aware of such a solution and I think it doesn't exist.

Your idea is interesting but I have implementation doubts about its feasibility. Maybe the ScriptRunner team can provide some insights on such a possiblity, for sure they had this request on the past?



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

377 views 2 15
Read article

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