Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

Code Block
titleFind open source components
component in hasComponentAttribute("Open Source", "=", "true")


Code Block
titleComponents having a budget larger than 100h
component in hasComponentAttribute("Budget", ">", "100h")