Copy this code in the description of a custom field (in the Field Configuration linked to the project)

<script>
var isIssuePage = AJS.$('#issue-content');
if (isIssuePage.length != 0)
{
AJS.$(".name:contains('Labels:')").parent().hide();
AJS.$(".name:contains('Resolution:')").parent().hide();
AJS.$(".name:contains('Priority:')").parent().hide();
AJS.$(".name:contains('Type:')").parent().hide();
}
</script>
Posted by:.

One thought on “How to Hide JIRA default fields from issue page

Leave a comment