Targetprocess

The Targetprocess Developer Hub

Welcome to the Targetprocess developer hub. Here you'll find comprehensive guides and documentation to help you start working with Targetprocess as quickly as possible and support you if you get stuck. Let's jump right in!

Docs

Create a Related Bug for new Requests

To implement such scenario Modified Entity source should be selected for an Automation Rule:

Next type of modified entity, modification type should be selected.

In this case Request entity type and Created modifications should be selected:

Several types of Filters can be used optionally in automation rules.

Rule execution can be filtered by one or several processes of the modified entity. For example, the filter by the Process name can be added (e.g. 'Kanban' process):

After filters are defined one or several Actions done by the rule the should be defined.

In this case Create entity as a relation should be selected.

For this action type of created entity and relation are necessary to select.

Here it will be Bug and Outbound Dependency.

For new bug it is required to define Name and Project at least.

Optionally description can be added to the rule.

Rule config:

📘

How to apply this rule?

[
  {
    "type": "source:targetprocess:EntityChanged",
    "entityTypes": [
      "Request"
    ],
    "modifications": {
      "created": true,
      "deleted": false,
      "updated": false
    }
  },
  {
    "type": "action:targetprocess:CreateEntityAndAddRelation",
    "fields": {
      "Name": {
        "type": "constant",
        "value": "Auto created bug"
      },
      "Project": {
        "name": "Project",
        "type": "field",
        "target": {
          "type": "pipelineBlockOutput"
        }
      }
    },
    "isInbound": {
      "type": "constant",
      "value": false
    },
    "entityType": {
      "type": "constant",
      "value": "Bug"
    },
    "relationType": {
      "type": "constant",
      "value": "Dependency"
    }
  }
]

Updated 2 years ago

Create a Related Bug for new Requests


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.