Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JIRA] added new method get_issue_tree_recursive + docs + examples #1352

Merged
merged 21 commits into from
Mar 20, 2024

Conversation

gkowalc
Copy link
Contributor

@gkowalc gkowalc commented Mar 19, 2024

I added a new method to the repo get_issue_tree_recursive which:

  • method takes an issue key as input.
  • Returns a list of dictionaries. Each dictionary represents a parent issue_key -> child_issue_key.
  • Child_issue_key is either a subtask, or an inward link to another issue.
    I added warnings which specify limitations of the method - the user needs to have access to all linked issues and all linked * * issues must come from the same Jira instance (or from another instance if the user's API key also enables access to that instance).
  • In addition to the method code, I have updated the docs and I have also added a sample use case.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 5.26316% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 34.18%. Comparing base (978fa3f) to head (08d4acb).
Report is 1 commits behind head on master.

Files Patch % Lines
atlassian/jira.py 5.26% 18 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1352      +/-   ##
==========================================
- Coverage   34.25%   34.18%   -0.07%     
==========================================
  Files          46       46              
  Lines        8408     8427      +19     
  Branches     1178     1185       +7     
==========================================
+ Hits         2880     2881       +1     
- Misses       5413     5431      +18     
  Partials      115      115              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gonchik gonchik merged commit 517ad79 into atlassian-api:master Mar 20, 2024
9 of 10 checks passed
@gonchik
Copy link
Member

gonchik commented Mar 20, 2024

@gkowalc thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants