Skip to content

Commit

Permalink
Update createmeta warning with new method names (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
mesozoic authored Mar 22, 2024
1 parent fbcabe1 commit e8104ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2104,12 +2104,12 @@ def createmeta(
if self._version >= (9, 0, 0):
raise JIRAError(
f"Unsupported JIRA version: {self._version}. "
"Use 'createmeta_issuetypes' and 'createmeta_fieldtypes' instead."
"Use 'project_issue_types' and 'project_issue_fields' instead."
)
elif self._version >= (8, 4, 0):
warnings.warn(
"This API have been deprecated in JIRA 8.4 and is removed in JIRA 9.0. "
"Use 'createmeta_issuetypes' and 'createmeta_fieldtypes' instead.",
"Use 'project_issue_types' and 'project_issue_fields' instead.",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit e8104ea

Please sign in to comment.