JIRA JQL, how to check if all labels in a field is contained in a valid set? -


i have label field in jira called 'assets'. labels can manually added easy add 'wrong label', have set of defined valid labels.

valid labels = (one, two, three)

the jql use is: "assets" not in (one, two, three)

this works fine if ie. assets = (red, blue) etc. if asset fild contains 1 of valid labels not show. ie. asset = (one, blue) not shown, in fact show.

how can create jql checks labels in field contained in set?

unfortunately, there no way standard jql.

you can accomplish using script runner add-on though. allows implement own custom jql function in groovy using jira java api, can add whatever logic desire.

some interesting links:


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -