Hi
I am developing a Jira plugin and trying to set substitutes for team leaders for a particular time interval. I am providing team permission to substitute and need to check every midnight if the substitutes time interval is over or not . if yes then need to remove permission for the substitute,
I have already developed the code for setting and removing substitute but now i m searching how to add a timer to jira so that it will make a rest call every midnight to check whether current date reside in substitutes time interval if not then delete the permission.
Thnanks!!