ParentFieldPath
One value to copy from the record being expanded onto each expanded item. Both paths are lists, so a value nested inside the parent can be copied into a nested position on the item; intermediate objects on record_path are created as needed. Glob characters (*, ?, [) are not supported in either path, since each must identify a single field; this is enforced on the interpolated values.
- type:
object - required:
["type","parent_path","record_path"]
type
- Required: Yes
- type:
string - enum:
["ParentFieldPath"]
parent_path
Path to the value on the record being expanded.
- Required: Yes
- type:
array - Available variables:
config
Examples:
- url
- id
- repository
- name
-
items:
- type:
string
- type:
record_path
Path on the expanded item to write the value to. An existing value is overwritten. Intermediate objects are created as needed, so a path may not pass through a value the item already holds as a scalar, and a numeric path segment creates an array rather than an object - the same behavior as AddFields.
- Required: Yes
- type:
array - Available variables:
config
Examples:
- pull_request_url
- comment_id
- parent
- id
-
items:
- type:
string
- type:
$parameters
- Required: No
- type:
object