Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira filter does not updates when criteria removed Edited

I have created a searcher for a custom field with a selector in its template. Everything works fine when it's simple <select ..., but if I use <aui-select ... then when I click on X to remove criteria, it's still in JQL even despite that the chip with it was removed.

#disable_html_escaping()
$!{auiparams.put("controlHeaderClass", "aui-field-text")}
#searcherEditHeader (${customField.id} ${customField.name})
<aui-select id="searcher-$customField.id" name="$customField.id" #if ($configs.styles.style) style="$configs.styles.style"#end>
    #foreach($department in $departments)
    <aui-option value="$department.getGuid()" #if($department.getGuid() == $value) selected #end>$department.getName()</aui-option>
    #end
</aui-select>
#searcherEditFooter (${customField.id} ${customField.descriptionProperty.viewHtml})
$!{auiparams.clear()}

I found that click on those X should call _removeCriteria function from CriteriaView.js but I'm not shure if it's really called. I tried to search a way how to verify it, but didn't manage to do it.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

105 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you