# AWX Template labels

**URL:** <https://forum.ansible.com/t/awx-template-labels/25663>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 2, 2017, 8:32pm UTC](https://forum.ansible.com/t/awx-template-labels/25663 "2017-10-02T20:32:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christer\_Hemgren](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@Christer\_Hemgren](https://forum.ansible.com/u/Christer_Hemgren)\
**Post date:** [October 2, 2017, 8:32pm UTC](https://forum.ansible.com/t/awx-template-labels/25663/1 "2017-10-02T20:32:46Z")

</div>

Hi

How should AWX Template labels work?

Under template x edit, labels → ? say like.  
"Optional labels that describe this job template, such as “dev” or “test”. Labels can be used to group and filter job templates and completed jobs.

I can see the added labels under both Templates and Jobs summary.  
But it do not look to be possible to “search” or “sort” on label as it is possible in name and type.

Regards  
Christer

---

<div class="post-metadata">

**Author:** ![jmitchel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jmitchel/32/10148_2.png) [@jmitchel](https://forum.ansible.com/u/jmitchel)\
**Post date:** [October 2, 2017, 9:35pm UTC](https://forum.ansible.com/t/awx-template-labels/25663/2 "2017-10-02T21:35:13Z")

</div>

Use `labels:<name_of_label>`. Here’s a screenshot of labels filtering working on the template and jobs page.

 ![Inline image 1](https://us1.discourse-cdn.com/ansible/original/2X/a/a3a473ec7f4ee50c322b01aab0750ca89b748d55.png) ![Inline image 2](https://us1.discourse-cdn.com/ansible/original/2X/8/8664b78df35688cdf78ea9edc562bc033b908f0a.png)
