Mention a user in a comment via API call

I want to @mention someone using the API, and I managed to do it with the help of that topic.
But what I noticed is the mentioned person does not get any notification about the mention, any ideas on how to notify the mentioned user?


Does your notification also add them as collaborators?

Hi @Bastien_Siebman, thanks for replying. I added the user as a task collaborator and now he receives notifications for all task changes not just the mention. a little not on point but we can work with that.

My question was instead “when you mention using the API does this add the person as a collaborator” like it does in the interface?

@Bastien_Siebman the answer is NO.

@Bastien_Siebman But you can do that in a separate API call. you can do it before posting the comment.

Yes you can but that is weird to me that mentioning using the API does not have the same impact as doing so in the interface.

@Bastien_Siebman agree

This makes sense to me.

Programmatically, you can easily code what you need this way because the actions are not combined/inseparable providing no way out if you don’t want that combined behavior.

In the UI, it would be tedius to do in two steps so you must optimize the user experience.

This was the right call by Asana to make them “inconsistent.”