custom comment properties in all project schemas

This commit is contained in:
Ivan Kuchin
2026-02-26 20:49:39 +01:00
parent 60949e402f
commit acaf16ec4f
10 changed files with 17 additions and 0 deletions
@@ -54,3 +54,4 @@ value:
createdAt: '2014-05-21T08:51:20.396Z'
updatedAt: '2014-05-21T08:51:20.396Z'
customField123: 123
customComment123: Why is the value 123?
@@ -7,6 +7,7 @@ value:
description:
raw: Lorem **ipsum** dolor sit amet
customField123: 123
customComment123: Because it is 123!
_links:
parent:
href: "/api/v3/portfolios/123"
@@ -54,3 +54,4 @@ value:
createdAt: '2014-05-21T08:51:20.396Z'
updatedAt: '2014-05-21T08:51:20.396Z'
customField123: 123
customComment123: Why is the value 123?
@@ -7,6 +7,7 @@ value:
description:
raw: Lorem **ipsum** dolor sit amet
customField123: 123
customComment123: Because it is 123!
_links:
parent:
href: "/api/v3/programs/123"
@@ -54,3 +54,4 @@ value:
createdAt: '2014-05-21T08:51:20.396Z'
updatedAt: '2014-05-21T08:51:20.396Z'
customField123: 123
customComment123: Why is the value 123?
@@ -7,6 +7,7 @@ value:
description:
raw: Lorem **ipsum** dolor sit amet
customField123: 123
customComment123: Because it is 123!
_links:
parent:
href: "/api/v3/projects/123"
@@ -2,6 +2,7 @@
---
allOf:
- $ref: "./custom_field_properties.yml"
- $ref: "./custom_comment_properties.yml"
- type: object
properties:
_type:
@@ -2,6 +2,7 @@
---
allOf:
- $ref: "./custom_field_properties.yml"
- $ref: "./custom_comment_properties.yml"
- type: object
properties:
_type:
@@ -2,6 +2,7 @@
---
allOf:
- $ref: "./custom_field_properties.yml"
- $ref: "./custom_comment_properties.yml"
- type: object
properties:
_type:
@@ -96,6 +96,8 @@ properties:
patternProperties:
"^customField\\d+$":
$ref: './schema_property_model.yml'
"^customComment\\d+$":
$ref: './schema_property_model.yml'
example:
_type: Schema
@@ -232,6 +234,12 @@ example:
hasDefault: false
writable: true
visibility: default
customComment35:
type: String
name: Text project custom field comment
required: false
hasDefault: false
writable: true
_links:
self:
href: "/api/v3/workspaces/schema"