# How to get the mutable issue under Scriptrunner Custom scheduled job

**URL:** <https://community.developer.atlassian.com/t/how-to-get-the-mutable-issue-under-scriptrunner-custom-scheduled-job/38351>\
**Category:** Everything Else\
**Created:** [May 18, 2020, 10:02am UTC](https://community.developer.atlassian.com/t/how-to-get-the-mutable-issue-under-scriptrunner-custom-scheduled-job/38351 "2020-05-18T10:02:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgadade](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@cgadade](https://community.developer.atlassian.com/u/cgadade)\
**Post date:** [May 18, 2020, 10:02am UTC](https://community.developer.atlassian.com/t/how-to-get-the-mutable-issue-under-scriptrunner-custom-scheduled-job/38351/1 "2020-05-18T10:02:23Z")

</div>

Hi team,

I want to assign tickets to Service desk agents based on my script and I want to run that script as a Custom scheduled job ,Can anyone help me out ,how to get mutable issue in Custom scheduled job script.

Jira Server version -8.4.1

Getting below error :2020-05-18 15:29:18,048 ERROR [jobs.AbstractCustomScheduledJob]: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2020-05-18 15:29:18,049 ERROR [jobs.AbstractCustomScheduledJob]: Script job: ‘Auto assign ticket based on existing assigned tickets’ failed  
groovy.lang.MissingPropertyException: No such property: issue for class: Script60  
at Script60.run(Script60.groovy:25)
