Automation: Keeping on top of SLA's not triggering

Roman Kaljuorg February 5, 2018

Hi, everyone!

I'm having trouble with an automation rule, that helps our team to keep on top of SLA-s.

The automation rule is fairly simple - when the timer is at 60 minutes, the system should add an internal comment to the task. The same goes for when there's 30 minutes left and when the SLA has been breached.

The system only adds a comment, when I add a comment myself or make a change to the task (i.e change the priority).

Has anyone else experienced this issue? What could be the cause and the solution?

Thanks!

2 answers

1 accepted

1 vote
Answer accepted
Roman Kaljuorg February 6, 2018

The issue was resolved by restarting the server.

1 vote
Susan Hauth _Jira Queen_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2018

Hi Roman,

The triggers is simple, 30 minutes from breach, 60 minutes from breach.  Then try using "Alert User" as the action item.  That will notify the users with an internal comment "This issue requires your attention".

Hope that helps

Susan

Roman Kaljuorg February 5, 2018

Hi, Susan!

I have everything set up and I've defined 3 different automation rules.

WHEN (different rules):

  1. When there's 60 minutes left on the timer.
  2. When there's 30 minutes left on the timer.
  3. When the SLA has been breached.

IF:

Issue matches: issuetype in (standardIssueTypes(), subTaskIssueTypes()) AND priority in (Blocker, Critical, Major, Minor, Trivial)

THEN:

Add comment with my predefined message.

 

Now, the problem is, that the comment defined in the THEN part is only added when I change, edit, or add something to the task (i.e add a comment myself, change the description or the priority), but not when it passes the the 60, 30, or 0 minutes mark defined by the WHEN part of the rule.

Example:

SLA timer has passed the 60 minutes mark. The comment, I have defined has not been added.

Now, when I add a random comment to the task or change the priority (for example), the comment, defined in the THEN part appears.

Susan Hauth _Jira Queen_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2018

Hi,

Did you check the log of the automation rule to see if maybe a criteria wasn't met?

Susan

Roman Kaljuorg February 5, 2018

Yes, and the log is empty. It does not say it failed to run the automation rule. 

If I act like I described in the example of the previous post, a success message is displayed, even thogyh it didn't run automatically when it was supposed to, but as a result of õe adding a random comment to the task.

Susan Hauth _Jira Queen_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2018

Hi Roman,

What is your sla set up like?  Maybe it's being reset when you update or comment on an issue?

Your log should not be empty, every issue where it meets that criteria of breached timer it should show an entry that it either fired or didn't fire?

Susan

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2018

As a quick check, it might be worth simplifying the "If" for debug purposes. What happens if you remove the "If" condition altogether.

Roman Kaljuorg February 5, 2018

I've tried that, and it didn't help. That was actually one of the first things I did.

Susan Hauth _Jira Queen_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2018

Roman,

Can you paste your SLA and your automation rule in here

Roman Kaljuorg February 5, 2018

I took screenshots, so maybe it's easier to follow.

IF.PNGThen.PNGWHEN.PNGSLA.PNG

Roman Kaljuorg February 5, 2018

I had our admins restart our JIRA server. Will let you know if anything changes - our SLA timers are on hold at the moment, since it is not office hours.

Roman Kaljuorg February 6, 2018

The issue has been resolved after the server was restarted. All the automation rules work as intended.

Big thanks to everyone, who gave their two cents. :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events