Wrike Integrate - @mention user name
I am trying to write the code for Wrike Integrate to be able to @mention a particular user. Let's say, for example, to @ the user of the parent ID of the task that I have inquiring. I have put the code in, and my results ends up as @KRUT356UHT (or some variation of the USER ID). How do I turn it into the actual user?
Also, to note, if I just have INTEGRATE try to @mention a particular user in a comment, it only puts the message in and doesn't really @ anyone. The example of Andrew Ash was just typed in.
See photos below.
Kevin Tassistro
Here's the syntax to use:
I'll post a link to the documentation in a subsequent comment, in the interest of getting this solution to you sooner (including links always delays a response from posting immediately, as links require community team approval)
Kevin Tassistro
Documentation here: https://developers.wrike.com/documentation/api/datatypes/comments
Kevin Tassistro Laura Boylan
you need to get specific contact to post an "@" comment
for example, let's assume you already know the ID of the user you need to mention by getting the Supertask (which is the parent task in wrike api lingo)
if you have more then one assignee there or don't want to go to the trouble of pinpointing specific user details you can just write to all assignees
by using
<a class="stream-user-id avatar ai-936361 quasi-contact" rel="@assignees">@assignees</a>
this is the same as just writing @assignees in comment manually
if you want to contact a specific person then get him with a custom action
https://www.wrike.com/api/v4/contacts/{ID_OFperson}
you need to give an example of the response to the action to use the datapills later
in the phrase, Laura has posted above
OR you can just use
also this: