Hello Mark ; thank you for you answer, it works. But the field that i want to update doesn't work ; my json looks good :
{
"update": {
"customField_10087": [
{
"add": "{{varMention}}"
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What type of field are you using for observer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like you're close. In your add section, you should call out accountID. It should look something like this:
{
"update":{
"customfield_10087":[
{
"add":{
"accountId":"{{varMention}}"
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello, thank you it works for "the watcher"
but we use an other field tha wther besause the watcher is not used to find an issue in the client dashboard ; and we can't ad the watcher on the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tancrède Taillade and welcome to the community!
You can use automation for this:
This rule tries to find the @mention and stores the account ID as a variable. If the variable returns a string then it adds the watcher.
For copy/paste, here are the specifics:
Variable
{{comment.body.match("(?<=\[~accountid:)(.*?)(?=\])")}}
Advanced Compare
{{varMention.length}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.