You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am working on an automation for a Jira Service Desk project called ISSM that we are using for Vendor compliance management via "Service Request" tickets. At the beginning of every month, I would like to check for tickets which are marked as "Done", with a Resolution date that is more than 365 days old, and then send an email to a specified address with a reminder to complete the review.
For testing purposes, I have set the "resolution >=5d" because I know we have tickets that would apply. Here's what I have setup presently:
In case the query is not readable in that screen shot, here is my JQL query:
project = ISSM and status = Done and issueType = "Service Request" and resolved >=5d
I believe the final query would look something like this:
project = ISSM and status = Done and issueType = "Service Request" and resolved >=365d
When I manually run the rule to test, the audit log shows no matches:
Am I calling the issueType incorrectly? Am I misusing "resolved"? Any help would be appreciated. Let me know if you have any questions.
The JQL is limited to capture what you want to do. This is what I would do instead:
Rule 1:
- Create a rule that sets the "review date" (new date customfield) to next year with smart values when the issue is transition to "Done"
- smart value: {{now.plusDays(365)}}
Rule 2:
- Use the scheduled rule that you have and in the JQL you check "review date" = {{now}} and have the same actions.
- Instead doing the first of the month, run it everyday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.