Forums

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

How to Check for Korean Text in issue.description?

Sangyoon Kim _Logan_
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!
August 8, 2025

Hi, All.

I wrote a conditional statement to check for specific Korean text within the Description field, but it keeps returning false.

Could you please review what I might be doing wrong?

Even when using the equals condition, it returns "false", and the same happens with equalsIgnoreCase.

<Description>
안녕하세요, 김상윤입니다.
잘 부탁드립니다.

<Condition>
description.check 1 = {{issue.description.equals("상윤")}}
description.check 2 = {{issue.description.equalsIgnoreCase("상윤")}}

-------------------------

If {{issue.description.equals}} cannot check for Korean characters, I would like to ask if there is another condition that can handle Korean text.
It would be greatly appreciated if you could let me know of any condition that can at least check whether Korean characters are included in the description.

 

Thank you!

1 answer

1 vote
Darryl Lee
Community Champion
August 8, 2025

Hi @Sangyoon Kim _Logan_ -

Are you trying to use {{issue.description.equals("상윤"))}} as part of conditional logic (like filtering a list of issues)?

If that is the case, then the equals function only returns true for an exact match. So your example would only return true if you the description ONLY was "상윤".

You're looking for a partial match, so you would need to use match, like so:

{{issue.description.match(".*(상윤).*"))}}

This returns an array of all of the occurrences of "상윤" found in the description.

But I would ask what are you trying to accomplish with your rule?

Automation has the Issues (Work item) fields condition which is has a contains operator that should be much easier to use. I tested your use case and it appears to support Korean.

If you are just trying to use a condition to see if the rule needs to proceed to the next step, you should use that condition, as opposed to the match operator, as it is much simpler.

I've included a screenshot of a sample rule that shows how to check for Korean in the description using the match function, as well as the Issues (Work items) field condition:

image.png

When tested against an issue that contains your sample description, my Audit log shows that both conditions successfully "found" Korean (your test text, 상윤)

I hope this helps. Please let me know if you have further questions!

 

Sangyoon Kim _Logan_
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!
August 8, 2025

Thank you so much, Darryl Lee.
Your support was a great help.

I’ve confirmed that it works correctly using the contains condition.

I hope to improve and become as skilled as you someday.

Have a great weekend!

Darryl Lee
Community Champion
August 8, 2025

Glad to hear it worked! I'd appreciate if you could click on the green "Accept Answer" button above.

Thabks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events