On this page
Use case
One post function within JWT you can use to create comments is the Add comment post function. This can be used when adding comments to the current issue.
However, when you want to add comments to e.g. linked issues, you can use the Update or copy field values and use our virtual fields to do so!
In this use case we are going to add internal Jira Service Management comments to linked issues.
Configuration
Add the Update or copy field values post function to the desired workflow transition.
Target issue
Choose Linked issues
Fields
Field
Choose New comment
Value
Choose Set field value manually
Expression
Set it to Basic text and use the following expression
Issue %{issue.key} has changed.:{visibility=jsd_internal}
The
:{visibility=jsd_internal}
won't be added to the comment itself. It only sets the comment visibility.
Screenshots
Related use cases
If you still have questions, feel free to refer to our support team.