Modify Custom Field values

👍

You can find more examples at the Automation Rules page

📘

How to apply this rule?

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.

1807

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.

1664

Add the rule:

1018
[
  {
    "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.