Jira plugin Add Attachment is failing

I filed a support ticket but might get quicker response here. Jira plugin’s Add Attachment action doesn’t seem to be working. Googling seems to show this is a widespread issue with python3.8. Seems like the plugin would need to be updated?

rapid7/Jira:6.0.4. Step name: attach_issue

dictionary keys changed during iteration
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/insightconnect_plugin_runtime-4.2.0-py3.8.egg/insightconnect_plugin_runtime/plugin.py”, line 326, in handle_step
output = self.start_step(
File “/usr/local/lib/python3.8/site-packages/insightconnect_plugin_runtime-4.2.0-py3.8.egg/insightconnect_plugin_runtime/plugin.py”, line 476, in start_step
output = func(params)
File “/usr/local/lib/python3.8/site-packages/jira_rapid7_plugin-6.0.4-py3.8.egg/komand_jira/actions/attach_issue/action.py”, line 27, in run
output = add_attachment(
File “/usr/local/lib/python3.8/site-packages/jira_rapid7_plugin-6.0.4-py3.8.egg/komand_jira/util/util.py”, line 111, in add_attachment
output = connection.client.add_attachment(
File “/usr/local/lib/python3.8/site-packages/jira/client.py”, line 126, in wrapper
result = func(*arg_list, **kwargs)
File “/usr/local/lib/python3.8/site-packages/jira/client.py”, line 787, in add_attachment
url, data=m, headers=CaseInsensitiveDict({‘content-type’: m.content_type, ‘X-Atlassian-Token’: ‘nocheck’}), retry_data=file_stream)
File “/usr/local/lib/python3.8/site-packages/jira/utils/init.py”, line 41, in init
for key, value in super(CaseInsensitiveDict, self).items():
RuntimeError: dictionary keys changed during iteration

1 Like