Workflow: Create a view of checked or unchecked ticket fields

<p>In this tutorial, you'll learn how to use Zendesk Support to create a view of your tickets based on a checked ticket field.</p><p>The workflow includes these steps:</p><p>You can add custom fields with a a <a href="https://support.zendesk.com/hc/en-us/articles/4408887162394-Using-custom-ticket-fields-in-business-rules-and-views#:~:text=Not%20available-,Checkbox,-Is%20checked" target="_blank" rel="noopener noreferrer">checkbox type</a> to views if they possess a tag. For this reason, follow these steps:</p><div style="margin-bottom: 20px; text-align: right;">
<button id="master-toggle" class="btn fw-semibold text-dark" data-action="expand" style="background-color: #DEF991; border: none; outline: none; border-radius: 7px; padding: 10px 20px; font-size: 15px; transition: background-color 0.2s ease;" onmouseover="this.style.backgroundColor='#cbef6d'" onmouseout="this.style.backgroundColor='#DEF991'">
Expand all tabs
</button>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
const toggleBtn = document.getElementById('master-toggle');

toggleBtn.addEventListener('click', function () {
const action = this.getAttribute('data-action');
const headers = document.querySelectorAll('.accordion');

headers.forEach(header => {
const isActive = header.classList.contains('active');
const panel = header.nextElementSibling; // Grabs the corresponding .panel container

if (action === 'expand' && !isActive) {
// Open it by simulating a standard click
header.click();
} else if (action === 'collapse' && isActive) {
// Close it by simulating a standard click
header.click();
}
});

// Flip button text and states
if (action === 'expand') {
this.setAttribute('data-action', 'collapse');
this.textContent = 'Collapse all tabs';
} else {
this.setAttribute('data-action', 'expand');
this.textContent = 'Expand all tabs';
}
});
});
</script><div class="accordion"><h3 id="h_01HXY1BFCAPEN08R87P7ENG6TS">Step 1: Add a tag in the settings of your ticket field</h3></div><div class="panel">
<p>To edit your custom field:</p>
<ol>
<li data-list-item-id="ec73bce6d9204c12d8efd07e71971dfcb">Access the edit page of your <a href="https://support.zendesk.com/hc/en-us/articles/4408828883738-Editing-and-managing-your-ticket-fields#topic_vgj_3gw_jz" target="_blank" rel="noopener noreferrer">ticket field</a>
</li>
<li data-list-item-id="e1f6e05b01648f1541c6549cc19568cc5">Under <strong>Field option</strong> &gt; <strong>Tag (optional)</strong> enter a tag of your choice, for example <strong>tag_field_name</strong>. If a tag name already appears, move to step 2.<br><img class="wysiwyg-image-resized" style="aspect-ratio: 497/662; width: 56.5%;" src="https://support.zendesk.com/hc/article_attachments/9996316020506" alt="Edit your ticket field" width="497" height="662">
</li>
<li data-list-item-id="ec7b2252422bc81abca17015e5dc19855">Click <strong>Save</strong>
</li>
<li data-list-item-id="e7ba66bd9141c37f997cce899cc93b3dc">Access the edit page of your <a href="https://support.zendesk.com/hc/en-us/articles/5494868102426-Editing-ticket-forms#topic_c5x_l3b_lk" target="_blank" rel="noopener noreferrer">ticket form</a> to verify that your field already appears</li>
<li data-list-item-id="e1b78a2119e0166b5703cf99113f086c9">If you see the ticket field under <strong>Available ticket fields</strong>, click <code>+</code> next to its name &gt; <strong>Save</strong>
</li>
</ol>
</div><div class="accordion"><h3 id="01HXY1G18XYBGPX37812NDQPP4">Step 2: Generate ticket data with the checked field</h3></div><div class="panel">
<p>To generate ticket data with that field:</p>
<ol>
<li data-list-item-id="eb3057f4940a05840567ffaf23c6d1b6e">
<a href="https://support.zendesk.com/hc/en-us/articles/4408882462618-Creating-a-ticket-on-behalf-of-the-requester#topic_swv_ytz_y2b" target="_blank" rel="noopener noreferrer">Create</a> or <a href="https://support.zendesk.com/hc/en-us/articles/4408832151834-Updating-and-solving-tickets#id_xsq_5f5_st" target="_blank" rel="noopener noreferrer">edit</a> a customer ticket</li>
<li data-list-item-id="e64e0eb8c1f4256a1527c3bfdf7fb2d4b">Select the ticket field from step 1</li>
<li data-list-item-id="ee7cb8f07f3e20d2499d2c75e0bcb24cd">Click <strong>Submit as</strong> to save your changes</li>
</ol>
</div><div class="accordion"><h3 id="h_01HXY1GYQDRZ3V1Y2A1VJXG88P">Step 3: Create your view from that tag</h3></div><div class="panel">
<p>To create a view of tickets with that checkbox:</p>
<ol>
<li data-list-item-id="e903aa2292f007eb0eb0582ce6613c52b">Create a <a href="https://support.zendesk.com/hc/en-us/articles/4408888828570-Creating-views-to-build-customized-lists-of-tickets#topic_vcr_xfp_ec" target="_blank" rel="noopener noreferrer">view</a>
</li>
<li data-list-item-id="eca7171dfc29cc93b188a595aab5fa831">Under <strong>Conditions</strong>, click <strong>Add condition</strong>
</li>
<li data-list-item-id="e6a764c31c9280c6836b8e19f7b0ddbf1">Enter the name of your ticket field, select <strong>Is</strong> &gt; then <strong>Checked</strong> or <strong>Unchecked</strong><br><img class="wysiwyg-image-resized" style="aspect-ratio: 757/210; width: 79.04%;" src="https://support.zendesk.com/hc/article_attachments/9996316020762" alt="Your custom view" width="757" height="210">
</li>
<li data-list-item-id="eca638d2f76bb9fe29675a18ccb7b5de0">Below <strong>Formatting options</strong> and <strong>Columns</strong>, click <strong>Add column</strong> &gt; enter the name of your ticket field &gt; select it</li>
<li data-list-item-id="ee4fefca80a5eab30166ebc9cb06030ac">Drag that field to the top of your column list</li>
<li data-list-item-id="e574fec1fed2fc6043894fcba8a2fc276">Click <strong>Save</strong>
</li>
<li data-list-item-id="e95c16265636219e8d70bcbebff4664cc">In <a href="https://support.zendesk.com/hc/en-us/articles/4408838272410-Switching-among-Zendesk-products" target="_blank" rel="noopener noreferrer">Support</a>, open your <a href="https://support.zendesk.com/hc/en-us/articles/4408829483930-Accessing-your-views-of-tickets#topic_1nl_ftm_vt" target="_blank" rel="noopener noreferrer">views</a>. The view appears on the left.</li>
<li data-list-item-id="edc54ab4f5a40a8f025ecdc3fc8a2f24f">If the wrong tickets appear, compare them and adjust <a href="https://support.zendesk.com/hc/en-us/articles/4408832792986-Managing-your-views#topic_fzx_qyj_5b" target="_blank" rel="noopener noreferrer">your view conditions</a>
</li>
</ol>
</div>