Specifying Component Attributes

Component attributes can be considered like custom fields for components. Before specifying component attribute values, Jira administrators or Jira System Administrators should define available "Component Attributes" using "Component Attributes" section of add-on configuration. 

You can use hasComponentAttribute to query components having a specific attribute. hasComponentAttribute accepts 3 parameters, attribute name, operator and operand. For example:

Find open source components
component in hasComponentAttribute("Open Source", "=", "true")
Components having a budget larger than 100h
component in hasComponentAttribute("Budget", ">", "100h")