Create component
jira_create_componentCreate a Jira project component to group issues under a sub-area. Provide project key and name; check existing components first to prevent duplicates.
Instructions
Creates a component in a project — a sub-area issues can be filed under. Takes the project KEY (jira_create_version takes a numeric id instead; that asymmetry is Jira's). The description is stored as PLAIN TEXT, so markdown is stored literally. Needs the "Administer projects" permission. Running this twice creates two components, so check jira_list_components first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name, unique within the project — it appears in the issue view. | |
| apply | No | Set true to EXECUTE this write. Omit (or false) to get a plan of the request that would be sent. Executing also requires the server to run with JIRA_WRITE_MODE=apply. | |
| plan_id | No | The single-use id returned by the preceding plan-mode call. Required together with apply: true; a mismatch means the arguments changed since the plan, and the write is refused rather than executed. | |
| profile | No | Named credential profile for this call. Omit to use the active profile. Rejected when the server locks the profile (JIRA_LOCK_PROFILE). | |
| project | Yes | Project KEY (ABC) the component belongs to. A component cannot be moved later. | |
| description | No | Free-text description, stored as PLAIN TEXT — this endpoint predates rich text, so markdown and ADF are stored literally. Pass "" to clear it. | |
| assigneeType | No | Who new issues in this component are assigned to: PROJECT_DEFAULT, COMPONENT_LEAD, PROJECT_LEAD or UNASSIGNED. UNASSIGNED only works when the site allows unassigned issues. | |
| leadAccountId | No | accountId of the component lead. Required in practice when assigneeType is COMPONENT_LEAD. |