Skip to content

jira get-project

Returns project visible to the user.

Description

Returns project visible to the user.

Synopsis

jira get-project
    --site <site>
    <project>
    [--expand <expand>]

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)

     include additional information in the response.
     Example: --expand "expand-1"
     Default: _None_      Attributes: optional, multiple allowed

     Validation:
         allowed values: description, issueTypes, lead, projectKeys, issueTypeHierarchy

Examples

jira get-project "project-1" --expand "expand-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "jira"
Service Instance
Namespace
Object Type "project"
Object ID project

Please see Access Control for details.