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 if an issue exist in a filter result

I have a saved filter that returns all customer-reported bugs.
I have created an automation rule that should update some fields when changing the fix version of a Bug, but only if the Bug is part of the returned list of issues by the saved filter.

In order to filter only issues matching these conditions, I will use a " JQL condition" in my rule. The question what is the right JQL.



Samuel Bar

2 answers

1 accepted

1 vote
Answer accepted

Hello @Samuel Bar 

If I understand your question correctly, then you JQL Condition should be the JQL of your saved filter. Have you tried that? If you have and you are not getting the desired outcome, please tell us what is happening and show us the rule you have created.

Hi @Trudy Claspill  and @Daniel Turczanski - __JQL Search Extensions  ,
Thanks for your suggestions. 
I did what you have suggested but still not work.
Please see attached PrtScn with the rule definition.
In picture #2, you can see the JQL condition - Only if the current issue is part of the returned issues of the saved filter, then edit the issue.

Please advice,



So, you are saying the rule is not working as you expect it to. How is it not working?

Is it not updating issue you think it should?

Is it updating issues you think it should not?

Is the rule getting triggered at all?

Show us the Audit Log for an instance where the rule is triggered and you don't get the desired results.

Hi @Trudy Claspill ,
thanks for your fast response.

As you can see, issues Key MXPI-506 is returned when executing the saved filter

So it should meet the condition 


and the issue should be edited

But not working

I tried something similar.

In the JQL condition if I used

filter = "name of filter"

...then I got the same results that you did. I even clicked the Validate Query link on the condition and it said it found matching issues.

If instead in the JQL condition I put the actual criteria of the filter, i.e

issuetype = Bug and project=ABC

...then the filter executed successfully and the Actions in it worked correctly.

@Trudy Claspill Thanks for your fast answers.

I will try it too.

I will also open a support ticket to Jira.



Samuel Bar

Hi Samuel,

Are you asking how to refer to your filter in the JQL? The syntax is:

filter="My filter"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

129 views 1 12
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