Change Status by API comment

Hais, Pedro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 10, 2025

 

Good afternoon, how are you? I’m creating an automation so that whenever a specific comment appears (via API), the ticket changes to a specific status. However, the automation doesn’t seem to recognize the words in the comment.print21.pngprint20.pngprint19.png

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2025

Hi @Hais, Pedro -- Welcome to the Atlassian Community!

Your rule is using the Smart Values Condition, and so at least the first value should be a smart value.  Please change your condition to check the comment body:

  • smart values condition:
    • first value: {{comment.body}}
    • condition: contains
    • second value: finalizado no Hubspot

 

Please note that condition must exactly match the letter casing.  If that could change with the API, consider forcing the values to lower or upper case, such as with this:

  • smart values condition:
    • first value: {{comment.body.toLowerCase()}}
    • condition: contains
    • second value: finalizado no hubspot

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events