Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Javascript block appears when comment bouton is use



We've just upgrade from Jira Core 8.5.3 to 8.7.1 (docker's image).

We have a minor glitch, on certains workflow/project, when clicking on the comment bouton, a javascript block appears, like this one:

<script type="text/javascript">

jQuery(document).ready( function($) {JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e,context)

{ callCommentHideFunction(); }

); callCommentHideFunction();function callCommentHideFunction(){if($('#issue-workflow-transition-submit').val() =='Démarrer la progression')

{ $(".wiki-edit").hide(); $("label[for='comment']").hide(); $("div[class='save-options wiki-button-bar']").hide(); //Transition Résolution }

else if ($('#issue-workflow-transition-submit').val() =='Traiter la demande')

{ $("div[class='field-group aui-field-wikiedit comment-input']").hide(); //Transition Start Progress For UK & United States }

else if ($('#issue-workflow-transition-submit').val() =='Start Progress')

{ $("div[class='field-group aui-field-wikiedit comment-input']").hide() //Transition Resolve Issue For UK & United States }

else if ($('#issue-workflow-transition-submit').val() =='Resolve Issue')

{ $("div[class='field-group aui-field-wikiedit comment-input']").hide(); }



Any ideas what's causing this, and how can I find a way to correct this ?




0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

378 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you