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

Compare with Current View Page History

« Previous Version 12 Next »

On this page

Introduction

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.




The configuration

The table below lists all available parameters that have to (*) or optionally can be set in this post function.

Additionally you can test your expression by selecting a dedicated issue to test against.


ParameterDescription (default values are shown in bold at the top of the lists)
Target issue *

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

  • Current issue
  • Parent issue
  • Parser expression ((info) the output 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
    • Select a specific Jira user
  • 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 nest conditions in expressions as you like in order to map more complex conditions. 

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

Get started

Get started by trying out the example configurations provided out of the box.



The following example configurations are currently available:


Additional use cases can be found here!


Use cases and examples using this condition