Canned Search Plugin
Breadcrumbs

How to Search with nFeed Fields

Background


nFeed is a Jira add-on that query data from various data sources (e.g. SQL, Active Directory, LDAP, REST APIs) and display them in Jira custom fields.

As the JQL representation is slightly different, it will display the option in the format <display value> <[id]>

For example, to search for a nfeed field which has the value Multiple Filters Chart Gadget

nfeed Basic Search.png

The JQL displayed in Advanced mode will be the following. The id of the entry (com.akelesconsulting.jira.plugins.MultipleChartsGadget) will be added to the display value in the JQL. 

project = MCHART AND "Akeles Plugin" = "Multiple Filters Chart Gadget [com.akelesconsulting.jira.plugins.MultipleChartsGadget]"


This page demonstrates the 2 ways that Canned Search plugin can work with nFeed fields:

/*<![CDATA[*/ div.rbtoc1762509519882 {padding: 0px;} div.rbtoc1762509519882 ul {list-style: disc;margin-left: 0px;} div.rbtoc1762509519882 li {margin-left: 0px;padding-left: 0px;} /*]]>*/ Text Search with Text field nFeed_field In (options) Search with Dropdown field


Text Search with Text field 


You have to use the contains (~) operator in your JQL definition 

nfeed text search 1.png

Change the Type to Text

nfeed text search 2.png

Now it will work with partial text search

nfeed text search 3.png


nFeed_field In (options) Search with Dropdown field


To allow dropdown search, you need to use the IN operator. For example, Attachment Checker for Confluence is one of the options for the Akeles Plugin nFeed field

nfeed in search 1.png

Change the Type to Dropdown

nfeed in search 2.png

To view the options, just click on the text to display the dropdown, and then click on the + icon to add it to the selection

nfeed in search 3.png


Reference


There is a an improvement to hide the id in the nFeed field in the dropdown select

.jira-issue { padding: 0 0 0 2px; line-height: 20px; } .jira-issue img { padding-right: 5px; } .jira-issue .aui-lozenge { line-height: 18px; vertical-align: top; } .jira-issue .icon { background-position: left center; background-repeat: no-repeat; display: inline-block; font-size: 0; max-height: 16px; text-align: left; text-indent: -9999em; vertical-align: text-bottom; } CANNED-17 - Getting issue details... STATUS