/
Create custom JQL functions for nested issue reporting
Create custom JQL functions for nested issue reporting
Here’s a video on creating custom JQL functions for nested issue reporting.
Script
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;
, multiple selections available,
Related content
Filter based on multiple criteria by using a non-Boolean JQL function
Filter based on multiple criteria by using a non-Boolean JQL function
Read with this
Issue hierarchy
Issue hierarchy
More like this
Display all issues linked to a given issue and link type
Display all issues linked to a given issue and link type
More like this
Event-based actions - issue hierarchy scope
Event-based actions - issue hierarchy scope
More like this
Assign issues automatically based on workload
Assign issues automatically based on workload
Read with this
Assign issues to the previous assignee
Assign issues to the previous assignee
Read with this