O'Reilly logo

JIRA 5.x Development Cookbook by Jobin Kuruvilla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using filters to intercept queries in JIRA

Servlet filters provide a powerful mechanism to intercept queries and do wise things such as profiling, monitoring, content generation, and so on. It works exactly like any normal Java servlet filter and JIRA provides the Servlet Filter Plugin Module to add them using plugins. In this recipe, we will learn about how to use a filter to intercept certain queries to JIRA and how we can utilize them!

As with other servlet plugin modules, the servlet-filter plugin module also has a unique key and a class associated with it. The name attribute holds the human-readable name of the filter and weight indicates the order in which the filter will be placed in the filter chain. The higher the weight, the lower the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required