<?php
$current_tax = get_queried_object();
$query = array(
'posts_per_page' => 2
,'post_type' => 'case'
,'tax_query' => array(
array(
'taxonomy' => 'example'
,'field' => 'id'
,'terms' => $current_tax->term_id
)
)
);
$query = new WP_Query($query);
?>