Skip to content

Commit

Permalink
[Jira] Fix get_issue_labels data retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsramen committed Sep 1, 2024
1 parent 12f2326 commit 41075ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ def get_issue_labels(self, issue_key):
url = "{base_url}/{issue_key}?fields=labels".format(base_url=base_url, issue_key=issue_key)
if self.advanced_mode:
return self.get(url)
return self._get_response_content(url, fields=[("labels",)])
return self._get_response_content(url, fields=[("fields",), ("labels",)])

Check warning on line 1381 in atlassian/jira.py

View check run for this annotation

Codecov / codecov/patch

atlassian/jira.py#L1381

Added line #L1381 was not covered by tests

def update_issue(self, issue_key, update):
"""
Expand Down

0 comments on commit 41075ac

Please sign in to comment.