Forums

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

Get Issues with non blank customfields ?

Namrata Joshi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 11, 2015

I have a custom field on Issue, Its blank(not null) for few Issues and contains some value for few.

tried mostly all jql option similar to cf[100010] IS NOT EMPTY or cf[100010] !~""

Please suggest appropriate jql

 

Querying : cf[10..00] !~ ''  returns 

{
"errorMessages": [
"The field 'cf[10..00]' does not support searching for an empty string."
],
"errors": {}
}

1 answer

0 votes
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.
August 11, 2015

What type of field is it?  Most fields will not actually take a blank string as valid content, internally, they'll go "oh, nothing, ok, I'll store it as empty"

Namrata Joshi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 12, 2015

 

I have installed metadata add-on for project level custom field; and set Key=project.ID and Value = xyz and created a new Custom field of type "JIRA Metadata - View project metadata field" and set default value as project.ID. It's properly showing that field in my issue.

For only 1 Project metadata(key/value) is set and for other projects its not set. from JIRA API, for other Issues other than this project its displaying customefield as ""

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.
August 12, 2015

I'm not sure how the metadata stuff stores its data, or how the searcher for it works.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events