Structure Query Constraint module allows you to define an additional constraint function that can be used in S-JQL.
For example, folder() function explained in S-JQL Reference is implemented with a structure-query-constraint.
Example:
<structure-query-constraint key="constraint-foo"
class="com.mycompany.structure.FooConstraint"
name="Structure Query Constraint: foo"
fname="foo"/>
|
Element |
Required? |
Description |
|---|---|---|
|
|
Yes |
Module key. |
|
|
No |
Module name for the JIRA administrator. |
|
|
Yes |
Class that implements StructureQueryConstraint . |
|
|
Yes |
Function name, must be unique throughout the system. |