What exactly is a jira component

John Strzempa June 13, 2017

Trying to figure out the terms here and how they're used. Are the components just jira classes? Why are they called components and what's the difference between a component and osgi component?

2 answers

5 votes
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 14, 2017

JIRA components as Branden said are simply a way to categorize work in a project. They can also have a different default assignee than the project lead. They have nothing to do with PICO or OSGi except you could use them to segregate work

3 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 13, 2017

Hi John,

JIRA components are sub-sections of a project. They are used to group issues within a project into smaller parts.  I would take a look at Managing components and Defining a Component for more information.  The Stackoverflow post titled What is the difference between OSGi Components and Services provides this explanation in regards to OSGI Components:

A "component" tends to be an object whose lifecycle is managed, usually by a component framework such as Declarative Services (DS), Blueprint or iPOJO. See this page on the OSGi Community Wiki for a discussion of the different component frameworks available.

A component may have any of the following features, in combination or alone:

  • A component may be started and stopped; this would be considered an "active" component, though that is also an informal term. A component that doesn't need to be started or stopped is called passive.
  • A component may publish itself as an OSGi service.
  • A component may bind to or consume OSGi services.


Hopefully that provides a bit more clarity.

Cheers,

Branden

John Strzempa June 13, 2017

So it has nothing to do with the PICO container. I saw another answer that said,
"Components" can refer either to Pico components or to OSGi services.

Suggest an answer

Log in or Sign up to answer