My team has some items that are considered 'Business As Usual'. They reoccur every sprint.
Currently, I have an automation in place that creates and closes these issues when a new sprint is opened or closed, respectively. This is done with labels (i.e. if the issue has a certain label when the sprint is closed, the issue is marked as 'Done').
The problem is with the reporting/story points. Since the trigger is the sprint closing, the issue is considered 'incomplete' when the sprint closes; the issues are marked done a few seconds later. The story points don't get deducted in the charts as well.
Is there a way/trigger to close the issue at the sprint closing, so the issue is 'Done' within the sprint? Something other than a scheduled trigger (like every two weeks, close the labelled issues) is desired.
thank you!