The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change Status by API comment

Hais_ Pedro
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

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
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 Champions.
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

Hais_ Pedro
February 11, 2025

Thanks again Bill

Like Bill Sheboy likes this
TAGS
AUG Leaders

Atlassian Community Events