Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Call this script on a set schedule. It will add adds the watchers from the parent issue to all subtasks.

...

Info

The JQL script can be replace by a predefined replaced with the predefined hasSubtasks JQL function hasSubtasks.

This script is used in silJQL to return a list of all issues with subtasks. Script It takes a JQL search as a parameter.
Use with silJQLList.
Example: It is recommended to use silJQLList, for example, the key in silJQLList("silJql_IssuesWithSubtasks.sil", "Project = EX").

Code Block
string [] keys = selectIssues(argv[0]);
string [] ret;
for(string k in keys) {
    if(size(subtasks(k)) != 0) {
        ret += k;
    }
}

return ret;

...