Atlassian: Update project
Atlassian projects.updateProject: arguments, response, policy and SDK examples.
← Projects operations · Get started
Operation atlassian.updateproject
Provider route: PUT /{cloudId}/rest/api/3/project/{projectIdOrKey}. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/atlassian with npm, or alter-sdk-atlassian with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { AtlassianIntegration } from "@alter-ai/atlassian";
async function execute(input: Parameters<AtlassianIntegration["projects"]["updateProject"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new AtlassianIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.projects.updateProject(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_atlassian import AtlassianIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = AtlassianIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.projects.update_project(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.cloudId | string | Required within parent | Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ |
path.projectIdOrKey | string | Required within parent | |
query | object | Optional | Additional keys: not allowed |
query.expand | string | Optional | |
body | Model | Required within parent | Expand Update project — request body — body |
Referenced models: Update project — request body — body
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Get project — response body |
Referenced models: Get project — response body
Schemas
Section titled “Schemas”17 more schemas are linked from the tables above, on the schema pages.
Update project — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details about the project. Additional keys: not allowed |
assigneeType | string | Optional | The default assignee when creating issues for this project. One of: PROJECT_LEAD, UNASSIGNED |
avatarId | integer | Optional | An integer value for the project's avatar. Format: int64 |
categoryId | integer | Optional | The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-3-projectCategory-get) operation. To remove the project category from the project, set the value to `-1.` Format: int64 |
description | string | Optional | A brief description of the project. |
issueSecurityScheme | integer | Optional | The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues. Use the [Get issue security schemes](#api-rest-api-3-issuesecurityschemes-get) resource to get all issue security scheme IDs. Format: int64 |
key | string | Optional | Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters. The maximum length is 10 characters. |
lead | string | Optional | This parameter is deprecated because of privacy changes. Use `leadAccountId` instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The user name of the project lead. Cannot be provided with `leadAccountId`. |
leadAccountId | string | Optional | The account ID of the project lead. Cannot be provided with `lead`. Maximum length: 128 |
name | string | Optional | The name of the project. |
notificationScheme | integer | Optional | The ID of the notification scheme for the project. Use the [Get notification schemes](#api-rest-api-3-notificationscheme-get) resource to get a list of notification scheme IDs. Format: int64 |
permissionScheme | integer | Optional | The ID of the permission scheme for the project. Use the [Get all permission schemes](#api-rest-api-3-permissionscheme-get) resource to see a list of all permission scheme IDs. Format: int64 |
releasedProjectKeys | array | Optional | Previous project keys to be released from the current project. Released keys must belong to the current project and not contain the current project key Unique items: true |
releasedProjectKeys[] | string | Each item | |
url | string | Optional | A link to information about this project, such as project documentation |
Get user — response body — avatar Urls 16x16, 24x24, 32x32, 48x48
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
16x16 | JSON | Optional | |
16x16 (anyOf 1) | string | Alternative | The URL of the item's 16x16 pixel avatar. Format: uri |
16x16 (anyOf 2) | null | Alternative | |
24x24 | JSON | Optional | |
24x24 (anyOf 1) | string | Alternative | The URL of the item's 24x24 pixel avatar. Format: uri |
24x24 (anyOf 2) | null | Alternative | |
32x32 | JSON | Optional | |
32x32 (anyOf 1) | string | Alternative | The URL of the item's 32x32 pixel avatar. Format: uri |
32x32 (anyOf 2) | null | Alternative | |
48x48 | JSON | Optional | |
48x48 (anyOf 1) | string | Alternative | The URL of the item's 48x48 pixel avatar. Format: uri |
48x48 (anyOf 2) | null | Alternative |
Get project — response body — issue Type Hierarchy The project issue type hierarchy
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The project issue type hierarchy. |
baseLevelId | JSON | Optional | |
baseLevelId (anyOf 1) | JSON | Alternative | |
baseLevelId (anyOf 1) (anyOf 1) | integer | Alternative | The ID of the base level. This property is deprecated, see [Change notice: Removing hierarchy level IDs from next-gen APIs](https://developer.atlassian.com/cloud/jira/platform/change-notice-removing-hierarchy-level-ids-from-next-gen-apis/). Format: int64 |
baseLevelId (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
baseLevelId (anyOf 2) | null | Alternative | |
levels | JSON | Optional | |
levels (anyOf 1) | array | Alternative | Details about the hierarchy level. Read only: true |
levels (anyOf 1)[] | Model | Each item | Expand Get project — response body — issue Type Hierarchy The project issue type hierarchy levels Details about the hierarchy level item |
levels (anyOf 2) | null | Alternative |
Referenced models: Get project — response body — issue Type Hierarchy The project issue type hierarchy levels Details about the hierarchy level item
Get issue type — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details about an issue type. |
avatarId | JSON | Optional | |
avatarId (anyOf 1) | JSON | Alternative | |
avatarId (anyOf 1) (anyOf 1) | integer | Alternative | The ID of the issue type's avatar. Format: int64 Read only: true |
avatarId (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
avatarId (anyOf 2) | null | Alternative | |
description | JSON | Optional | |
description (anyOf 1) | string | Alternative | The description of the issue type. Read only: true |
description (anyOf 2) | null | Alternative | |
entityId | JSON | Optional | |
entityId (anyOf 1) | string | Alternative | Unique ID for next-gen projects. Format: uuid Read only: true |
entityId (anyOf 2) | null | Alternative | |
hierarchyLevel | JSON | Optional | |
hierarchyLevel (anyOf 1) | JSON | Alternative | |
hierarchyLevel (anyOf 1) (anyOf 1) | integer | Alternative | Hierarchy level of the issue type. Format: int32 Read only: true |
hierarchyLevel (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
hierarchyLevel (anyOf 2) | null | Alternative | |
iconUrl | JSON | Optional | |
iconUrl (anyOf 1) | string | Alternative | The URL of the issue type's avatar. Read only: true |
iconUrl (anyOf 2) | null | Alternative | |
id | JSON | Optional | |
id (anyOf 1) | string | Alternative | The ID of the issue type. Read only: true |
id (anyOf 2) | null | Alternative | |
name | JSON | Optional | |
name (anyOf 1) | string | Alternative | The name of the issue type. Read only: true |
name (anyOf 2) | null | Alternative | |
scope | JSON | Optional | |
scope (anyOf 1) | Model | Alternative | Expand Get status — response body — scope project, type Details of the next-gen projects the issue type is available in. Read only: true |
scope (anyOf 2) | null | Alternative | |
self | JSON | Optional | |
self (anyOf 1) | string | Alternative | The URL of these issue type details. Read only: true |
self (anyOf 2) | null | Alternative | |
subtask | JSON | Optional | |
subtask (anyOf 1) | boolean | Alternative | Whether this issue type is used to create subtasks. Read only: true |
subtask (anyOf 2) | null | Alternative |
Referenced models: Get status — response body — scope project, type
Create project category — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A project category. |
description | JSON | Optional | |
description (anyOf 1) | string | Alternative | The description of the project category. |
description (anyOf 2) | null | Alternative | |
id | JSON | Optional | |
id (anyOf 1) | string | Alternative | The ID of the project category. Read only: true |
id (anyOf 2) | null | Alternative | |
name | JSON | Optional | |
name (anyOf 1) | string | Alternative | The name of the project category. Required on create, optional on update. |
name (anyOf 2) | null | Alternative | |
self | JSON | Optional | |
self (anyOf 1) | string | Alternative | The URL of the project category. Format: uri Read only: true |
self (anyOf 2) | null | Alternative |
Get project — response body — insight Additional details about a project
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about a project. |
lastIssueUpdateTime | JSON | Optional | |
lastIssueUpdateTime (anyOf 1) | JSON | Alternative | |
lastIssueUpdateTime (anyOf 1) (anyOf 1) | string | Alternative | The last issue update time. Read only: true |
lastIssueUpdateTime (anyOf 1) (anyOf 2) | integer | Alternative | |
lastIssueUpdateTime (anyOf 2) | null | Alternative | |
totalIssueCount | JSON | Optional | |
totalIssueCount (anyOf 1) | JSON | Alternative | |
totalIssueCount (anyOf 1) (anyOf 1) | integer | Alternative | Total issue count. Format: int64 Read only: true |
totalIssueCount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
totalIssueCount (anyOf 2) | null | Alternative |
Get project — response body — permissions Permissions which a user has on a project
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Permissions which a user has on a project. |
canEdit | JSON | Optional | |
canEdit (anyOf 1) | boolean | Alternative | Whether the logged user can edit the project. Read only: true |
canEdit (anyOf 2) | null | Alternative |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: atlassian.updateproject. Catalog operation: updateproject. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["manage:jira-project"]