Every time a bug is created and that bug relates to an issue on the active sprint, then that issue is flagged and only can transition into done once the bug is fixed (status = Done).
Is there a way to automate the flagging of an issue with a related bug to it?