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
Hi Samuel,
You can easily do this with an Automation Rule and no code. Here is an example of something similar:
@John Funk We don't want to do with the automation rule because we have more than 100 projects.. For the long time usage, we want to use script runner post functions workflow.
Do you know any scripts or code for request scenarios?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No I don't. But I also don't understand your argument against an automation rule. That would seem to be less maintenance in the long run. What exactly about the rule would not work for you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.