Forums

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

Query is automatically adding filters "(project in (10284))"

yusuf Abdul kabir
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!
June 14, 2025

Hello,

i inserted this query project IN (MNYCO, MBYDB, MPD, MPDTTPI, MPSR) AND updated <= -30d

if i run it in the automation it shows this:

(project in (10284)) AND (project IN (MNYCO, MBYDB, MPD, MPDTTPI, MPSR) AND updated <= -30d)

2 answers

1 vote
Pallavi Shirodkar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2025

Hi @yusuf Abdul kabir 

If the automation rules are created within the project settings Jira will automatically restrict the JQL to that project ID.

Hope this helps!

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2025

Hi @yusuf Abdul kabir -- Welcome to the Atlassian Community!

For a question like this, context is important for the community to help.  Please post the following:

  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

Until we see those...

As described by @Pallavi Shirodkar the rule's scope (in the details at the top) impacts how JQL is used in rule actions, branches, etc.  Single-project scope rules can create / clone issues in other projects, but cannot access them in other ways to read / update information.

And so for a scope of a single project, the rule editor automatically adds JQL to limit the scope.  The same applies for a JQL branch where the trigger issues are automatically excluded from the results.

When you want a rule to use a larger scope, your Site Admin will need to help update the rule scope to multiple-project or global from the global rule admin area.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events