CreateIssueModal does not call the onClose callback if a work item has been created in it

Hello,

We’re using CreateIssueModal in our app. We’ve noticed recently that if at least one work item has been created in a dialog, it doesn’t call the onClose callback that we pass to it. This doesn’t depend on how we close the dialog - by clicking Cancel after checking “Create another”, by clicking Create, etc. If we discard the dialog without creating a work item, onClose is correctly called with { payload: [] }.

It’s 100% reproducible at least on 2 Jira domains that we’re using for development. I remember that everything worked on the same domains when we used CreateIssueModal for the first time (moving from Connect to Forge), but we didn’t notice when exactly it got broken.

Is this a known issue?

Hey Denis!

Do you have any news on that topic? We believe that we’re facing the same problem for some of our customers but we didn’t managed to reproduce that on our testing env.

Do you have a way to reproduce the bug of it’s random/jira domain related?

Best regards,

Kévin

Hello,

I raised a ticket for technical support on July 8 (the issue still occurred at that time), and they responded that they couldn’t reproduce the issue on their side. Two days later, when I tried to take a screen recording of the issue, I couldn’t reproduce it either. The dialog has been working properly on both domains since that moment.