Hello,
I am trying to create an automation rule that checks the number of days since an issue was commented on/updated. It appears that the comment variables are setup to act as a trigger for the rule, rather than something that can be used for comparison.
My goal is to have a rule that will send out a notification if an issue has not had any comments added in 30+ days. I have all of the other pieces of this rule working, but I am not able to figure out how to check the comment piece.
Hi @Chris Watson and welcome to the community
You should create a rule like the following:
Pay attention to the checkboxes as well as on the JQL. You have to replace this with your own.
Let me know if you got this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kindly mark my answer as accepted in order to help others with similar questions. Thanx!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't appear to be working correctly. I applied the change in syntax and when the rule ran it triggered on issues that had been updated 2 days ago. Here is the syntax of my query.
project = WMO AND status = "In Progress" OR status = "Pending Internal" OR status = "Pending Vendor" or status = "Approved" and updated <= startOfDay(-30)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Chris Watson you have to use parenthesis in your clause for starters:
project = WMO AND (status = "In Progress" OR status = "Pending Internal" OR status = "Pending Vendor" or status = "Approved") and updated <= startOfDay(-30)
OR you can use:
project = WMO AND status in ("In Progress", "Pending Internal", "Pending Vendor", "Approved") and updated <= startOfDay(-30)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can see if there are comments added -30d with an alias that is part of a Plugin "JQL Search Extensions for Jira - the JQL extensions"
You can find issues that were recently commented on and order them by the comment date:
commentLastUpdatedOnDate < -2d order by commentLastUpdatedOnDate desc
I think that is free for 10 users.
You can see more info here:
JQL aliases and functions (reference) - JQL Search Extensions - Confluence (atlassian.net)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.