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

Subtasks issue #84

Open
maxim4 opened this issue Mar 29, 2024 · 1 comment
Open

Subtasks issue #84

maxim4 opened this issue Mar 29, 2024 · 1 comment

Comments

@maxim4
Copy link

maxim4 commented Mar 29, 2024

When I run the migration from ClickUp to Jira, an error occurs during conversion if there are subtasks. The error message is: ‘AttributeError: ‘dict’ object has no attribute ‘name’’. This error is raised when the script tries to access the ‘name’ attribute of a ‘ticket’ object, which seems to be a dictionary in this context. It appears that the ‘ticket’ object does not have a ‘name’ attribute, causing the script to fail.

Traceback (most recent call last):
File "/home/jira/clickup-to-jira/clickup_to_jira/scripts/migrate.py", line 36, in
main()
File "/home/jira/clickup-to-jira/clickup_to_jira/scripts/migrate.py", line 29, in main
new_tickets = converter.convert(tickets)
File "/home/jira/.local/lib/python3.10/site-packages/clickup_to_jira/converter.py", line 34, in convert
converted_tickets.append(self.convert_ticket(ticket))
File "/home/jira/.local/lib/python3.10/site-packages/clickup_to_jira/converter.py", line 57, in convert_ticket
subtasks = self._get_converted_subtasks(ticket.linked_tasks)
File "/home/jira/.local/lib/python3.10/site-packages/clickup_to_jira/converter.py", line 105, in _get_converted_subtasks
return [self.convert_ticket(subtask) for subtask in subtasks]
File "/home/jira/.local/lib/python3.10/site-packages/clickup_to_jira/converter.py", line 105, in
return [self.convert_ticket(subtask) for subtask in subtasks]
File "/home/jira/.local/lib/python3.10/site-packages/clickup_to_jira/converter.py", line 49, in convert_ticket
logger.info(f"converting ticket {ticket.name}")
AttributeError: 'dict' object has no attribute 'name'

@boris-lapouga
Copy link

Seems like this repository is not maintained. Getting the same error.

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

No branches or pull requests

2 participants