How we can hide Created and Updated Fields from View Screen of Jira 4.3.4

Avdhesh Chauhan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2013

Hello we have some issue types therre we dont want to show the created and updatred date of for the isseus how we can hide them there are no option available in Field configuration aslo to hide them, is there any other way?

1 answer

0 votes
RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2013

try with javascript as something like this by adding in footer.jsp

<script type="text/javascript">  
jQuery(document).ready(function($) {
var issueType = $.trim($("#type-val").text());
if(issueType == 'Defect'){
  $("#create-date").style.display = 'none';
  $("#updated-date").style.display = 'none';	
or 
 $("#create-date").hide();
 $("#updated-date").hide();
}else{
    $("#create-date").style.display = '';
$("#updated-date").style.display = '';	
or 
 $("#create-date").show();
 $("#updated-date").show();
}

});
</script>

make sure that "create-date" and "updated-date" names are correct by using firebug or javascript console

Avdhesh Chauhan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2013

Hello Rambanam,

Thanks for answer but this is not working.

can you please give me some other solution

RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2013

i have updated my answer check that and let me know if you get any error!

Suggest an answer

Log in or Sign up to answer