I'm trying to create an automation rule or something similar that automatically assigns a certain ticket type to an active sprint.
Specifically, the permissions setup we're working with prevents devs from adding tickets to the active sprint (the PO or SM has that power). However we have a ticket type "sprint defect" that by definition should be worked on in the same sprint period as it's created (devs can create tickets). Since the dev can't add the issue themself, there's a delay getting it into the sprint and on the active board.
I'm hoping that with the scenario below, it'll be possible to setup some sort of logic to achieve this.
1. Sprint Defects are created when a Story has a problem in testing
2. The Story is in an active sprint
3. The Sprint Defect will be linked to the Story
4. The Sprint Defect will be in the same active sprint as the linked Story
Given the linked relationship with a story that's already in an active sprint, is there something that can be setup to achieve step 4 without manual assignment?