---
title: "ProjectComponent interface"
canonical: "https://support.appfire.com/space/JMWE/462062256/ProjectComponent%20interface"
format: markdown
---
> Macro (aura-html)

This document details the methods of the [ProjectComponent](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/bc/project/component/ProjectComponent.html) interface you can use on a Component, such as those returned by the [Getters](https://appfire.atlassian.net/wiki/display/JMWE/Accessing+the+fields+of+an+issue) when you [access Component/s field](https://appfire.atlassian.net/wiki/display/JMWE/Standard+JIRA+fields#StandardJIRAfields-Component/s).

| **Method** | **Return type** | **Returns** |
| --- | --- | --- |
| [getName](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/IssueConstant.html#getName())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | Name of the project component |
| [getAssigneeType](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/bc/project/component/ProjectComponent.html#getAssigneeType())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | The assignee type |
| [getComponentLead](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/bc/project/component/ProjectComponent.html#getComponentLead())`()` | [ApplicationUser](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461472599) | The lead for this project component |
| [getId](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/bc/project/component/ProjectComponent.html#getId())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | The component ID |
| [getLead](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/bc/project/component/ProjectComponent.html#getLead())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | Userkey of the lead for this project component |
| [getProjectId](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/bc/project/component/ProjectComponent.html#getProjectId())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | The project ID |
| [getDescription](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/IssueConstant.html#getDescription())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | The component description |