Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,249
Community Members
 
Community Events
176
Community Groups

Why is the javascript in Field Configuration not executed anymore?

We use Jira Core since About 2 years.

In some of our Workflows we used the Field Description of the Summary field to automatically fill and hide it.

Here's the relating script:

<script type="text/javascript">
 jQuery("label:contains('NoSummaryField')").parent().hide();
 jQuery("input#summary").parent().hide();
 jQuery("#create-issue-submit").click(function(){
  // TODO: fetch ur summary value here
  var summary_value = "Neuer Vorgang";
  jQuery("input#summary").val(summary_value);
 });
</script>

 Unfortunatly since we updated to Jira Version 8.7.1, the script seems not to be executed anymore but is shown on the create issue screens.

2020-03-03 14_07_10-Create Issue - Jira - NEW Netz GmbH.png

With Version 8.6.1 the description wasn't shown and the script was executed.

 

2 answers

Try this:

Disabling HTML in custom fields description

Status: IMPLEMENTED (eap 02)

We’re changing the default behavior of one of the global settings: Enable HTML in custom field descriptions and list item values. Now, it will be OFF by default. If your instance relies on having this option enabled, make sure to change it in Administration > System > General configuration.

https://confluence.atlassian.com/jiracore/preparing-for-jira-8-7-983794309.html

Hi Dawn @Dawn Fama ,

I have just upgraded to 8.13 version, here still this JS shows up in this area and it is already disabled by default. Will this issue be solved if we enable it? Or is there any other alternate workaround for it?

Hello Mohammed,

Sorry for any confusion.  I'm not an Atlassian developer.  I'm just part of the community. 

I copied the response above from the sited link - Preparing for Jira 8.7 | Atlassian Support | Atlassian Documentation

Have you tried to enable to see if it works as expected?  

Also, maybe full re-index may help after upgrade?  Are you using built in jvm or other jvm?  

Currently, I'm running 8.16.1 on my instance.

Like Mohammed Siyad likes this

Thanks dawn, it worked out for me in 8.13.4 version after the re-index. Thanks aton for the info.

Like Dawn Fama likes this

Great!  Glad it's working for you :)

I had the same issue. Thanks @Dawn Fama , it worked for me in 8.20.1 also without reindexing.

I have an identical issue with JS rendering for custom field

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events