...
Each of these has examples of SIL code.
Info | ||
---|---|---|
| ||
Power Scripts for Jira (server) Level: BASIC |
Making a HTTP request to an external system
...
Code Block | ||
---|---|---|
| ||
string[] SUMMARIES = {"First sub-task for approval", "Second sub-task for approval"}; string[] subtasks = subtasks(key); for(string summ in SUMMARIES) { boolean exists = false; for(string subtask in subtasks) { if(%subtask%.summary == summ) { autotransition("Reopen Issue", subtask); exists = true; } } if(!exists) { createIssue(project, key, "Sub-task", summ); } } |