Hello
We have parent is linked with all child tickets and Linked Issues . When teams cancelled parent ticket status need move to automatically all child issues and linked issues to cancelled state... I did with couple of scenarios but getting an error?
Condition:
parentIssue.ChildIssues.every(it.get("status").name == "Cancelled"
parentIssue.LinkedIssues.every(it.get("status").name == "Cancelled"
Transition id: 81
Additional Code : Script Context:
Map addComment = transition.update.comment(0).add as Map
addComment.body = "$(issue.key) caused this to be transitioned"
Can anyone please help me or suggest me the script