Hi ,
I am trying to automate the message sent to everyone if the time that the ticket is created compare to now is greater than 12 hours
but it seems like it i am missing something. can you please let me know what am I missing?
What are you seeing? Are there any errors in the audit log?
Have you tried to remove the abs expression and only use hours? Created should always be in the past when this rule fires, so the absolute value should not be necessary.
{{now.diff(issue.created).hours}}
Best regards,
Bill
Hi @Bill Sheboy ,
After struggling with it i found there was a problem with jira so i had to first check the status and then the priority and then the type otherwise for some reason the tickets will not filter correctly. after that I checked the state that returns true or false. this way it worked perfectly and everything was fine.
{{now.isAfter(issue.created.plusDays(0.5))}}
Equals
true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad that you figured it out.
I find a bit of experimentation is required when doing things beyond the basic automation rules. There is not a lot of documentation on the functions, and some help points to Oracle sites. :^)
Three things I have found helpful when debugging issues like this are:
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.
.
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.