Add a Comment to this Issue
The Add a comment to this issue post function posts a comment to an issue when it is transitioned.
For example, when a support ticket transitions from Open to In Progress, we want a comment to be added to the ticket to let the client know we are working on the issue.
Use this post function
You can now test to see if this post function works.
Add a custom field value to a comment
When using this function you might want to include a custom field value in the comment. To do so, you could use the following:
Field value is ${issue.getCustomFieldValue('TextField')}For example, if we wanted to include a comment with the Epic Link, we could add the following comment to this post function:
The issue is part of the ${issue.getCustomFieldValue('Epic Link')} EpicThe above comment appears as follows in your post function:
And appears as follows after the transition: