Hi Community
I have a specific requirement where I want to copy 255 characters only in custom text field (single-line) from last comment of the issue.
For example, a new comment is added to issue which contains more than 255 characters
but in custom single line text field, it should show only 254 characters (within limit) and reduct the remaining when coping the value from last comment.
Please guide how I can achieve the above via jira automation or Additional fields using JSON or smartvalues for comments or scriptrunner behavior.
Please note: I want to avoid Rule Error as it can't exceed 255 characters and somehow, I want to copy the comment value in single-line text field instead of multi-line text field.
Thanks