I use such .sil script
if (project=="ZZ"){ if (matches(summary, ".*Zadání termínů.*") ||customfield_10707=="Zadání termínů"){ string #{parentIssue}; #{parentIssue}=parent.id; createIssue( "ZZ", #{parentIssue}, "Sub task", "Aktualizace CZ" ); } }
I would like to create new subtask, when subtask called "Zadání termínů" is closed. Is there any mistake? Syntax should be good. I have defined SIL listener on Resolve Issue Transition.
Community moderators have prevented the ability to post new answers.
Hi Miroslav,
You can use the script below:
if (project=="ZZ"){ if (matches(summary, ".*Zadání termínů.*") ||customfield_10707=="Zadání termínů"){ createIssue( "ZZ", parent, "Sub-task", "Aktualizace CZ" ); } }
Regards,
Raluca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.