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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

JQL filter in Automation rule Edited

The filter [Dev] Tickets in Open Sprints filters the issues included in Open Sprints:

  • JQL:
    project = xxx AND (issuetype = Story OR issuetype = Task OR issuetype = Bug) AND sprint in openSprints() ORDER BY created DESC


I created a rule that does:

  1. When the field [SPRINT] is edited…
  2. If ISSUE is included in the filter [Dev] Tickets in Open Sprints…
  3. Add a [LABEL] to SUBTASKS

See a screenshot of the rule below these lines. 

*** Problem ***

I'm getting the following error in the Audit log when the rule is run:

  • Action details:
    JQL condition
    No subsequent actions were performed since JQL condition did not pass due to error running JQL:
    "(key = xxx-384 AND ("[Dev] Tickets in Open Sprints" = True))" - Error in the JQL Query: 'True' is a reserved JQL word. You must surround it in quotation marks to use it in a query. (line 1, character 55)

I don't know how to say:

  • "JQL Condition = True"
  • …meaning that if the issue is included in the filter, then perform…


image.png image.png


  • I checked this topic to confirm that it can be done but didn't get a solution to my issue

1 answer

1 accepted

1 vote
Answer accepted

Hi @Gonzalo Benitez de lugo,

You should actually use the filter id in your JQL query, you can find it in the URL:

Capture d’écran 2020-10-26 à 12.00.27.png

In this example, the filter id is 10120 so I can use the following JQL query in an automation rule:

filter = 10120

This will get all issues resulting from the filter query.

Hope this helps,

- Manon

thanks for the clear and quick answer. Worked perfectly!

Like Manon Soubies-Camy likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

196 views 1 6
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