Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string sk;
- if (%key%.status == "Closed") {
- for (sk in linkedIssues(key)) {
- if (%sk%.project == "ITL"){
- runAs("admin");
- autotransition("Close Issue", sk);
- }
- if (%sk%.project == "IC" && %sk%.type = "SCS" || %sk%.type = "Infrastructura" ){
- runAs("admin");
- autotransition("Close Issue", sk);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement