Optionalari?: stringCompass component's ID. Can't be updated. Not required for creating a Project Component.
Optionalassignee?: {OptionalaccountId?: stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests.
OptionalaccountType?: "unknown" | string & {} | "atlassian" | "app" | "customer"The user account type. Can take the following values:
atlassian regular Atlassian user accountapp system account used for Connect applications and OAuth to represent external systemscustomer Jira Service Desk account representing an external service deskOptionalactive?: booleanWhether the user is active.
OptionalapplicationRoles?: {OptionalappType?: stringThe app type of the user account when accountType is 'app'. Can take the following values:
service Service Accountagent Rovo Agent Accountunknown Unknown app typeOptionalavatarUrls?: {Optional16x16?: stringThe URL of the item's 16x16 pixel avatar.
Optional24x24?: stringThe URL of the item's 24x24 pixel avatar.
Optional32x32?: stringThe URL of the item's 32x32 pixel avatar.
Optional48x48?: stringThe URL of the item's 48x48 pixel avatar.
OptionaldisplayName?: stringThe display name of the user. Depending on the user’s privacy setting, this may return an alternative value.
OptionalemailAddress?: stringThe email address of the user. Depending on the user’s privacy setting, this may be returned as null.
Optionalexpand?: stringExpand options that include additional user details in the response.
Optionalgroups?: {Optionalguest?: booleanWhether the user is a guest.
Optionallocale?: stringThe locale of the user. Depending on the user’s privacy setting, this may be returned as null.
Optionalself?: stringThe URL of the user.
OptionaltimeZone?: stringThe time zone specified in the user's profile. If the user's time zone is not visible to the current user (due to user's profile setting), or if a time zone has not been set, the instance's default time zone will be returned.
OptionalassigneeType?: The nominal user type used to determine the assignee for issues created with this component. See realAssigneeType
for details on how the type of the user, and hence the user, assigned to issues is determined. Can take the
following values:
PROJECT_LEAD the assignee to any issues created with this component is nominally the lead for the project the
component is in.COMPONENT_LEAD the assignee to any issues created with this component is nominally the lead for the component.UNASSIGNED an assignee is not set for issues created with this component.PROJECT_DEFAULT the assignee to any issues created with this component is nominally the default assignee for the
project that the component is in.Default value: PROJECT_DEFAULT. Optional when creating or updating a component.
Optionaldescription?: stringThe description for the component. Optional when creating or updating a component.
Optionalid?: stringThe unique identifier for the component.
OptionalisAssigneeTypeValid?: booleanWhether a user is associated with assigneeType. For example, if the assigneeType is set to COMPONENT_LEAD but
the component lead is not set, then false is returned.
Optionallead?: {OptionalaccountId?: stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests.
OptionalaccountType?: "unknown" | string & {} | "atlassian" | "app" | "customer"The user account type. Can take the following values:
atlassian regular Atlassian user accountapp system account used for Connect applications and OAuth to represent external systemscustomer Jira Service Desk account representing an external service deskOptionalactive?: booleanWhether the user is active.
OptionalapplicationRoles?: {OptionalappType?: stringThe app type of the user account when accountType is 'app'. Can take the following values:
service Service Accountagent Rovo Agent Accountunknown Unknown app typeOptionalavatarUrls?: {Optional16x16?: stringThe URL of the item's 16x16 pixel avatar.
Optional24x24?: stringThe URL of the item's 24x24 pixel avatar.
Optional32x32?: stringThe URL of the item's 32x32 pixel avatar.
Optional48x48?: stringThe URL of the item's 48x48 pixel avatar.
OptionaldisplayName?: stringThe display name of the user. Depending on the user’s privacy setting, this may return an alternative value.
OptionalemailAddress?: stringThe email address of the user. Depending on the user’s privacy setting, this may be returned as null.
Optionalexpand?: stringExpand options that include additional user details in the response.
Optionalgroups?: {Optionalguest?: booleanWhether the user is a guest.
Optionallocale?: stringThe locale of the user. Depending on the user’s privacy setting, this may be returned as null.
Optionalself?: stringThe URL of the user.
OptionaltimeZone?: stringThe time zone specified in the user's profile. If the user's time zone is not visible to the current user (due to user's profile setting), or if a time zone has not been set, the instance's default time zone will be returned.
OptionalleadAccountId?: stringThe accountId of the component's lead user. The accountId uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
Optionalmetadata?: Record<string, any>Compass component's metadata. Can't be updated. Not required for creating a Project Component.
Optionalname?: stringThe unique name for the component in the project. Required when creating a component. Optional when updating a component. The maximum length is 255 characters.
Optionalproject?: stringThe key of the project the component is assigned to. Required when creating a component. Can't be updated.
OptionalprojectId?: numberThe ID of the project the component is assigned to.
OptionalrealAssignee?: {OptionalaccountId?: stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests.
OptionalaccountType?: "unknown" | string & {} | "atlassian" | "app" | "customer"The user account type. Can take the following values:
atlassian regular Atlassian user accountapp system account used for Connect applications and OAuth to represent external systemscustomer Jira Service Desk account representing an external service deskOptionalactive?: booleanWhether the user is active.
OptionalapplicationRoles?: {OptionalappType?: stringThe app type of the user account when accountType is 'app'. Can take the following values:
service Service Accountagent Rovo Agent Accountunknown Unknown app typeOptionalavatarUrls?: {Optional16x16?: stringThe URL of the item's 16x16 pixel avatar.
Optional24x24?: stringThe URL of the item's 24x24 pixel avatar.
Optional32x32?: stringThe URL of the item's 32x32 pixel avatar.
Optional48x48?: stringThe URL of the item's 48x48 pixel avatar.
OptionaldisplayName?: stringThe display name of the user. Depending on the user’s privacy setting, this may return an alternative value.
OptionalemailAddress?: stringThe email address of the user. Depending on the user’s privacy setting, this may be returned as null.
Optionalexpand?: stringExpand options that include additional user details in the response.
Optionalgroups?: {Optionalguest?: booleanWhether the user is a guest.
Optionallocale?: stringThe locale of the user. Depending on the user’s privacy setting, this may be returned as null.
Optionalself?: stringThe URL of the user.
OptionaltimeZone?: stringThe time zone specified in the user's profile. If the user's time zone is not visible to the current user (due to user's profile setting), or if a time zone has not been set, the instance's default time zone will be returned.
OptionalrealAssigneeType?: The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set
from the assigneeType. For example, assigneeType is set to COMPONENT_LEAD but no component lead is set. This
property is set to one of the following values:
PROJECT_LEAD when assigneeType is PROJECT_LEAD and the project lead has permission to be assigned issues in
the project that the component is in.COMPONENT_LEAD when assigneeType is COMPONENT_LEAD and the component lead has permission to be assigned
issues in the project that the component is in.UNASSIGNED when assigneeType is UNASSIGNED and Jira is configured to allow unassigned issues.PROJECT_DEFAULT when none of the preceding cases are true.Optionalself?: stringThe URL of the component.
Optionaloptions: RequestOptions
Creates a component. Use components to provide containers for issues within a project. Use components to provide containers for issues within a project.
This operation can be accessed anonymously.
Permissions required: Administer projects project permission for the project in which the component is created or Administer Jira global permission.