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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,463,390
Community Members
 
Community Events
176
Community Groups

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

Edited

Goal:

To create a saved filter or a filter object

Scenario:

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

i.e.  

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

wherein the

  • requirementTests only accepts a saved filter

Challenge:

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. 

Question:

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

i.e. 

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?

Regards,

Sergio

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events