Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I write a JQL filter to display issues if there is an entry in a specific custom field?

sherri_nc March 16, 2022

I am trying to write a filter for a scrum board that displays issues from any project in our jira instance where the custom field "UX" has an entry in it.   Our UX team works with every team in the company and I am trying to get them a way to see and track the issues.  

2 answers

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Champion
March 16, 2022

Hi @sherri_nc 

I would recommend to even create a new board within a project that consists of all projects and then edit the jql within board settings like "...AND UX != Empty"

Best
Stefan 

0 votes
Mikael Sandberg
Community Champion
March 16, 2022

Your query would look something like this:

<custom field> = UX ORDER BY Rank ASC

Just note that when you use such a broad query, you may run into issues due to project permissions. For example if you are using a Scrum board the user that should be able to manage sprints needs to have that permission in all your projects.

To narrow the query down a bit you could limit it to just Software projects like this:

projectType = software AND <custom field> = UX ORDER BY Rank ASC

sherri_nc March 16, 2022

This does not work for me.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 16, 2022

I think you need to combine Michael and Stefan's answers:

projectType = software AND UX is not empty ORDER BY Rank ASC

Like # people like this
sherri_nc March 16, 2022

That is exactly what I did :-)  Thanks to everyone!

Like Stefan Salzl likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events