I created a scripted field of type html in the script runner settings.
It looks like this:
<!DOCTYPE html>
<html lang="en">
<head><meta http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body>
...
</body>
</html>
Normally I'm using it in a transition dialog of a workflow.
There it works as expected.
But when I integrate the same field in the screen, which is used to view the issues, the complete view is destroyed. First I see the content of the html field and then only some part of the description. All the other fields of the screen are not visible. It is also not possible to scroll the view. It looks like, that Jira just wants to show the content of the html customer field and noting else.
Does somebody know why the scripted html field is destroying the complete normal view of an issue? Thanks.
A well formed html document should only have a single header, type, body etc, and your code is injecting others into the body of a page. Most browsers cannot cope with this and a typical response to a broken web page is to simply stop rendering when you reach the bit that is broken.
You should remove pretty much every line of html you've put in your question - the doctype, html, head and body tags are causing the problem because browsers won't handle more than one of them in a page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.