You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

On this page

The Add comment post function automatically creates a comment in the current issue. The comment text can be composed of free text in combination with various fields using their field codes.

The comment author can be selected among various user fields and the visibility can be restricted by project role or by user group.

In this documentation and the post function configuration you will notice the symbol ( * ) next to some parameters, it means that this field is mandatory and shall not be left empty. Fields without the symbol are optional.

Add parameters to the function


Below you will find a detailed description of each parameter to be added to the function.

Target issue*

Select the issue the comment will be added to. The following options are available:

  • Current issue
  • Parent issue
  • Parser expression

    When selected, an expression parser input field is displayed and the input has to be an issue key.

Comment text*

Enter plain text and optionally use field codes , e.g. %{ issue.summary} , to insert field values.

Test your expressions by clicking on the top right of the expression box. Learn more about Parser expression editor.

Comment author*

Select the user that will be used to execute the post function. Select the user from one of the following options:

  • Current user
  • Selected user

    When selected, a specific Jira user must be selected too.

  • Assignee
  • Reporter
  • Creator
  • Project lead
  • Parent's assignee
  • Parent's reporter
  • Parent's creator

Comment visibility*

Select the comment visibility. When using restrictions, the comment author has to be a member of the selected project role or group.

  • Unrestricted (all users)
  • Restricted to Project Role
  • Restricted to Group

Conditional execution

Enter a condition (a logical expression) using the expression parser syntax.

You can even logically link and gather conditions in expressions as you like in order to map more complex conditions.

The post function will only be executed if the condition is met (returns true ).

Use cases and examples


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