I have a requirement where I want to archive certain EPICS across my JIRA instance. I then realized there is an in-build Jobs option within Scriptrunner to help accomplish something similar.
So, I want to automatically archive my EPICS based on the below criteria,
* ISSUE TYPE = Epic
* WORK SEGMENT (drop down custom field value) = ABC SECTOR
* DUE DATE = Over 30days
* No issues (Story, Bug, Task, Sub-task) must be link be linked to the Epic.
In the above case, I want the EPIC to be automatically archived and an email must be triggered to a user - STAKEHOLDER (custom field with a user-picker) & the Project Lead, stating that the Epic is archived due to inactivity.
Is this possible using Script runner Jobs, or anything else ?
Thank you !