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

Compare with Current View Page History

« Previous Version 9 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.

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

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

  • Current issue
  • Parent issue
  • Parser expression ((info) expects an issue key)
Comment textEnter comment's text in general Parsing mode. Sind Parsing Modes hier irgendwo relevant, so dass wir sie wirklich benennen müssen?
Comment author

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

  • Current user
  • Selected user
  • Assignee
  • Reporter
  • Creator
  • Project lead
  • Parent's assignee
  • Parent's reporter
  • Parent's creator
Comment visibility

Set the visibility of the comment with the following options:

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

Enter a condition 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. 

The post function will only be executed if the condition is met.

Related use cases

TODO





The configuration

To configure this post function you only need to specify a single input parameter - the Jira expression.


ParameterDescription
Jira expression *

Enter plain text and optionally use field codes, e.g. issue.summary, to insert field values. The result of the Jira expression shall return true or false.

(warning) Remember, that the usage of virtual fields is different when being used in Jira expressions (no need to add brackets {}).

Evaluation test

Select an issue for the context of the evaluation of the given Jira expression. After clicking the "Evaluate" button the result of the evaluation is shown in a message box below.

If the syntax of the Jira expression is wrong or the evaluation with the given context issue returns an error, an error box with the respective error is displayed in an error box below.