Versions Compared

Key

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


Html
<iframe width="560" height="315" src="https://www.youtube.com/embed/sjNRM6X6PTs" frameborder="0" allowfullscreen></iframe>


Code Block
string [] tasks;
string [] stories;
string [] epics = selectIssues("issueType = 'Epic' AND project = " + argv[0]);
for(string e in epics) {
    string [] stry = allLinkedIssues(e, "Epic-Story Link");
    for(string s in stry) {
        string [] tsk = allLinkedIssues(s, "jira_subtask_link", 1);
        tasks += tsk;
    }
    stories += stry;
}
string [] results;
results = arrayUnion(epics, stories);
results = arrayUnion(results, tasks);
return results;

See also