Skip to content

Commit c2c77bc

Browse files
authored
hotfix get_issue_tree_recursive (#1353)
* fixing minor issue in scrap_regex_from_issue method
1 parent 517ad79 commit c2c77bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atlassian/jira.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,15 +1730,15 @@ def get_issue_tree_recursive(self, issue_key, tree=[], depth=0):
17301730
x for x in tree if issue_link["inwardIssue"]["key"] in x.keys()
17311731
]: # condition to avoid infinite recursion
17321732
tree.append({parent_issue_key: issue_link["inwardIssue"]["key"]})
1733-
self.get_issue_tree(
1733+
self.get_issue_tree_recursive(
17341734
issue_link["inwardIssue"]["key"], tree, depth + 1
17351735
) # recursive call of the function
17361736
for subtask in subtasks:
17371737
if subtask.get("key") is not None:
17381738
parent_issue_key = issue["key"]
17391739
if not [x for x in tree if subtask["key"] in x.keys()]: # condition to avoid infinite recursion
17401740
tree.append({parent_issue_key: subtask["key"]})
1741-
self.get_issue_tree(subtask["key"], tree, depth + 1) # recursive call of the function
1741+
self.get_issue_tree_recursive(subtask["key"], tree, depth + 1) # recursive call of the function
17421742
return tree
17431743

17441744
def create_or_update_issue_remote_links(

0 commit comments

Comments
 (0)