shridhar-tl / jira-assistant

Repository containing source code of Jira Assistant browser extension. This is also used to track bugs related to the extension.
https://www.jiraassistant.com
247 stars 77 forks source link

Delete Reports cause to Unhandled error #280

Closed kxMaxx closed 1 year ago

kxMaxx commented 1 year ago

Checklist before you being

How do you use Jira Assistant?

Browser extension

Are you using cloud version of Jira or self hosted (data center / server) of Jira.

Self hosted (datacenter)

Version of Jira Assistant

2.47

What browser are you using?

Firefox

What OS are you using? You need not disclose this if you feel it is irr-relevant for your issue.

Windows

Bug Description

Use Report Builder an create an report. Deleting the report again is impossible.

The "Delete Query" button is confirmed with a message: Unhandled error. An unknown error occurred while processing your request.

The report still exists.

Another bug: If there is such a customized report, it is not possible to export the settings via "Export Settings including Reports". This leads to the same error.

Checklist before you submit

shridhar-tl commented 1 year ago

@kxMaxx - Thank you for reporting this issue. This issue would be resolved in next release of Jira Assistant and would be available for extension users by end of this month. However this would be available in web version max by end of this week.

shridhar-tl commented 1 year ago

Hi @kxMaxx - The issue you mentioned about deleting a report has broken couple of months back due to a major refactoring. Now that is resolved and would be part of next release. For now it is already available in Web version and you can use it to delete the report if you wanted to do it right away. You can access the web version by visiting https://app.jiraassistant.com and connecting with your extension.

However, I was not able to reproduce the issue you mentioned about exporting settings fails while we include reports as well. I tried to export the settings including reports and it did work without issues. Can you retry that and send me a screenshot of the console error so that I will see if error details helps me to identify the issue.

kxMaxx commented 1 year ago

Here some outputs: DeleteQuery1.Log ExportAllSettings.Log

shridhar-tl commented 1 year ago

Hi @kxMaxx - This issue has been resolved in JA v2.48 and would be available for extension users by end of this month. However it is immediately available for Web version of Jira Assistant. You can try this functionality once in Web version to see if your issue is resolved.

[Background] After trying a lots of scenario's, finally identified that export is failing due to usage of columns which has non Latin chars in field names. Following screenshot shows example of such fields from Jira. Inbuild encode function does not support this and hence had done custom implementation for the same.

image

I'm closing this issue considering this issue is resolved. After trying in web version, if you still face any issue, please feel free to reopen this ticket.