I need to calculate how long is the issue in particular status for that I have given code in jobs in scriptrunner. Script is working fine tested in fields but the crone expression for 1 min or 15 min the issue is not updating. Like if I'm running job code now but it's shows issue updated 4 day's ago in jira
Can someone please help me with this