Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

No results as a parameter JQL query

Hello, I'm currently running into an issue with automation rulesets. I wish to automate a ticket to be created. But I only wish to create this ticket if there are no tickets with the same primary key in a separate project. For instance:

Lets say we have a project labeled "Jedi" and a "Force User" project

And every "Force User" ticket has a Unique "ForceID' ex.1234

I want to be able to run a automation rule to Check within "Jedi" that if a "Jedi" ticket already exists with a matching "ForceID". If there is no matching "ForceID" then we create a ticket based on that "ForceID"

I currently have not found a solution where I can see if no results are available using a JQL query or condition statement. If you could help that would be much appreciated.

1 answer

Hi @Faraz Haider  -- Welcome to the Atlassian Community!

You could perform this type of check using:

  • a global/multi-project scope automation rule,
  • a Lookup Issues action with JQL, and
  • an advanced comparison condition on a return count of zero: {{lookupIssues.size|0}}

However please note: it appears you are on the free cloud license.  Is that correct?  If so, there are only a limited number of global/multi-project rule executions / month for that license level.  Please take that into account for your solution.  To learn more about the licensing level features, please see the information below:

https://support.atlassian.com/jira-cloud-administration/docs/explore-jira-cloud-plans/

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

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