Hello, we are in need of seeing if tickets have been commented or had a status change that are still open in the last 30o days, but we can't seem to get it to work. Here is what I have right now:
project = DESK AND statusCategory IN ("To Do","In Progress") AND ((commentedOn < -30d AND commentedBy != assignee ) AND statusCategoryChangedDate < -30d) order by created DESC
Unfortunately, we are still getting tickets that have been commented by the assignee less than 30 days or had a status change less than 30 days ago.
We need help constructing the query so that it won't include tickets it shouldn't. Here are the criteria:
- We need all tickets that have not had specific activity for 30 days or more
- Activities:
- Reply to customers by the assignee of the ticket
- status change
- The tickets must be in an open status and not completed
Any help would be greatly appreciated. We do have Scriptrunner if that is required for this search but we would prefer if we could use vanilla JQL if possible. Thanks.