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

Added warning log if issue link type not present #1787

Merged
merged 3 commits into from
Jan 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,9 @@ def create_issue_link(
issue_link_types = self.issue_link_types()

if type not in issue_link_types:
self.log.warning(
"Warning: Specified issue link type is not present in the list of link types"
)
for lt in issue_link_types:
if lt.outward == type:
# we are smart to figure it out what he meant
Expand Down
Loading