jira update-project
Update a project based on a project type template.
Description
Update a project based on a project type template.
Synopsis
jira update-project
--site <site>
<project>
[--expand <expand>]
--key <key>
[--name <name>]
[--description <description>]
[--lead <lead>]
[--url <url>]
[--default_assignee <default_assignee>]
[--avatar <avatar>]
[--issue_security_scheme <issue_security_scheme>]
[--permission_scheme <permission_scheme>]
[--notification_scheme <notification_scheme>]
[--category <category>]
Arguments
site
- (string)
Example: --site "site-1"
Default: localhost:8081
Attributes: required
project
- (string)
The project ID (case sensitive)
Example: "project-1"
Default: _None_
Attributes: required
expand
- (string)
to include additional information in the response.
Example: --expand "expand-1"
Default: _None_
Attributes: optional
Validation:
allowed values: description, issueTypes, lead, projectKeys
key
- (string)
Project keys. The maximum length is 10 characters.
Example: --key "key-1"
Default: _None_
Attributes: required
Validation:
max length: 10
name
- (string)
The name of the project.
Example: --name "name-1"
Default: _None_
Attributes: optional
description
- (string)
description of the project.
Example: --description "description-1"
Default: _None_
Attributes: optional
lead
- (string)
The account ID of the project lead.
Example: --lead "lead-1"
Default: _None_
Attributes: optional
Validation:
max length: 128
url
- (string)
A link to information about this project, such as project documentation
Example: --url "url-1"
Default: _None_
Attributes: optional
default_assignee
- (string)
The default assignee when creating issues for this project.
Example: --default_assignee "default_assignee-1"
Default: _None_
Attributes: optional
Validation:
allowed values: PROJECT_LEAD, UNASSIGNED
avatar
- (int)
An integer value for the project's avatar.
Example: --avatar 1
Default: _None_
Attributes: optional
issue_security_scheme
- (int)
ID of the issue security scheme, which enables you to control who can view issues.
Example: --issue_security_scheme 1
Default: _None_
Attributes: optional
permission_scheme
- (string)
The ID of the permission scheme for the project.
Example: --permission_scheme "permission_scheme-1"
Default: _None_
Attributes: optional
notification_scheme
- (int)
The ID of the notification scheme for the project.
Example: --notification_scheme 1
Default: _None_
Attributes: optional
category
- (int)
The ID of the project's category.
Example: --category 1
Default: _None_
Attributes: optional
Examples
jira update-project "project-1" --expand "expand-1" --key "key-1" --name "name-1" --description "description-1" --lead "lead-1" --url "url-1" --default_assignee "default_assignee-1" --avatar 1 --issue_security_scheme 1 --permission_scheme "permission_scheme-1" --notification_scheme 1 --category 1
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "jira" |
Service Instance | |
Namespace | |
Object Type | "project" |
Object ID | project |
Please see Access Control for details.