• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


03 Feb, 2025

Updated at 15 Feb, 2025

Check if reporter have more then 2 tickets in "done"

Hey, We have a request type for new courses in our company,
Each user can ask for just 2 courses in one year, if they complete 2 courses
I want automation that will immediately move it to "Canceled"  status.
Right now there is 2 statuses that define a complete course: "Done" and "Course Incomplete".
So I made JQL that at first search if this user has in the same year tickets that in that status, and after made smart value condition to check if he has 2.
but the automation stop when i created 3 ticket by me one and that's right because i can make more than 2 tickets but i want to cancel him if i got another 2 that already closed this year.

im attach a picture of my automation.
this is the JQL

reporter = currentUser() AND status IN (Done, "Course Incomplete") AND created >= startOfYear() AND created <= endOfYear()


autmation count e.PNG