Task API lacks strict information about task being closed as duplicate of other and identifier of this other task. Any one knows where to get it?
Hey @Mateusz_Bogusz,
Thanks for reaching out. As you mentioned, there is no specific āduplicateā endpoint in the API.
Depending on what youāre trying to do, you should be able to figure out if a task is a duplicate by parsing the taskās name. When a task is marked as a duplicate, the string [Duplicate] is added to the front of the task name.
In order to find the other duplicate, you would need to parse the task story. The story object will say have the name of the other duplicate:
"text": "marked this a duplicate of task-name",
where task-name is the name of the other duplicate task. Unfortunately, there is no way to get the task id of the other duplicate.
Hopefully this helps ā sorry there is not a more straight-forward way to get this via the API.
Really? People who gave Jeff these likes. I canāt even search task by ātask-nameā.
Hey @Mateusz_Bogusz,
answers here
So the actual solution in 2018 was:
- search the task-name for the word ā[Duplicate]ā
- verify via taskās story
is this still true in 2024? I donāt think it is good solutions for 2 reasons:
a) Looking at every tasks story seems like a waste of resources and
b) the taskās title could easily be changed
Hi @Andre_Lung,
Thereās not been anything added to the API that specifically identifies a duplicate, so things are pretty much the same as before.
Whatās your use case? Are you looking to periodically check for dups? Or can you set up one or more webhooks to check tasks in real-time? Whatās your goal here in finding dups?