On this page


Use case

Workflows are a perfect spot for wiping out manual work. Repetitive tasks can easily be translated to post functions and by a blink of an eye, your work get's done!

Like in this example, you might find yourself in the position of often adding the same comments over and over again. In this use case, the Add comment post function will be used, to automatically add a comment to the current issue mentioning the reporter!

Configuration

Add the Add comment post function to the workflow transition you want to place it in.

Comment text

Choose Add comment manually (parser expression).

Expression

Hi [~%{issue.reporter}],
this issue needs your immediate attention.
  
Thanks,
%{system.currentUserFullName}


Further configuration

Comment visibility

By default it is set to Unrestricted (all users), but you can change this option.

You can select either a group, project role or set Jira Service Management visibilities.

Additional options

By default, no email will be sent for this comment. Hit the checkbox to send one!

Run as

Select which user will be used to execute this post function. By default this parameter is set to the current user. You can also use field codes to run the function as a dynamic user (e.g. current assignee).

Make sure that the user running the post function has all the relevant permissions to perform the actions defined in the configuration (e.g. "Update Issues")!

If you want to keep track the actions being performed automatically, we suggest to create a dedicated JWT account, granted all relevant permissions, and use it in the Run as parameter to identify which changes have been made with JWT.


Screenshots



If you still have questions, feel free to refer to our support team.