Query items by custom field

If you are having a problem using Vault, post a message here.
Post Reply
JamesGreen
Posts: 11
Joined: Thu Jun 09, 2011 3:01 am
Location: Sydney, Australia

Query items by custom field

Post by JamesGreen » Mon Aug 06, 2012 11:39 pm

Hi guys,

I was hoping to query our Vault Pro 5 (5.1.2) instance for work items where the value of custom field #1 is blank.

The idea was to query for all the items where this value has not been entered. I have tried expressions like <> '' etc but they always return no results.

Could you please help me out with what expression to use when querying items to get all the items where custom field #1 is blank?

Cheers
James

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Query items by custom field

Post by Beth » Tue Aug 07, 2012 2:31 pm

There currently isn't a way to query on keywords that are not present or blank. I can put in a feature request for this functionality.

In the meantime, I can send you a work-around. Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread?

F: 16503
Beth Kieler
SourceGear Technical Support

JamesGreen
Posts: 11
Joined: Thu Jun 09, 2011 3:01 am
Location: Sydney, Australia

Re: Query items by custom field

Post by JamesGreen » Wed Aug 08, 2012 12:54 am

A feature request would be great, thanks!

My use case is the custom #1 field is being used to store a reference number for another internal system. The way we are using it this field is not required for all issues, but I would like to check each week or so that where it is applicable it has been filled in (and not forgotten)

Thanks for a quick reply
James

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Query items by custom field

Post by Beth » Thu Aug 09, 2012 9:34 am

You're welcome.
Beth Kieler
SourceGear Technical Support

Post Reply