What is the Jira expression for the custom field is empty, not text?

Yousuf Al Rawahi
Contributor
April 16, 2024

In Scriptrunner Condition for workflow, I want the script condition to be if the custom field is empty in 'Received/Comments', then it can't transition to another status, but if the field 'Received/Comments' filled with texts, then it can transition to another status (which is from TASK IN PROGRESS' to SUBMITTED')

 

I have tried myself, but it seems there is something wrong or missing. 

 

Screenshot 2024-04-17 091053.png

 

I believe the result should be FALSE, since the field is empty, correct me if I'm wrong. 

 

Screenshot 2024-04-17 091115w.png

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Maciej Dudziak _Forgappify_
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.
April 17, 2024

Hi @Yousuf Al Rawahi

I believe that in the case of a Paragraph (Rich Text) in expression, an empty value is represented as null.

Cheers

Yousuf Al Rawahi
Contributor
April 17, 2024

It worked.

Thanks!

Suggest an answer

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

Atlassian Community Events