ScriptRunner Jobs stopped without Error

Benjamin Krüger January 19, 2021

Hello,
i have a custom script that is fetching data every 10 minutes in ScriptRunner Jobs. After days of working without a problem, it just stopped working. There is no error in logs or a failure message and if i run the script manually it is working normal.
What could possible be the problem?

Best regards
Benjamin

3 answers

1 vote
Der Lun _Adaptavist_ January 20, 2021

Hi Benjamin,

You could check the suggestion from Peter. Perhaps you can find some information from there that could help to resolve the issue.

If you can't find anything helpful there and the permission is indeed correct, could you share the script and what it does? We might be able to get more clues from there.

Regards,
Der Lun

1 vote
Peter-Dave Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 19, 2021

This is just a guess here... but check that the user assigned in the job to run the script as is still a valid and active user with the correct permissions.

You can also investigate the job history in the jira admin screen Scheduler Details under com.onresolve.sriptruner:UserScriptJob

There you will see last run and next run.

0 votes
Marko Turic July 12, 2024

I have the same problem. My jobs simply stop executing without any errors. In Scheduler administration, it is recorded that the job ran, but there are no changes. The user executing it is active and has all necessary permissions. It just stops executing

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events