In Taiga a task already has a user_story field containing the related user story ID. On task create/update, read that ID from the task payload (or fetch the task), then fetch the user story and use its subject as your suffix. If you are writing a webhook or extension, do the lookup at that point rather than trying to infer it from the task subject. Guard against loops by only appending when the suffix is not already present.