Information Technology Reference
In-Depth Information
How to do it…
Proceed with the following steps to add JavaScript to custom field description:
1. Log in to JIRA as a JIRA administrator.
2. Navigate to
Administration
|
Issues
|
Custom Fields
.
3. Click on the
Edit
link for the custom field.
4. Enter the following JavaScript snippets into the
Description
text box and click on
Update
. You will need to substitute it in your custom field's ID.
<script>
AJS.$('#customfield_10103
option[value="-1"]').remove();
</script>
The following screenshot shows that the
Team
custom field no longer has the
None
option: