System field Fix Version/s - error message in screen

Ulf Johansson May 16, 2022

We are running on JSW 8.22 datacenter license.
All screens using field "Fix version/s" put out this text framed in screen.
No error seems to appear , we can add version or leave it blank.
But does anyone have any knowledge about what it is and how to get rid of it?

<script type="text/javascript">
jQuery(document).ready(
function () {
if (document.location.pathname == "/secure/CreateIssue.jspa")

{ jQuery('#fixVersionsFieldArea').css("visibility", "collapse"); }

}
);
</script>

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 16, 2022

How to get rid of what?  You have not described any problem or error here?

Ulf Johansson May 16, 2022

@Nic Brough -Adaptavist- 

Get rid of the text that is shown below the field , see attached picture

FixVersionDump.jpg

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2022

Ah, that's not an error message, that's one of your administrators trying to botch ini clumsy tweaks.

Go to the project administration and look for the field configurations, descend into them, and go find the fix version field.  Edit it, and blank out the description.

Like Ulf Johansson likes this
Ulf Johansson May 17, 2022

Thanks @Nic Brough -Adaptavist- issue solved.
The instance with JSW 8.22 is our becoming prod environment in Azure.
It's an environment lifted & shifted from our on premise environment with JSW 8.4.1.
This "description" was is inherited from on premise environment.
But in that environment nothing happens, so I do not under stand why some one have put it there.

Is it possible to use javascript to render dynamic output of help text?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2022

Ahh, good to hear!

No, it's no longer possible to use javascript in field descriptions - Atlassian have been getting rid of it because it's the wrong way to do stuff, hard to support and usually breaks on upgrade. 

They stopped allowing execution completely a while ago, but the javascript that had been added to fields earlier used to not render at all, so it looked like there was no description. 

They've changed it a bit, and now it gets shown, and that's what's happened to you - your old js used to be hidden, but now it shows!

Like Ulf Johansson likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events