Issue during Task target creation.
We are currently using v1.0.0 on self hosted setup.
We are trying to create tasks and tasktargets programatically using rest api.
The problem is when we create a task target record the relationship happens but we see a timelines record of linking so some another task. we tried multiple times but always happens the same where timelines show linking to a random task
There are screen shots of the task, the customer record for which we have the task . The customer record timeline shows linking to a task called "nudge". It's a diff task linked to another customer.
Please help to resolve this.


4 Replies
Hello please share related request and body
Request to create a task -
curl https://xxxx/rest/tasks \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"status": "TODO",
"category": "ADMINS",
"title": "Add Phone to Viewer",
"dueAt": "2025-08-13 05:52:10.450129+00"
}'
Request to create task target
curl https://xxx/rest/taskTargets \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"taskId": "20511fa8-9895-4292-9468-05be965790ed",
"customerId": "afc68c42-bb20-4479-9713-371cc907f1b2"
}'
@prastoin
Could you please try reproducing in twenty latest version ?
@prastoin we upgraded our instance version to latest and things are working fine now