Dialog bug rest endpoints with different script runner versions


#1

Hi ,

I had a REST Endpoint with a dialog that worked on script runner verion 5.0.11 .

We upgrade the script runner to version 5.4.39 and now, The dialog opens in a new window.

For example,
In the new version:


In the old version it looks like a regular jira dialog.

I use this code:

Response.ok().type(MediaType.TEXT_HTML).entity(dialog.toString()).build()

Any ideas…?

Thanks,

Daniel Mor