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 fields and use our virtual fields to do so!
In this use case we are going to add internal Jira Service Desk comments to linked issues.
Configuration
Add the Update fields post function to the workflow transition you want to place it in.
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
Screencast
Related use cases
If you still have questions, feel free to refer to our support team.