Modify Custom Field values
You can find more examples at the Automation Rules page
Save modification date of Custom Field A to Custom Field B
This rule saves timestamp of last modification date of one custom field to another custom field.
Prerequisites:
Add Custom Field with name My Field
and custom field of type Date
, System
with name My Field Last Modification
to User Story entity.
Add the rule:
[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"UserStory"
],
"modifications": {
"created": false,
"deleted": false,
"updated": [
"My Field"
]
}
},
{
"type": "action:targetprocess:UpdateEntity",
"fields": {
"My Field Last Modification": {
"type": "call",
"name": "Now",
"args": []
}
},
"target": {
"type": "pipelineBlockOutput",
"blockAlias": "ui:source"
}
}
]
In the configuration, you're welcome to replace sample names of custom fields, entity type to the ones used in your account.
Updated 3 months ago