new_issue = target_jira.create_issue(fields=issue_fields)
print(f"Issue '{new_issue.key}' created successfully! Issue ID: {new_issue.id}")
except Exception as create_issue_error:
print(f"Failed to create issue in the target project: {create_issue_error}")
Traceback (most recent call last): File "d:\python\JiraMigration\myenv\Lib\site-packages\jira\resources.py", line 193, in __getattr__ return self[item] # type: ignore ~~~~^^^^^^ TypeError: 'Project' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "
\python\JiraMigration\get_post_projects.py", line 137, in migrate_issues new_issue = target_jira.create_issue(fields=issue_fields) ^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\python\JiraMigration\myenv\Lib\site-packages\jira\resources.py", line 198, in __getattr__ raise AttributeError( AttributeError: <class 'jira.resources.Project'> object has no attribute 'create_issue' ('Project' object is not subscriptable) During handling of the above exception, another exception occurred: Traceback (most recent call last):