I´ve got a really stage behaviour of the escalation service:
- configured to use the user "service-bot" which can find 2 issues when logging in with it
- the escalation service takes most of the time this user and finds no issues - sometimes (about every 3rd run) it uses a "ServiceRunner" as actor and finds the issues
- In JIRA -> System -> Services there is no entry from script runner (I remember seeing them there before 3.0)
Versions are
- JIRA 6.3.10
- Script Runner 3.0.6
Debug Log from Script Runner:
2014-11-27 17:41:07,460 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Checking the interval for service: GT Deadline reached at Thu Nov 27 17:41:07 CET 2014
2014-11-27 17:41:07,460 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] run service GT Deadline reached: 1 elapsed
2014-11-27 17:41:07,461 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Execute service: GT Deadline reached
2014-11-27 17:41:07,463 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Issues returned by query (status = Waiting AND ( Deadline <= endOfDay() OR updatedDate <= endOfDay(-14) )): []
2014-11-27 17:42:07,457 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Checking the interval for service: GT Deadline reached at Thu Nov 27 17:42:07 CET 2014
2014-11-27 17:42:07,458 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Not firing service GT Deadline reached: 0 elapsed < 1 interval.
2014-11-27 17:43:07,459 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Checking the interval for service: GT Deadline reached at ThuNov 27 17:43:07 CET 2014
2014-11-27 17:43:07,459 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] run service GT Deadline reached: 1 elapsed
2014-11-27 17:43:07,459 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Execute service: GT Deadline reached
2014-11-27 17:43:07,462 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Issues returned by query (status = Waiting AND ( Deadline <= endOfDay() OR updatedDate <= endOfDay(-14) )): []
2014-11-27 17:44:07,459 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Checking the interval for service: GT Deadline reached at Thu Nov 27 17:44:07 CET 2014
2014-11-27 17:44:07,460 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] run service GT Deadline reached: 1 elapsed
2014-11-27 17:44:07,460 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Execute service: GT Deadline reached
2014-11-27 17:44:07,463 atlassian-scheduler-quartz1.local_Worker-1 DEBUG service-bot [canned.jira.admin.EscalationService] Issues returned by query (status = Waiting AND ( Deadline <= endOfDay() OR updatedDate <= endOfDay(-14) )): []
2014-11-27 17:45:07,459 atlassian-scheduler-quartz1.local_Worker-1 DEBUG ServiceRunner [canned.jira.admin.EscalationService] Checking the interval for service: GT Deadline reached at Thu Nov 27 17:45:07 CET 2014
2014-11-27 17:45:07,460 atlassian-scheduler-quartz1.local_Worker-1 DEBUG ServiceRunner [canned.jira.admin.EscalationService] run service GT Deadline reached: 1 elapsed
2014-11-27 17:45:07,460 atlassian-scheduler-quartz1.local_Worker-1 DEBUG ServiceRunner [canned.jira.admin.EscalationService] Execute service: GT Deadline reached
2014-11-27 17:45:07,469 atlassian-scheduler-quartz1.local_Worker-1 DEBUG ServiceRunner [canned.jira.admin.EscalationService] Issues returned by query (status = Waiting AND ( Deadline <= endOfDay() OR updatedDate <= endOfDay(-14) )): [GT-12, AOD-8]