@@ -736,6 +736,11 @@ tags:
736736 permissions (i.e., whether a user has full access to the project or
737737 comment-only access) are accessible through the project memberships
738738 endpoints described here.
739+ - name: Project portfolio settings
740+ description: >-
741+ A project portfolio setting represents the relationship between a project
742+ and a portfolio. It controls configuration such as whether portfolio
743+ members inherit access to the project.
739744 - name: Project statuses
740745 description: |-
741746 *Deprecated: new integrations should prefer using [status updates](/reference/status-updates)*
@@ -1198,6 +1203,16 @@ components:
11981203 type: string
11991204 example: '1331'
12001205 x-env-variable: project_membership
1206+ project_portfolio_setting_path_gid:
1207+ name: project_portfolio_setting_gid
1208+ in: path
1209+ description: >-
1210+ Globally unique identifier for the project portfolio setting.
1211+ required: true
1212+ schema:
1213+ type: string
1214+ example: '1331'
1215+ x-env-variable: project_portfolio_setting
12011216 project_status_path_gid:
12021217 name: project_status_gid
12031218 in: path
@@ -5330,6 +5345,59 @@ components:
53305345 - comment_only
53315346 readOnly: true
53325347 example: full_write
5348+ ProjectPortfolioSettingCompact:
5349+ description: >-
5350+ A project portfolio setting represents the relationship between a project
5351+ and a portfolio, including configuration such as access control inheritance.
5352+ type: object
5353+ properties:
5354+ gid:
5355+ description: >-
5356+ Globally unique identifier of the resource, as a string.
5357+ type: string
5358+ readOnly: true
5359+ example: '12345'
5360+ x-insert-after: false
5361+ resource_type:
5362+ description: The base type of this resource.
5363+ type: string
5364+ readOnly: true
5365+ example: project_portfolio_setting
5366+ x-insert-after: gid
5367+ project:
5368+ description: The project associated with this setting.
5369+ allOf:
5370+ - $ref: '#/components/schemas/ProjectCompact'
5371+ - type: object
5372+ portfolio:
5373+ description: The portfolio associated with this setting.
5374+ allOf:
5375+ - $ref: '#/components/schemas/PortfolioCompact'
5376+ - type: object
5377+ is_access_control_inherited:
5378+ description: >-
5379+ When true, the portfolio members gain access to the project.
5380+ type: boolean
5381+ example: true
5382+ ProjectPortfolioSettingResponse:
5383+ allOf:
5384+ - $ref: '#/components/schemas/ProjectPortfolioSettingCompact'
5385+ - type: object
5386+ properties:
5387+ created_at:
5388+ description: The time at which this project portfolio setting was created.
5389+ type: string
5390+ format: date-time
5391+ readOnly: true
5392+ example: '2012-02-22T02:06:58.147Z'
5393+ ProjectPortfolioSettingUpdateRequest:
5394+ type: object
5395+ properties:
5396+ is_access_control_inherited:
5397+ description: >-
5398+ When true, the portfolio members gain access to the project.
5399+ type: boolean
5400+ example: true
53335401 ProjectRequest:
53345402 allOf:
53355403 - $ref: '#/components/schemas/ProjectBase'
@@ -27433,24 +27501,6 @@ paths:
2743327501
2743427502 result = client.project_memberships.get_project_memberships_for_project(project_gid:
2743527503 'project_gid', param: "value", param: "value", options: {pretty: true})
27436- /project_portfolio_settings/{project_portfolio_setting_gid}:
27437- parameters:
27438- - name: project_portfolio_setting_gid
27439- in: path
27440- required: true
27441- description: Globally unique identifier for the project portfolio setting.
27442- schema:
27443- type: string
27444- example: '1234'
27445- - $ref: '#/components/parameters/pretty'
27446- /projects/{project_gid}/project_portfolio_settings:
27447- parameters:
27448- - $ref: '#/components/parameters/project_path_gid'
27449- - $ref: '#/components/parameters/pretty'
27450- /portfolios/{portfolio_gid}/project_portfolio_settings:
27451- parameters:
27452- - $ref: '#/components/parameters/portfolio_path_gid'
27453- - $ref: '#/components/parameters/pretty'
2745427504 /project_statuses/{project_status_gid}:
2745527505 parameters:
2745627506 - $ref: '#/components/parameters/project_status_path_gid'
0 commit comments