Skip to content

Commit 1caf67b

Browse files
authored
update docs about jira.get_issue_tree_recursive (#1544)
Co-authored-by: borealex <>
1 parent a8eabbf commit 1caf67b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/jira.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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
-------------

0 commit comments

Comments
 (0)