File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -395,8 +395,13 @@ Manage issues
395395 # Scrap regex matches from issue description and comments:
396396 jira.scrap_regex_from_issue(issue_key, regex)
397397
398- # Get tree representation of issue and its subtasks + inward issue links
399- jira.get_issue_tree(issue_key)
398+ # Get a list that contains the tree structure of the root issue, with all subtasks and inward linked issues.
399+ # (!) Function only returns child issues from the same Jira instance or from an instance to which the API key has access.
400+ # :param issue_key: Jira issue key
401+ # :param tree: list to store the tree structure for recursion. Do not change it.
402+ # :param depth: current depth of the tree for recursion. Do not change it.
403+ # :return: list of dictionaries containing the tree structure. Dictionary element contains a key (parent issue) and value (child issue).
404+ jira.get_issue_tree_recursive(issue_key, tree = [], depth = 0 )
400405
401406 Epic Issues
402407-------------
You can’t perform that action at this time.
0 commit comments