Forums

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

Adding Comments to Related Records from the Parent Record

Ömer Gündüz
February 5, 2026

Hello Experts,

I am working on a setup in Jira Service Management. On the customer portal, I allow the end user to select multiple options via a multi-checkbox field, and based on the selected options, related records / sub-tasks are created.

When the end user adds a comment from the portal, I would like this comment to be routed to the related sub-task depending on the keyword included in the comment content. For example, if the comment contains the word “email”, the comment should be added to the sub-task that was created for email-related requests.

I would like to implement this logic using JMWE (Jira Misc Workflow Extensions) instead of Jira Automation, as I want to avoid potential automation limits in the future.

Do you have any recommendations on how this scenario can be implemented using JMWE?

image.png

 

image.pngRegards,

1 answer

1 accepted

0 votes
Answer accepted
Aaron Pavez _ServiceRocket_
Community Champion
February 5, 2026

Hi @Ömer Gündüz 

JMWE works in a workflow transition. You can copy the comment based on a string using a postfunction:

Screenshot_20260205_120649.jpeg

something like this.

This is the JMWE Nunjucks code

Change the email to something else you want to match.

 

{{ issue.fields.comment.comments | last and ("email" in (issue.fields.comment.comments | last).body | lower) }}

Hope this helps!

Regards

Suggest an answer

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

Atlassian Community Events