Forums

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

Please tell me about the automation setup.

KAZUHIRO KOIKE October 18, 2023

Hello.

I have verified a few things, but for the life of me I can't figure it out, so please let me know.
I am having trouble figuring out how to set up automation for jira-servicemanagement.

When a comment is added, I want to change the status of the "completed" status back to "in progress" again, but I want the comment to be "external comment" only. However, all comments are included.
Somehow I would like to make it "external comments" only.

In the automation, I have set the following.
Please let me know if there are any mistakes.
----
When commenting on an issue
The rule is executed when a new comment is added to an issue.
-Comment Type: Comment is the main action.

Issue Field Conditions
-Field: Status
-Condition: equal to
-Value: Completed

1 answer

1 accepted

1 vote
Answer accepted
Joseph Chung Yin
Community Champion
October 18, 2023

@KAZUHIRO KOIKE -

Welcome to the community.  For your automation, you need to add additional condition check to ensure the comment is Public (Shared with customer) or Private (Internal).  For this condition check you will need to use "Advanced compare condition" check and use smartvalue syntax -

{{comment.internal}}

This check if the internal is equals to false, then the comment is Public or external.

2023-10-18_20-25-32.png

Here is the reference link for smartvalue - https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

KAZUHIRO KOIKE October 18, 2023

Hi Joseph.

Thank you for your answer.
The method you taught me worked as expected.
Thank you very much for your help.

Joseph Chung Yin
Community Champion
October 19, 2023

@KAZUHIRO KOIKE -

Great.  Please click on "Accept answer" when you have a chance, so others with similar asks will see this posting as an answered entry.

Glad I was able to help you.

Best, Joseph

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events