Hi,
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.
Thanks,
Samuel Bar
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,
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trudy Claspill Thanks for your fast answers.
I will try it too.
I will also open a support ticket to Jira.
Thanks,
Samuel Bar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuel,
Are you asking how to refer to your filter in the JQL? The syntax is:
filter="My filter"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.