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

Compare with Current View Page History

« Previous Version 31 Next »

The Add comment post function automatically creates a comment in the current, parent or any issue returned by a parser expression. 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.

Configuration

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.

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

You can optionally specify a logical expression or a Jira expression depending on the chosen Parsing mode to define the circumstances (or conditions) under which the post function should be executed.

The result of the logical expression must return a boolean value of either:

  • true → the post function will be executed
  • false → the post function will not be executed

Using the conditional operator, even complex or multi-layered conditions can be constructed.

Make sure to learn more about defining logical expressions and browse through the various examples here: Logical mode

Use cases and examples


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