Hi Guys,
I've made an automation rule to change the status of the issues that have been in waiting status for more than two weeks to be resolved. It seems the condition which I've defined to cover this request is not working properly:
issue.updated < -14
Any help, in this case, is highly appreciated.
Regards
Bruce
Thanks, Bill,
Logically two conditional statements are doing great and seem to work, but the problem is there're some issues filtered in the second condition ( have not been updated for 2 weeks or more) but their status has not changed to "resolved" and the notification comment has not been updated in the issues.
In fact, the execution part of this rule could not operate properly after selecting all the required issues in our conditional statements ( Assignee and Update).
Kind regards
Bruce
Interesting... Please try to run the stand-alone JQL I provided to see if you get the expected results. If not, perhaps the conditions do not match what you expect for the current conditions of those issues that you want to update.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bruce Azarm
Please consider posting an image of your rule to help the community provide input.
Also, when you check the audit log for the rule, what does it indicate: success, errors, etc.?
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
Thanks for your reply. I have attached your requested images which hopefully could be helpful for your consideration. Thanks, Bruce
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Bruce!
I appears the rule did what you asked, and that some issues fell off after the first condition (assignee test) and others fell off after the second condition (update test). Which of these results are unexpected?
Given your original question, I wonder if you should be checking status rather than updated, as updated can change for various reasons. For example, you should be able to create a single JQL to find these and validate what you expect to change.
project = "IE Internal Support"
AND status = "waiting"
AND (assignee NOT IN (yourlist) OR assignee IS EMPTY)
AND NOT status CHANGED AFTER -14d
Two more notes on things to consider:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bruce Azarm Hello,
You should verify if there is a transition available from status waiting to resolved.
I`m not sure if this helps, but I had an issue like this and this helped me.
Let me know if it works, or if I can help you more.
Good luck,
Elena.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi elenushhh,
Thanks for your reply,
Yes, we can change the issue status form waiting to resolved.
Regards
Bruce
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.