Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira automation: error in JQL filter

Gonzalo Benitez de lugo
Contributor
November 17, 2020

I created the following rule – screenshot below:

  • If issue is added to an Sprint
  • And issue matches the JQL search that checks if issue IS NOT in earliestUnreleasedVersion()   | filter=10010
  • Then send an email

image.png

 

Problem: I'm getting the following error

Action details:
Issue condition
The following issues passed:
XXX-586

JQL condition
No subsequent actions were performed since JQL condition did not pass due to error running JQL:
"(key = XXX-586 AND (filter=10010))" - A value with ID '10010' does not exist for the field 'filter'.

 

1 answer

1 accepted

3 votes
Answer accepted
Walter Buggenhout
Community Champion
November 17, 2020

Hi @Gonzalo Benitez de lugo,

Have you tried writing the full JQL statement in your issue matches JQL condition instead of referring to filter = 10010? I assume:

fixVersion != earliestUnreleasedVersion() 
Gonzalo Benitez de lugo
Contributor
November 18, 2020

@Walter Buggenhout  it worked! Thanks

david.morse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 26, 2024

While that is a work around it's not a "fix"  
In case you want a single filter so that you have a single copy of your JQL to protect against future updates (and avoid them accidentally only being updated in one location)

Then look at the permissions on your filter.  Make sure it's shared with the user who is running your automation.  In my case I had to explicitly add the "Automation for Jira" user then it worked. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events