I'm not sure how you can perform such updates using Scriptrunner, however, I would like to provide you the solution I was able to find using Automation for JIRA.
Using that add-on, you can reference Smart Values to add the values from the issue in the body of a text custom field, like below:
The rule above would add to the description of the Issue:
- The time the comment was added
- The user who added the comment
- The comment body
Let me know if this would be an option for you, Dandy.
Hey Dandy, I'm an Associate Product Manager in Incident Management for Jira Service Management.
We're currently looking to better understand how teams conduct their post incident review (PIR) / postmortem process and their key pain points / user needs.
Came across your feedback and would love to set up some time to learn more about how your team runs PIRs. Feel free to shoot me an email on email@example.com if you'd be open to having a chat :)
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events