I am doing some rules the idea si the following:
When an issue is created it should make the following checks:
1.If the type is BUG
2.If there are linked issues to it
3.If any of the linked issues are part of the current sprint.
In that case if all 3 match , it should set the Sprint of the bug to the current sprint. I am receiving an error though , any help ?

